v6

latestOpenAPI 3.0.3raw.githubusercontent.com2025-11-28172255.4 KB
Mappings

Get a specific mapping

Retrieves information about a specific gateway mapping.

get/gateway/{gateway_topic}/mapping/details

Path parameters

gateway_topicstring required

Unique topic identifier of the gateway

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 details retrieved successfully

Example response

{
  "body": {
    "subject": "ms.gateway.abcdef123456.mapping.get.api.users",
    "path": "/api/users",
    "method": "GET",
    "is_public": true,
    "limit": {
      "request": 5000,
      "time": 1000
    },
    "timeout": 30000,
    "traffic_distribution": {
      "1": 100
    },
    "modified": 1713531894,
    "type": "created"
  },
  "metadata": {
    "subject": "ms.gateway.abcdef123456.gateway"
  }
}