Web Methods Policy Stages API
The PolicyStages API from Web Methods — 1 operation(s) for policystages.
The PolicyStages API from Web Methods — 1 operation(s) for policystages.
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-policystages-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 Policy Stages API
version: '11.0'
description: 'Operations tagged PolicyStages across 2 of this provider''s published API definitions: apigateway-PolicyManagement.json, web-methods-api-gateway-policymanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: PolicyStages
paths:
/policyStages:
get:
description: This REST Request is used to get the list of policy stages available in API gateway. It will also show the list of policies (template key of each policy) associated with each stage.
operationId: getPolicyStages
responses:
'200':
description: The response body contains list of all stages and policy associated with the stages. Also the response body contains the sequence where the policies corresponding to a stage will be executed
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/PolicyEnforcementStage'
example: "{\n \"stages\": [\n {\n \"stageKey\": \"threatProtection\",\n \"names\": [\n {\n \"value\": \"Threat Protection\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"globalipdos\",\n \"ipdos\",\n \"egviolationalert\",\n \"MsgSizeLimitFilter\",\n \"OAuthFilter\",\n \"mobileAppProtectionFilter\",\n \"sqlInjectionFilter\",\n \"antiVirusFilter\",\n \"jsonThreatProtectionFilter\",\n \"xmlThreatProtectionFilter\",\n \"customFilter\"\n ],\n \"sequence\": \"insequence\"\n },\n {\n \"stageKey\": \"transport\",\n \"names\": [\n {\n \"value\": \"Transport\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"entryProtocolPolicy\",\n \"setMediaType\"\n ],\n \"sequence\": \"insequence\"\n },\n {\n \"stageKey\": \"IAM\",\n \"names\": [\n {\n \"value\": \"Identity and Access Management\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"inboundAuthTransport\",\n \"webServiceSecurityPolicy\",\n \"authorizeUser\",\n \"evaluatePolicy\"\n ],\n \"sequence\": null\n },\n {\n \"stageKey\": \"requestPayloadProcessing\",\n \"names\": [\n {\n \"value\": \"Request Payload Processing\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"invokeESB\",\n \"xsltTransformation\",\n \"validateSchema\"\n ],\n \"sequence\": \"insequence\"\n },\n {\n \"stageKey\": \"routing\",\n \"names\": [\n {\n \"value\": \"Routing Policies\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"contentBasedRouting\",\n \"contextBasedRouting\",\n \"dynamicRouting\",\n \"loadBalancerRouting\",\n \"straightThroughRouting\",\n \"customHttpHeaders\",\n \"outboundTransportAuthentication\",\n \"outboundMessageAuthentication\"\n ],\n \"sequence\": \"insequence\"\n },\n {\n \"stageKey\": \"LMT\",\n \"names\": [\n {\n \"value\": \"Logging, Monitoring and Traffic Optimization\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"logInvocation\",\n \"monitorServicePerformance\",\n \"monitorSLA\",\n \"throttle\",\n \"serviceResultCache\"\n ],\n \"sequence\": \"insequence\"\n },\n {\n \"stageKey\": \"responseProcessing\",\n \"names\": [\n {\n \"value\": \"Response Processing\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"invokeESB\",\n \"xsltTransformation\",\n \"validateSchema\"\n ],\n \"sequence\": \"outsequence\"\n },\n {\n \"stageKey\": \"responseFaultProcessing\",\n \"names\": [\n {\n \"value\": \"Error Handling\",\n \"locale\": \"en\"\n }\n ],\n \"descriptions\": [],\n \"policyActionTemplates\": [\n \"conditionalErrorProcessing\"\n ],\n \"sequence\": \"faultsequence\"\n }\n ]\n}"
'401':
description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator or API Gateway provider access to get the policy stage.
security:
- Basic: []
tags:
- PolicyStages
summary: Get policy stages
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
components:
schemas:
InternationalizedString:
type: object
properties:
locale:
type: string
description: This property will have the localization information of the property 'value'.
value:
type: string
description: This property will hold the actual string
description: This model is used to store a string with its corresponding locale
PolicyEnforcementStage:
type: object
properties:
descriptions:
type: array
description: Stage description with corresponding locale
items:
$ref: '#/components/schemas/InternationalizedString'
names:
type: array
description: Stage name with corresponding locale
items:
$ref: '#/components/schemas/InternationalizedString'
policyActionTempaltes:
type: array
description: The list of policy enforcements can be applied on the respective stage.
items:
type: string
sequence:
type: string
description: "Sequence of the stage.\n 1. insequence - Stages or policies marked with this sequence will be executed when the request comes to API Gateway and before the request dispatched to native service. \n 2. outsequence - Stages or policies marked with this sequence will be executed when the request goes out of API Gateway to the invoker. \n 3. faultsequence - Stages or policies marked with this sequence will be executed when native service return any error."
enum:
- insequence
- outsequence
- faultsequence
stageKey:
type: string
description: The unique key for the stage.
description: Each Policy Stage contains one or more policies. It provide you a the list of policy enforcement associated with each stage and its sequence either in, out or fault.
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-PolicyManagement.json
- web-methods-api-gateway-policymanagement-openapi.yml