Web Methods Assertions API

The Assertions API from Web Methods — 2 operation(s) for assertions.

GitHub OpenAPI

Operations 5

GET /assertions Get all assertions #
POST /assertions Create assertion #
GET /assertions/{assertionId} Get assertion #
PUT /assertions/{assertionId} Update assertion #
DELETE /assertions/{assertionId} Delete assertion #

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-assertions-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-assertions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Assertions API
  version: '11.0'
  description: 'Operations tagged Assertions 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: Assertions
paths:
  /assertions:
    get:
      description: This request will return all the assertions from API Gateway
      operationId: getAllAssertions
      responses:
        '200':
          description: Retrieves a list of available assertions in API Gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssertionConfiguration'
              example: "{\n    \"assertionConfigurations\": [\n        {\n            \"configurationId\": \"be463644-25a6-42af-840d-0b2d43be41ec\",\n            \"configurationName\": \"CustomBindingAssertion1\",\n            \"configurationElement\": \"<sp:AsymmetricBinding xmlns:sp=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\\\" xmlns:wsp=\\\"http://schemas.xmlsoap.org/ws/2004/09/policy\\\">\\n    <wsp:Policy>\\n        <sp:InitiatorToken>\\n            <wsp:Policy>\\n                <sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\n                    <wsp:Policy>\\n                        <sp:WssX509V3Token10 />\\n                    </wsp:Policy>\\n                </sp:X509Token>\\n            </wsp:Policy>\\n        </sp:InitiatorToken>\\n        <sp:RecipientToken>\\n\\t\\t\\t<wsp:Policy>\\n\\t\\t\\t\\t<sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\n\\t\\t\\t\\t\\t<wsp:Policy>\\n                       <sp:WssX509V3Token10 />\\n                     </wsp:Policy>\\n                 </sp:X509Token>\\n            </wsp:Policy>\\n        </sp:RecipientToken>\\n        <sp:AlgorithmSuite>\\n          <wsp:Policy>\\n            <sp:TripleDesRsa15 />\\n          </wsp:Policy>\\n        </sp:AlgorithmSuite>\\n        <sp:Layout>\\n\\t\\t\\t<wsp:Policy>\\n\\t\\t\\t\\t<sp:Strict />\\n\\t\\t\\t</wsp:Policy>\\n        </sp:Layout>\\n\\t\\t<sp:ProtectTokens/> \\n    </wsp:Policy>\\n </sp:AsymmetricBinding>\",\n            \"assertionType\": \"bindingAssertion\"\n        },\n        {\n            \"configurationId\": \"9bfbd5ea-86eb-4990-8f7a-fdfef8f16f86\",\n            \"configurationName\": \"tokenAssertion01\",\n            \"configurationElement\": \"<sp:AsymmetricBinding xmlns:sp=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\\\" xmlns:wsp=\\\"http://schemas.xmlsoap.org/ws/2004/09/policy\\\">\\r\\n    <wsp:Policy>\\r\\n        <sp:InitiatorToken>\\r\\n            <wsp:Policy>\\r\\n                <sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n                    <wsp:Policy>\\r\\n                        <sp:WssX509V3Token10 />\\r\\n                    </wsp:Policy>\\r\\n                </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:InitiatorToken>\\r\\n        <sp:RecipientToken>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n\\t\\t\\t\\t\\t<wsp:Policy>\\r\\n                       <sp:WssX509V3Token10 />\\r\\n                     </wsp:Policy>\\r\\n                 </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:RecipientToken>\\r\\n        <sp:AlgorithmSuite>\\r\\n          <wsp:Policy>\\r\\n            <sp:TripleDesRsa15 />\\r\\n          </wsp:Policy>\\r\\n        </sp:AlgorithmSuite>\\r\\n        <sp:Layout>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:Strict />\\r\\n\\t\\t\\t</wsp:Policy>\\r\\n        </sp:Layout>\\r\\n\\t\\t<sp:ProtectTokens/> \\r\\n    </wsp:Policy>\\r\\n </sp:AsymmetricBinding>\",\n            \"assertionType\": \"tokenAssertion\"\n        }\n    ]\n}"
        '401':
          description: This status code indicates that authorization has been refused for this HTTP request. This is possibly because, the user has not specified the required credentials (username and password), or has specified invalid credentials, or the user is not authenticated as an API Gateway Administrator to retrieve assertions in API Gateway.
      security:
      - Basic: []
      tags:
      - Assertions
      summary: Get all assertions
      x-summary-source: derived
    post:
      description: 'Custom assertions allow the API providers to extend and provide additional security policies that are not available by default in API Gateway. In WS-Security, custom assertions are used for expressing individual security requirements, constraints, or both. The individual policy assertions can be combined to create security policies that ensure secure and reliable exchanges of SOAP messages between a client and a SOAP API. This REST service is used to create a assertion. Below are the request payloads for different types of assertions.

        bindingAssertion: "{

        "configurationElement": "<sp:AsymmetricBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">

        <sp:InitiatorToken>

        <wsp:Policy>

        <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never">

        <wsp:Policy>

        <sp:WssX509V3Token10/>

        </wsp:Policy>

        </sp:X509Token>

        </wsp:Policy>

        </sp:InitiatorToken>

        <sp:RecipientToken>

        <wsp:Policy>

        <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never">

        <wsp:Policy>

        <sp:WssX509V3Token10/>

        </wsp:Policy>

        </sp:X509Token>

        </wsp:Policy>

        </sp:RecipientToken>

        <sp:AlgorithmSuite>

        <wsp:Policy>

        <sp:Basic256 />

        </wsp:Policy>

        </sp:AlgorithmSuite>

        <sp:Layout>

        <wsp:Policy>

        <sp:LaxTimestampFirst/>

        </wsp:Policy>

        </sp:Layout>

        <sp:ProtectTokens/>

        </wsp:Policy>

        </sp:AsymmetricBinding>",

        "configurationName":"CustomBindingAssertion1",

        "assertionType":"bindingAssertion"}"


        tokenAssertion: "{

        "configurationElement": "<sp:SupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">

        <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"/>

        </wsp:Policy>

        </sp:SupportingTokens>",

        "configurationName":"UsernameToken",

        "assertionType":"tokenAssertion"}"


        policyAssertion: "{

        "configurationElement": "<wsp:Policy wsu:Id="CustomBinding_IWSTrust13Async_policy"

        xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

        xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"

        xmlns:wsaw="http://www.w3.org/2006/02/addressing/wsdl"

        xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">

        <wsp:ExactlyOne>

        <wsp:All>

        <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy>

        <sp:TransportToken>

        <wsp:Policy>

        <sp:HttpsToken/>

        </wsp:Policy>

        </sp:TransportToken>

        <sp:AlgorithmSuite>

        <wsp:Policy>

        <sp:Basic128/>

        </wsp:Policy>

        </sp:AlgorithmSuite>

        <sp:Layout>

        <wsp:Policy>

        <sp:Strict/>

        </wsp:Policy>

        </sp:Layout>

        <sp:IncludeTimestamp/>

        </wsp:Policy>

        </sp:TransportBinding>

        <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy>

        <sp:KerberosToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once">

        <wsp:Policy>

        <sp:WssGssKerberosV5ApReqToken11/>

        </wsp:Policy>

        </sp:KerberosToken>

        <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>

        <!--

        <sp:SignedParts>

        <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>

        </sp:SignedParts>

        -->

        </wsp:Policy>

        </sp:EndorsingSupportingTokens>

        <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy>

        <sp:MustSupportRefKeyIdentifier/>

        <sp:MustSupportRefIssuerSerial/>

        <sp:MustSupportRefThumbprint/>

        <sp:MustSupportRefEncryptedKey/>

        </wsp:Policy>

        </sp:Wss11>

        <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">

        <wsp:Policy>

        <sp:MustSupportIssuedTokens/>

        <sp:RequireClientEntropy/>

        <sp:RequireServerEntropy/>

        </wsp:Policy>

        </sp:Trust13>

        <wsaw:UsingAddressing/>

        </wsp:All>

        </wsp:ExactlyOne>

        </wsp:Policy>"

        "configurationName":"KerberosOverTransport",

        "assertionType":"policyAssertion"}"'
      operationId: createAssertion
      responses:
        '201':
          description: Assertion successfully created in API Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssertionConfiguration'
              example: "{\n  \"assertionConfiguration\": {\n    \"configurationId\": \"0882293d-e773-4242-8bf5-c22e693f8413\",\n    \"configurationName\": \"token_04\",\n    \"configurationElement\": \"<sp:AsymmetricBinding xmlns:sp=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\\\" xmlns:wsp=\\\"http://schemas.xmlsoap.org/ws/2004/09/policy\\\">\\r\\n    <wsp:Policy>\\r\\n        <sp:InitiatorToken>\\r\\n            <wsp:Policy>\\r\\n                <sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n                    <wsp:Policy>\\r\\n                        <sp:WssX509V3Token10 />\\r\\n                    </wsp:Policy>\\r\\n                </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:InitiatorToken>\\r\\n        <sp:RecipientToken>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n\\t\\t\\t\\t\\t<wsp:Policy>\\r\\n                       <sp:WssX509V3Token10 />\\r\\n                     </wsp:Policy>\\r\\n                 </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:RecipientToken>\\r\\n        <sp:AlgorithmSuite>\\r\\n          <wsp:Policy>\\r\\n            <sp:TripleDesRsa15 />\\r\\n          </wsp:Policy>\\r\\n        </sp:AlgorithmSuite>\\r\\n        <sp:Layout>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:Strict />\\r\\n\\t\\t\\t</wsp:Policy>\\r\\n        </sp:Layout>\\r\\n\\t\\t<sp:ProtectTokens/> \\r\\n    </wsp:Policy>\\r\\n </sp:AsymmetricBinding>\"\n  }\n}"
        '400':
          description: This status code indicates that the request payload is not correct and corresponding error details can be seen in the response body
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to create the resource. Error in processing the payload null. Error Message . Check the correctness of payload.\"\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: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssertionConfiguration'
        description: assertion request payload
        required: true
      tags:
      - Assertions
      summary: Create assertion
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /assertions/{assertionId}:
    get:
      description: This request will return assertion element
      operationId: getAssertion
      parameters:
      - name: assertionId
        in: path
        description: This path parameter is used to specify the assertion id which assertion details needs to retrieved.
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '200':
          description: Details of the assertion will be available in response body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssertionConfiguration'
              example: "{\n    \"assertionConfiguration\": {\n        \"configurationId\": \"be463644-25a6-42af-840d-0b2d43be41ec\",\n        \"configurationName\": \"CustomBindingAssertion1\",\n        \"configurationElement\": \"<sp:AsymmetricBinding xmlns:sp=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\\\" xmlns:wsp=\\\"http://schemas.xmlsoap.org/ws/2004/09/policy\\\">\\n    <wsp:Policy>\\n        <sp:InitiatorToken>\\n            <wsp:Policy>\\n                <sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\n                    <wsp:Policy>\\n                        <sp:WssX509V3Token10 />\\n                    </wsp:Policy>\\n                </sp:X509Token>\\n            </wsp:Policy>\\n        </sp:InitiatorToken>\\n        <sp:RecipientToken>\\n\\t\\t\\t<wsp:Policy>\\n\\t\\t\\t\\t<sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\n\\t\\t\\t\\t\\t<wsp:Policy>\\n                       <sp:WssX509V3Token10 />\\n                     </wsp:Policy>\\n                 </sp:X509Token>\\n            </wsp:Policy>\\n        </sp:RecipientToken>\\n        <sp:AlgorithmSuite>\\n          <wsp:Policy>\\n            <sp:TripleDesRsa15 />\\n          </wsp:Policy>\\n        </sp:AlgorithmSuite>\\n        <sp:Layout>\\n\\t\\t\\t<wsp:Policy>\\n\\t\\t\\t\\t<sp:Strict />\\n\\t\\t\\t</wsp:Policy>\\n        </sp:Layout>\\n\\t\\t<sp:ProtectTokens/> \\n    </wsp:Policy>\\n </sp:AsymmetricBinding>\",\n        \"assertionType\": \"bindingAssertion\"\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 assertion id specified is not found in API Gateway
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to find the resource: 732c4526-db9a-4ef9-9782-edda1a6aa9bc1\"\n}"
      security:
      - Basic: []
      tags:
      - Assertions
      summary: Get assertion
      x-summary-source: derived
    put:
      description: This REST service is used to update the assertion
      operationId: updateAssertion
      parameters:
      - name: assertionId
        in: path
        description: This path parameter is used to specify the assertion id which assertion details needs to updated.
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that API Gateway has successfully updated the specified assertion and the updated assertion details can be found in the response body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssertionConfiguration'
              example: "{\n  \"assertionConfiguration\": {\n    \"configurationId\": \"0882293d-e773-4242-8bf5-c22e693f8413\",\n    \"configurationName\": \"token_04\",\n    \"configurationElement\": \"<sp:AsymmetricBinding xmlns:sp=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702\\\" xmlns:wsp=\\\"http://schemas.xmlsoap.org/ws/2004/09/policy\\\">\\r\\n    <wsp:Policy>\\r\\n        <sp:InitiatorToken>\\r\\n            <wsp:Policy>\\r\\n                <sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n                    <wsp:Policy>\\r\\n                        <sp:WssX509V3Token10 />\\r\\n                    </wsp:Policy>\\r\\n                </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:InitiatorToken>\\r\\n        <sp:RecipientToken>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:X509Token sp:IncludeToken=\\\"http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never\\\">\\r\\n\\t\\t\\t\\t\\t<wsp:Policy>\\r\\n                       <sp:WssX509V3Token10 />\\r\\n                     </wsp:Policy>\\r\\n                 </sp:X509Token>\\r\\n            </wsp:Policy>\\r\\n        </sp:RecipientToken>\\r\\n        <sp:AlgorithmSuite>\\r\\n          <wsp:Policy>\\r\\n            <sp:TripleDesRsa15 />\\r\\n          </wsp:Policy>\\r\\n        </sp:AlgorithmSuite>\\r\\n        <sp:Layout>\\r\\n\\t\\t\\t<wsp:Policy>\\r\\n\\t\\t\\t\\t<sp:Strict />\\r\\n\\t\\t\\t</wsp:Policy>\\r\\n        </sp:Layout>\\r\\n\\t\\t<sp:ProtectTokens/> \\r\\n    </wsp:Policy>\\r\\n </sp:AsymmetricBinding>\"\n  }\n}"
        '400':
          description: Tis status code indicates the request payload is not correct and corresponding error details can be seen in the response body
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to process the PUT request for APIs. An error occurred while processing the payload. Error message:\\n Unable to create the resource. Error in processing the payload null. Error Message . Check the correctness of payload.\"\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 assertion id specified is not found in API Gateway
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to find the resource: 732c4526-db9a-4ef9-9782-edda1a6aa9bc1\"\n}"
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssertionConfiguration'
        description: assertion request payload
        required: true
      tags:
      - Assertions
      summary: Update assertion
      x-summary-source: derived
    delete:
      description: This delete request will delete the assertion based on the assertion id which is specified in path
      operationId: deleteAssertion
      parameters:
      - name: assertionId
        in: path
        description: This path parameter is used to specify the assertion id for which assertion needs to deleted.
        required: true
        x-example: 353bd366-47d4-4703-aecf-9cb40cdcc864
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that the specified assertion is successfully deleted
        '401':
          description: This status code indicates either user didn't provide any user credential or user doesn't have API Gateway Administrator or API Gateway provider access to delete the assertion.
        '404':
          description: This status code indicates that the corresponding assertion id does not exist
          content:
            application/json:
              example: "{\n  \"errorDetails\": \" Unable to find the resource: 685e99ee-0e1b-4afa-8ff3-4322cf2965661\"\n}"
      security:
      - Basic: []
      tags:
      - Assertions
      summary: Delete assertion
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  schemas:
    AssertionConfiguration:
      type: object
      properties:
        Assertion element:
          type: string
          description: XML element which represents the assertion
        Assertion name:
          type: string
          description: Name of the assertion
        Assertion type:
          type: string
          description: Type of assertion(tokenAssertion/bindingAssertion)
          enum:
          - tokenAssertion
          - bindingAssertion
          - policyAssertion
        assertionId:
          type: string
          description: A unique ID for the assertion
          readOnly: true
  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