Web Methods Service Result Cache API

The ServiceResultCache API from Web Methods — 2 operation(s) for serviceresultcache.

GitHub OpenAPI

Operations 4

GET /serviceResultCache Get cache details byapi name and version #
DELETE /serviceResultCache Delete cache details byapi name and version #
GET /serviceResultCache/{apiId} Get cache details byapi id #
DELETE /serviceResultCache/{apiId} Delete cache detailsby APIId #

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-serviceresultcache-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-serviceresultcache-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Service Result Cache API
  version: '11.0'
  description: 'Operations tagged ServiceResultCache 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: ServiceResultCache
paths:
  /serviceResultCache:
    get:
      description: 'You can enable API caching in API Gateway to cache your native service''s response. With caching, you can reduce the number of calls made to your endpoint and also improve the latency of the requests to your API. When you enable caching for a stage, API Gateway caches responses from your endpoint for a specified time to live period. API Gateway then responds to the request by looking up the endpoint response from the cache instead of making a request to your endpoint.


        Service Result cache can be configured for a API or Resource/method or Operation.


        This REST Request is used to get the Service Result cache size for an API using apiName and apiVersion.'
      operationId: getCacheDetailsByapiNameAndVersion
      parameters:
      - name: apiName
        in: query
        description: This query parameter is used to specify the API name for which the service result cache element size needs to be fetched.
        required: true
        x-example: apiName=WIKI-SearchData
        schema:
          type: string
      - name: apiVersion
        in: query
        description: The version of the apiName parameter specified
        required: true
        x-example: apiVersion=1.0
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the request for Service Result Cache size has been successfully returned. The response will have number of cache elements (A cached element is nothing but a single response) for the given API name and version, so it infers that the number of responses are actually cached for this API
          content:
            application/json:
              example: "{\n\t\"Cache size\": 2\n}"
        '401':
          description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator access.
        '500':
          description: This status code indicates that the server has encountered an error while fetching the Service Result cache for the API
      security:
      - Basic: []
      tags:
      - ServiceResultCache
      summary: Get cache details byapi name and version
      x-summary-source: derived
    delete:
      description: This REST Request is used to request for deletion of Service Result cache for the API using apiName and apiVersion
      operationId: deleteCacheDetailsByapiNameAndVersion
      parameters:
      - name: apiName
        in: query
        description: This query parameter is used to specify the API name for which the service result cache deletion is requsted.
        required: true
        x-example: apiName=WIKI-SearchData
        schema:
          type: string
      - name: apiVersion
        in: query
        description: The version of the apiName parameter specified
        required: true
        x-example: apiVersion=1.0
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that Service Result Cache has been deleted for the specified API and no data is returned in response
        '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 delete the Service Result Cache of the specified API.
        '500':
          description: This status code indicates that the server has encountered an error while deleting the Service Result cache for the API
      security:
      - Basic: []
      tags:
      - ServiceResultCache
      summary: Delete cache details byapi name and version
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /serviceResultCache/{apiId}:
    get:
      description: This REST Request is used to get the Service Result cache size for the API using apiID. An alternative REST API call for /serviceResultCache. Instead of specifying name and version, if you know API id you can directly use that id to get the number of cached responses for that API
      operationId: getCacheDetailsByapiId
      parameters:
      - name: apiId
        in: path
        description: The id of API for which the cached response size is requested
        required: true
        x-example: 732c4526-db9a-4ef9-9782-edda1a6aa9bc
        schema:
          type: string
      responses:
        '200':
          description: 'This status code indicates that the request for Service Result Cache size is successfully returned. The response will have number of cache elements (A cached element is nothing but a single response) for the given API id, so it infers that the number of responses are actually cached for this API '
          content:
            application/json:
              example: "{\n\t\"Cache size\": 2\n}"
        '401':
          description: This status code indicates that the user did not provide any user credential or user does not have API Gateway Administrator access
        '500':
          description: This status code indicates that the server has encountered an error while fetching the Service Result Cache for the API
      security:
      - Basic: []
      tags:
      - ServiceResultCache
      summary: Get cache details byapi id
      x-summary-source: derived
    delete:
      description: This REST Request is used to request for deletion of Service Result Cache for the API using api id
      operationId: deleteCacheDetailsbyAPIId
      parameters:
      - name: apiId
        in: path
        description: The id of API for which the Service Result Cache deletion is requested
        required: true
        x-example: 732c4526-db9a-4ef9-9782-edda1a6aa9bc
        schema:
          type: string
      responses:
        '204':
          description: 'This status code indicates that Service Result Cache has been deleted for the API and no data is returned in response '
        '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 delete the Service Result cache of the specified API.
        '500':
          description: This status code indicates that the server has encountered an error while deleting the Service Result Cache for the API
      security:
      - Basic: []
      tags:
      - ServiceResultCache
      summary: Delete cache detailsby APIId
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  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