Web Methods Theme management API
The Theme management API from Web Methods — 6 operation(s) for theme management.
The Theme management API from Web Methods — 6 operation(s) for theme management.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/web-methods:web-methods-theme-management-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Web Methods Theme management API
version: '10.11'
description: 'Operations tagged Theme management across 2 of this provider''s published API definitions: devportal-themes.yaml, web-methods-developer-portal-themes-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
security:
- basicAuth: []
tags:
- name: Theme management
paths:
/themes:
get:
tags:
- Theme management
summary: Retrieve the list of available themes
description: 'Endpoint to retrieve the list of all available themes in API Portal.
*Endpoint can be accessed only by a user having **Administrator** role*'
parameters:
- name: page
in: query
description: Optional parameter. Defines the page number to be retrieved for the collection. If not specified default value 0 is assumed. By default collection responses are paginated with batches of 10.
required: false
schema:
type: integer
default: 0
- name: limit
in: query
description: Optional parameter. Defines the number of results to be fetched for the current page. If not specified default value configured in system settings will be considered.
required: false
schema:
type: integer
default: 0
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeSearchResponse'
examples:
ThemeSearchResponse:
$ref: '#/components/examples/ThemeSearchResponse'
'403':
$ref: '#/components/responses/403'
'401':
$ref: '#/components/responses/401'
operationId: getThemes
x-operation-id-source: derived
post:
tags:
- Theme management
summary: Create a new theme
description: 'Endpoint to create a new theme in API Portal
*Endpoint can be accessed only by a user having **Administrator** role*'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeBasic'
example:
name: Theme one
description: This is a dark mode theme
version: 1.0
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/CreationResponse'
example:
id: 0392ce93-49e5-4302-9e84-7ba53431ff69
_self: /rest/v1/themes/41874e13-03d7-4cd6-9911-b96711e51cf4
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PortalResponse'
examples:
400:
$ref: '#/components/examples/PortalResponseError'
'403':
$ref: '#/components/responses/403'
'401':
$ref: '#/components/responses/401'
operationId: postThemes
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/themes/{id}:
get:
tags:
- Theme management
summary: Retrieve the theme by Id
description: 'Endpoint to obtain details of particular theme based on ID
*Endpoint can be accessed only by a user having **Administrator** role*'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeTemplate'
examples:
ThemeResponse:
$ref: '#/components/examples/Theme'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: getThemesById
x-operation-id-source: derived
put:
tags:
- Theme management
summary: Update the theme by Id
description: 'Endpoint to update details of particular theme based on ID. Using this endpoint only theme name, description and version can be updated.
*Endpoint can be accessed only by a user having **Administrator** role*'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeBasic'
example:
name: Theme two
description: This is a dark mode theme
version: 2.0
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeUpdate'
examples:
200:
$ref: '#/components/examples/ThemeUpdate'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PortalResponse'
examples:
400:
$ref: '#/components/examples/PortalResponseError'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for Theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: putThemesById
x-operation-id-source: derived
delete:
tags:
- Theme management
summary: Delete the theme by Id
description: 'Endpoint to delete a particular theme based on ID
*Endpoint can be accessed only by a user having **Administrator** role*'
responses:
'204':
description: OK
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: deleteThemesById
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/themes/{id}/clone:
put:
tags:
- Theme management
summary: Clone the theme by Id
description: 'Endpoint to clone a particular theme.
*Endpoint can be accessed only by a user having **Administrator** role*'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeTemplate'
example:
name: Dark theme-cloned
description: This is a cloned theme
version: 2.1
responses:
'201':
description: ok
content:
application/json:
schema:
$ref: '#/components/schemas/CreationResponse'
example:
id: 0392ce93-49e5-4302-9e84-7ba53431ff69
_self: /rest/v1/themes/41874e13-03d7-4cd6-9911-b96711e51cf4
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for Theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: putThemesByIdClone
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/themes/{id}/activate:
post:
tags:
- Theme management
summary: Activate a particular theme by Id
description: 'Endpoint to activate a particular theme. Activated theme style will be applied to the API Portal.
*Endpoint can be accessed only by a user having **Administrator** role*'
responses:
'200':
description: ok
content:
application/json:
schema:
$ref: '#/components/schemas/ThemeUpdate'
example:
code: 200
message: Theme has been activated
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for Theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: postThemesByIdActivate
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/themes/{id}/backup:
post:
tags:
- Theme management
summary: Backup/Export a theme
description: 'Endpoint to export a theme in API Portal by ID
*Endpoint can be accessed only by a user having **Administrator** role*'
responses:
'200':
description: file with zipped theme content (component, file, i18n, layout, page, style)
content:
application/octet-stream:
schema:
type: string
format: binary
'403':
$ref: '#/components/responses/403'
'401':
$ref: '#/components/responses/401'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: postThemesByIdBackup
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/themes/{id}/restore:
post:
tags:
- Theme management
summary: Restore a theme
description: 'Endpoint to restore a theme in API Portal
*Endpoint can be accessed only by a user having **Administrator** role*'
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
'200':
description: No content
'400':
$ref: '#/components/responses/LargerZipFile'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
parameters:
- name: id
in: path
required: true
allowEmptyValue: false
schema:
type: string
description: Unique Identification for theme. Refers to the GUID of the theme.For example `d4a6bc0b-24dd-4035-862a-0f8f7608512e`
operationId: postThemesByIdRestore
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
components:
schemas:
ThemeUpdate:
title: Theme update
type: object
properties:
code:
type: string
description: Http response code
message:
type: string
description: short message about the response
ThemeTemplate:
title: Theme
type: object
properties:
id:
type: string
description: Unique representation of theme object
name:
type: string
description: An Unique name for the identification of theme
description:
type: string
description: Short description on theme
pages:
type: object
layouts:
type: object
components:
type: object
resources:
type: object
required:
- name
ThemeBasic:
title: ThemeBasic
type: object
properties:
id:
type: string
description: Unique representation of theme object
name:
type: string
description: An Unique name for the identification of theme
description:
type: string
description: Short description on theme
version:
type: string
description: version of a theme
required:
- name
Error:
type: object
properties:
code:
type: integer
format: int32
description: Error code
message:
type: string
description: Error message
errors:
type: array
items:
type: string
CreationResponse:
title: CreationResponse
type: object
properties:
id:
type: string
description: Unique id of saved object
_self:
type: string
description: Location of entity
PortalResponse:
type: object
title: ''
properties:
code:
type: integer
description: Error code
message:
type: string
description: Error message
errors:
type: array
description: Array of failed validation errors
items:
type: string
ThemeSearchResponse:
type: object
properties:
result:
description: List of themes
type: array
items:
$ref: '#/components/schemas/ThemeTemplate'
count:
description: Number of themes
type: integer
_links:
description: List of available themes
type: object
additionalProperties:
type: string
examples:
ThemeSearchResponse:
value:
result:
- name: Theme one
documentType: THEME
id: 14594abf-054f-4e4d-b16d-3eb8495f25dc
- name: DEFAULT
documentType: THEME
id: 5535a71b-01ef-47b7-b813-922655ba788c
count: 2
_links:
_self: rest/v1/themes?page=0
_next: rest/v1/themes?page=1
LargerZipFile:
value:
code: 400
message: The zip file content is larger than the maximum allowed size
Theme:
value:
name: Dark theme
documentType: THEME
id: 14594abf-054f-4e4d-b16d-3eb8495f25dc
PortalResponseError:
value:
code: 400
message: User provided data is not correct
errors: []
ThemeUpdate:
value:
code: 200
message: Theme has been updated successfully
responses:
LargerZipFile:
description: Zip file content is larger.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
400:
$ref: '#/components/examples/LargerZipFile'
'401':
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
'403':
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
'404':
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
securitySchemes:
basicAuth:
type: http
scheme: basic
x-refined-from:
- devportal-themes.yaml
- web-methods-developer-portal-themes-openapi.yml