Create a new mapping for a gateway
Mappings
Create a new mapping for a gateway
Creates a new path mapping within the specified gateway.
POST
Create a new mapping for a gateway
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique topic identifier of the gateway
Body
application/json
URL path for the mapping
Example:
"/api/users"
HTTP method for the mapping
Available options:
GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD Example:
"GET"
Whether the mapping is publicly accessible
Example:
true
Timeout in milliseconds for mapping requests
Example:
30000
Traffic distribution configuration for A/B testing
Example:
{ "1": 100 }