Web Methods Stages API

The Stages API from Web Methods — 2 operation(s) for stages.

GitHub OpenAPI

Operations 5

GET /stages Get stages #
POST /stages Create stage #
GET /stages/{stageId} Get stage #
PUT /stages/{stageId} Update stage #
DELETE /stages/{stageId} Delete stage #

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-stages-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-stages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Stages API
  version: '11.0'
  description: 'Operations tagged Stages across 2 of this provider''s published API definitions: apigateway-PromotionManagement.json, web-methods-api-gateway-promotionmanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Stages
paths:
  /stages:
    get:
      description: This REST operation is used to retrieve all the configured stages
      operationId: getStages
      responses:
        '200':
          description: Returns the list of all stages
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Stage'
              example: "{\n    \"stages\": [\n        {\n            \"id\": \"2d9e280a-b529-466c-9ec8-d6b0e93026a8\",\n            \"name\": \"sampleStage\",\n            \"url\": \"http://localhost:5555/\",\n            \"username\": \"Administrator\",\n            \"password\": \"********************************\"\n        }\n    ]\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
      security:
      - Basic: []
      tags:
      - Stages
      summary: Get stages
      x-summary-source: derived
    post:
      description: This REST operation is used to configure a stage in the source API Gateway where promotion will be initiated. A stage is just another API Gateway instance. When the stage url is https, then keystore and keystore alias will also be expected while configuring a stage
      operationId: createStage
      responses:
        '200':
          description: Stage is created successfully in API Gateway. Now user can promote API Gateway assets to the created stage
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stage'
              example: "{\n    \"stage\": {\n        \"id\": \"cc71211e-cd45-4a72-b453-9cc22c783f9d\",\n        \"name\": \"QA Stage\",\n        \"description\": \"This stage will be used to test the assets promoted from the development stage\",\n        \"url\": \"http://mcmriz01:5555/\",\n        \"username\": \"Administrator\",\n        \"password\": \"********************************\"\n    }\n}"
        '400':
          description: This status code shows when the user missed the mandatory fields like name, url, username, password and keyStoreAlias, keyAlias for https url in the request or provide a invalid request body
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to configure a stage.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Stage'
        description: Stage request payload
        required: true
      tags:
      - Stages
      summary: Create stage
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /stages/{stageId}:
    get:
      description: This REST operation is used to retrieve a particular stage object based on a stage id
      operationId: getStage
      parameters:
      - name: stageId
        in: path
        description: Stage Id for the stage to be retrieved
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '200':
          description: Returns the stage based on the stageId.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stage'
              example: "{\n    \"stage\": {\n        \"id\": \"2d9e280a-b529-466c-9ec8-d6b0e93026a8\",\n        \"name\": \"sampleStage\",\n        \"url\": \"http://localhost:5555/\",\n        \"username\": \"Administrator\",\n        \"password\": \"********************************\"\n    }\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that the stageId specified is not found in the API Gateway
      security:
      - Basic: []
      tags:
      - Stages
      summary: Get stage
      x-summary-source: derived
    put:
      description: This REST operation is used to update a stage in the source API Gateway where promotion will be initiated. A stage is just another API Gateway instance. When the stage url is https, then keystore and keystore alias will also be expected while configuring a stage
      operationId: updateStage
      parameters:
      - name: stageId
        in: path
        description: Stage Id for the stage to be updated
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '200':
          description: Returns the updated stage object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stage'
              example: "{\n    \"stage\": {\n        \"id\": \"2d9e280a-b529-466c-9ec8-d6b0e93026a8\",\n        \"name\": \"sampleStage\",\n        \"url\": \"http://localhost:5555/\",\n        \"username\": \"Administrator\",\n        \"password\": \"********************************\"\n    }\n}"
        '400':
          description: This status code shows when the user missed the mandatory fields like name, url, username, password and keyStoreAlias, keyAlias for https url in the request or provide a invalid request body
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that the stageId specified is not found in the API Gateway
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Stage'
        description: Stage request payload
        required: true
      tags:
      - Stages
      summary: Update stage
      x-summary-source: derived
    delete:
      description: Delete the stage
      operationId: deleteStage
      parameters:
      - name: stageId
        in: path
        description: Stage Id for the stage to be deleted
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '204':
          description: Success
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API
        '404':
          description: This status code indicates that the stageId specified is not found in the API Gateway
      security:
      - Basic: []
      tags:
      - Stages
      summary: Delete stage
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  schemas:
    Stage:
      type: object
      properties:
        description:
          type: string
          description: Description for the stage
        id:
          type: string
          readOnly: true
        keyAlias:
          type: string
          description: 'The alias of the private key that is stored in the keystore specified by the keystore alias.

            The Key alias field contains a list of the available aliases in the selected keystore. If there are no configured keystores, this field is empty'
        keystoreAlias:
          type: string
          description: 'The alias of the keystore containing the private key that is used for performing asset promotion from one (source) stage to another (target) stage.

            The Keystore alias field contains a list of the available keystore aliases in API Gateway. If there are no configured keystore aliases, this field lists the default Integration Server keystore, DEFAULT_IS_KEYSTORE .'
        name:
          type: string
          description: Unique name for the stage
        password:
          type: string
          description: A valid password of the API Gateway user identified by the attribute Username
        url:
          type: string
          description: The URL of the host machine where the stage is deployed on an API Gateway installation
        username:
          type: string
          description: The username of a registered API Gateway user who has the Manage promotions functional privilege in the target API Gateway instance
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-PromotionManagement.json
- web-methods-api-gateway-promotionmanagement-openapi.yml