Mappings
Update a mapping
Updates an existing gateway mapping configuration.
patch/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
Request body
Example request
{
"path": "/api/users/v2",
"limit": {
"request": 5000,
"time": 1000
},
"timeout": 60000,
"traffic_distribution": {
"1": 80,
"2": 20
}
}Response
Mapping updated successfully
Example response
{
"message": "success"
}