Check Reserved Routes For Domain

Check Reserved Routes For Domain
Check reserved routes for a domain

Check if a specific route for a domain exists, regardless of the user's visibility for the route in case the route belongs to a space the user does not belong to.

Permitted roles: Admin, Admin Read-Only, Global Auditor, Org Auditor, Org Billing Manager (can only check if routes exist for a domain without an organization relationship), Org Manager, Space Auditor, Space Developer, Space Manager, Space Supporter

Request
URI
GET
https://api.example.local/v3/domains/{guid}/route_reservations
COPY
Path Parameters
string
guid
Required  

The unique identifier for the resource

Query Parameters
string
host
Optional

Hostname to filter by; defaults to empty string if not provided and only applicable to http routes

string
path
Optional

Path to filter by; defaults to empty string if not provided and only applicable to http routes

integer
port
Optional

Port to filter by; only applicable to tcp routes and required for tcp routes


Authentication
This operation uses the following authentication methods.
Responses
200

OK

{
    "matching_route": false
}
boolean
matching_route
Optional

Whether a route matching the given host, path, and port exists for the domain


401

Unauthorized

Returns Unauthorized of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


403

Forbidden

Returns Forbidden of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


404

Not Found

Returns NotFound of type(s) application/json
{
    "errors": [
        {
            "code": 0,
            "detail": "string",
            "title": "string"
        }
    ]
}
array of object
errors
Optional

errors


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/v3/domains/{guid}/route_reservations