Create a new Route
Create a new Route
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
Changed in 8 of the 52 revisions of this API.13568
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ●
the
//request property's max was set to65535.00request-property-max-set
- ●
the
//request property's max was set to65535.00request-property-max-set
- ●
the
//request property's min was set to0.00request-property-min-set
- ●
the
//request property's min was set to0.00request-property-min-set
- ▲
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ▲
the response property
//became nullable for the statusresponse-property-became-nullable
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
the request property
//became nullablerequest-property-became-nullable
- ○
the
request property default value426was addedrequest-property-default-value-added
- ○
the
request property default valuev0was addedrequest-property-default-value-added
- ○
the
request property default valuefalsewas addedrequest-property-default-value-added
- ○
the
request property default value0was addedrequest-property-default-value-added
- ○
the
request property default valuetruewas addedrequest-property-default-value-added
- ○
the
request property default valuetruewas addedrequest-property-default-value-added
- ○
the
request property default valuetruewas addedrequest-property-default-value-added
- ○
the
response's property default value426was added for the statusresponse-property-default-value-added
- ○
the
response's property default valuev0was added for the statusresponse-property-default-value-added
- ○
the
response's property default valuefalsewas added for the statusresponse-property-default-value-added
- ○
the
response's property default value0was added for the statusresponse-property-default-value-added
- ○
the
response's property default valuetruewas added for the statusresponse-property-default-value-added
- ○
the
response's property default valuetruewas added for the statusresponse-property-default-value-added
- ○
the
response's property default valuetruewas added for the statusresponse-property-default-value-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ○
the request property
became nullablerequest-property-became-nullable
- ▲
- ○
the
request property default valuehttphttpswas addedrequest-property-default-value-added
- ○
the
response's property default valuehttphttpswas added for the statusresponse-property-default-value-added
- ○
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ○
the request optional property
became not read-onlyrequest-optional-property-became-not-read-only
- ○
the request optional property
became not read-onlyrequest-optional-property-became-not-read-only
- ○
the request property
became nullablerequest-property-became-nullable
- ○
the request property
became nullablerequest-property-became-nullable
- ○
the response optional property
became not read-only for the statusresponse-optional-property-became-not-read-only
- ○
the response optional property
became not read-only for the statusresponse-optional-property-became-not-read-only
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
/request property type changed fromstringtoarrayrequest-property-type-changed
- ▲
the
/response's property type changed fromstringtoarrayfor statusresponse-property-type-changed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
- ▲
the request's body type changed from no type to
objectrequest-body-type-changed
- ▲
the response's body type changed from no type to
objectfor statusresponse-body-type-changed
- ●
removed
subschema #2from the request bodyallOflistrequest-body-all-of-removed
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
new-optional-request-property
- ○
removed
subschema #2from the response bodyallOflist for the response statusresponse-body-all-of-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
This revision also has 88 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲