Routes
Create a new Route
Changed onCreate a new Route
post/v2/control-planes/{controlPlaneId}/core-entities/routes
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/routes
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"hosts": [
"foo.example.com",
"foo.example.us"
],
"id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
"name": "example-route",
"paths": [
"/v1",
"/v2"
],
"service": {
"id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Response
Successfully created Route
Example response
{
"hosts": [
"foo.example.com",
"foo.example.us"
],
"id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
"name": "example-route",
"paths": [
"/v1",
"/v2"
],
"service": {
"id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Changes
- info
the
request property default value changed fromhttphttpstohttps - info
the
request property default value changed fromhttphttpstohttps - info
the
response's property default value changed fromhttphttpstohttpsfor the status - info
the
response's property default value changed fromhttphttpstohttpsfor the status
- info
- breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable
- breaking