Create Resource Mapping
Changed onCreates a mapping between a catalog resource and service.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
The id or name of the service to map the resource to.
Example request
{
"service": "user-svc",
"resource": "4UdXnoaDYYJsH_Ir"
}Response
A response containing a single catalog resource mapping.
Describes a mapping between a catalog resource and a service.
The resource mapping ID.
Short-hand descriptor of a catalog resource.
Short-hand descriptor of a catalog service.
An ISO-8601 timestamp representation of entity creation date.
Example response
{
"id": "d277faad-ed4e-4c56-a0fb-acce065dee34",
"resource": {
"id": "4UdXnoaDYYJsH_Ir",
"integration": {
"name": "gateway-manager",
"display_name": "gateway-manager",
"instance": {
"id": "772b9caf-ddbc-4f4f-8aa4-8dfbbe420351",
"name": "aws-lambda-prod",
"display_name": "AWS (prod)"
}
},
"type": "gateway_svc",
"config": {
"control_plane_id": "ccadfb0a-56cd-4f74-955d-aec1d87157c8",
"gateway_service_id": "94896d05-0c4d-45eb-aae3-de754885dd58"
}
},
"service": {
"id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"name": "user-svc",
"display_name": "User Service"
},
"created_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking