Mapping Versions
Get all versions for a mapping
Retrieves all versions defined for a specific mapping.
get/gateway/{gateway_topic}/mapping/version
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
List of mapping versions retrieved successfully
Example response
{
"body": {
"results": [
{
"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"
}
],
"results_total": 2
},
"metadata": {
"subject": "ms.gateway.abcdef123456.gateway"
}
}