Catalog Services
Create Service
Changed onCreates a service.
post/v1/catalog-services
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/catalog-services
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"name": "user-svc",
"display_name": "User Service",
"labels": {
"env": "test"
},
"custom_fields": {
"owner": "John Appleseed",
"dashboard": {
"name": "On-Call Dashboard",
"link": "https://my-dashboard-svc.io/dashboards/1"
}
}
}Response
A response containing a single service object.
Example response
{
"id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"name": "user-svc",
"display_name": "User Service",
"custom_fields": {
"owner": "John Appleseed",
"dashboard": {
"name": "On-Call Dashboard",
"link": "https://my-dashboard-svc.io/dashboards/1"
}
},
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status
- warning