Web Methods Layout management API

The Layout management API from Web Methods — 2 operation(s) for layout management.

GitHub OpenAPI

Operations 5

GET /themes/{id}/layouts Retrieve the list of layouts by theme ID #
POST /themes/{id}/layouts/{name} create a new layout #
PUT /themes/{id}/layouts/{name} Update an existing layout #
GET /themes/{id}/layouts/{name} Retrieve a particular layout by name #
DELETE /themes/{id}/layouts/{name} Delete the existing layout #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/web-methods:web-methods-layout-management-api"
All apis
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.

Get an API 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 Specification

web-methods-layout-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Layout management API
  version: '10.11'
  description: 'Operations tagged Layout 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: Layout management
paths:
  /themes/{id}/layouts:
    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`
    get:
      tags:
      - Layout management
      summary: Retrieve the list of layouts by theme ID
      description: 'Endpoint to obtain details of list of layouts created inside a particular theme.


        *Endpoint can be accessed only by a user having **Administrator** role'
      responses:
        '200':
          $ref: '#/components/responses/Layouts'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '401':
          $ref: '#/components/responses/401'
      operationId: getThemesByIdLayouts
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /themes/{id}/layouts/{name}:
    post:
      tags:
      - Layout management
      summary: create a new layout
      description: 'Endpoint to create a layout inside a theme.


        *Endpoint can be accessed only by a user having **Administrator** role


        ### Layout:

        Layout defines the skeleton of a building block. Layouts are used to pad the content inside of them. These are called children.


        #### Options:

        Below are the different options can be configured for a layout.


        * direction:


        Specifies the direction of in which the child components added inside the current block. Available options are


        `Row` - Aligns components in a horizontal fashion like a row


        `Column` - Aligns components in a version fashion like a column


        * mainAxis:


        Specifies the option to determine how the components inside the current block must be distributed between and around the main axis of the page. Available options are


        `Start` - Aligns components from the start of the block.


        `Center` -Aligns components towards the center of the block


        `End` - Aligns components towards the bottom portion of the block.


        `Space around` - Distributes components evenly. Components have a half-size space on either end. Aligns the paragraphs in a block

        allowing space around each paragraph.


        `Space between` - Distribute components evenly The first item is

        flush with the start, the last is flush with the end


        * crossAxis:


        Specifies the option to determine how the components inside the current block must be distributed between and around the cross axis of the page. Available options are


        `Start` - Aligns components from the start of the block.


        `Center` -Aligns components towards the center of the block


        `End` - Aligns components towards the bottom portion of the block.


        `Stretch` - Stretches and aligns components to fill the block.


        * flexBasis:

        Specifies the initial minimum width of the block.


        * width:

        Specifies the width of the block.


        ### Widget:

        Widgets offer are core components that can be placed inside a container. Developer portal offers various basic widgets that can be used to build a full blown HTML pages.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PageDetail'
            example:
            - name: FLEXBOX
              type: layout
              options:
                width: 100%
              children:
              - name: FLEXBOX
                type: layout
                options:
                  direction: column
                  flexBasis: 50%
                  mainAxis: center
                  crossAxis: center
                style:
                  wrapper: 'margin: 1rem; min-height: 12rem;'
              - name: FLEXBOX
                type: layout
                options:
                  direction: column
                  flexBasis: 50%
                  mainAxis: center
                  crossAxis: center
                style:
                  wrapper: 'margin: 1rem; min-height: 12rem;'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeUpdate'
              example:
                code: 200
                message: Updated successfully
        '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`
      - name: name
        in: path
        required: true
        allowEmptyValue: false
        schema:
          type: string
        description: Unique Identification for layout. Refers to the name of the layout. For example `two-horizontl`
      operationId: postThemesByIdLayoutsByName
      x-operation-id-source: derived
    put:
      tags:
      - Layout management
      summary: Update an existing layout
      description: 'Endpoint to update an existing layout inside a theme.


        *Endpoint can be accessed only by a user having **Administrator** role'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PageDetail'
            example:
            - name: FLEXBOX
              type: layout
              options:
                width: 100%
              children:
              - name: FLEXBOX
                type: layout
                options:
                  direction: column
                  flexBasis: 50%
                  mainAxis: center
                  crossAxis: center
                style:
                  wrapper: 'margin: 1rem; min-height: 12rem;'
                id: 6f862559-b88f-4319-f384-3014ffbdea47
              id: 9c6a7b6a-f294-2769-c6fe-e5bf5ca4a604
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThemeUpdate'
              example:
                code: 200
                message: Updated successfully
        '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`
      - name: name
        in: path
        required: true
        allowEmptyValue: false
        schema:
          type: string
        description: Unique Identification for layout. Refers to the name of the layout. For example `two-horizontal`
      operationId: putThemesByIdLayoutsByName
      x-operation-id-source: derived
    get:
      tags:
      - Layout management
      summary: Retrieve a particular layout by name
      description: 'Endpoint to obtain details of a particular layout inside a theme.


        *Endpoint can be accessed only by a user having **Administrator** role'
      responses:
        '200':
          $ref: '#/components/responses/LayoutDetail'
        '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`
      - name: name
        in: path
        required: true
        allowEmptyValue: false
        schema:
          type: string
        description: Unique Identification for layout. Refers to the name of the layout. For example `two-horizontal`
      operationId: getThemesByIdLayoutsByName
      x-operation-id-source: derived
    delete:
      tags:
      - Layout management
      summary: Delete the existing layout
      description: 'Endpoint to delete a particular layout based on layout name.


        *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`
      - name: name
        in: path
        required: true
        allowEmptyValue: false
        schema:
          type: string
        description: Unique Identification for layout. Refers to the name of the layout. For example `two-horizontal`
      operationId: deleteThemesByIdLayoutsByName
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  schemas:
    PageDetail:
      title: Definition
      type: object
      properties:
        name:
          type: string
          description: name of the component in the page
        type:
          type: string
          description: type of component
        options:
          type: object
          description: Options of the definition
        style:
          type: object
          description: Css style that need to be applied to this component
        children:
          type: array
          description: List of components
          items:
            $ref: '#/components/schemas/PageDetail'
    ThemeUpdate:
      title: Theme update
      type: object
      properties:
        code:
          type: string
          description: Http response code
        message:
          type: string
          description: short message about the response
    PageTemplate:
      title: DefinitionTemplate
      type: object
      properties:
        name:
          type: string
          description: Unique name of page
        custom:
          type: string
          description: false if the page is available by default in the API portal
  examples:
    LayoutDetail:
      value:
      - name: FLEXBOX
        type: layout
        options:
          width: 100%
        children:
        - name: FLEXBOX
          type: layout
          options:
            direction: column
            flexBasis: 50%
            mainAxis: center
            crossAxis: center
          style:
            wrapper: 'margin: 1rem; min-height: 12rem;'
        - name: FLEXBOX
          type: layout
          options:
            direction: column
            flexBasis: 50%
            mainAxis: center
            crossAxis: center
          style:
            wrapper: 'margin: 1rem; min-height: 12rem;'
    Layouts:
      value:
      - name: two-horizontal
        custom: false
      - name: three-horizontal
        custom: false
      - name: composite-b
        custom: false
      - name: two-vertical
        custom: false
  responses:
    LayoutDetail:
      description: ok
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PageDetail'
          examples:
            Layout:
              $ref: '#/components/examples/LayoutDetail'
    Layouts:
      description: ok
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PageTemplate'
          examples:
            Layouts:
              $ref: '#/components/examples/Layouts'
    '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