v6

latestOpenAPI 3.0.3raw.githubusercontent.com2025-11-28172255.4 KB
Mapping Versions

Get a specific mapping version

Retrieves information about a specific mapping version.

get/gateway/mapping-version/{gateway_topic}/{version_number}

Path parameters

gateway_topicstring required

Unique topic identifier of the gateway

version_numberinteger required

Sequential version number of the mapping version

Query parameters

method'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'OPTIONS' | 'HEAD' required

HTTP method for the mapping in uppercase

pathstring required

URL path for the mapping including the leading slash

Response

Mapping version details retrieved successfully

Example response

{
  "body": {
    "subject": "ms.gateway.abcdef123456.mapping-version.get.api.users.1",
    "resource_type": "function",
    "resource": "user-service.getUsers",
    "resource_version": "latest",
    "active": true,
    "description": "Gets all users with pagination",
    "middleware": [
      {
        "order": 1,
        "resource": "auth-middleware",
        "resource_type": "function",
        "resource_version": "latest",
        "type": "pre-request"
      }
    ],
    "attributes": [],
    "invocation_type": "RequestResponse",
    "version": 1,
    "modified": 1713531894,
    "type": "created"
  },
  "metadata": {
    "subject": "ms.gateway.abcdef123456.gateway"
  }
}