GET /v2/user_provided_service_instances/4b7806a2-c14e-41f9-876c-040b028f6b08/routes
Name | Description | Valid Values | Example Values |
---|---|---|---|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: host, domain_guid, organization_guid, path, port, generate_port |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
route_guid | The guid of the route |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjN9._ZCpEd1jxNIYwWMVgqouUSI7ekzRuGQLIjgb1dfX51M Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/4b7806a2-c14e-41f9-876c-040b028f6b08/routes" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjN9._ZCpEd1jxNIYwWMVgqouUSI7ekzRuGQLIjgb1dfX51M" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "2917d651-a97c-4552-a911-a4a5bb9601d4", "url": "/v2/routes/2917d651-a97c-4552-a911-a4a5bb9601d4", "created_at": "2015-11-13T17:02:43Z", "updated_at": "2015-11-13T17:02:43Z" }, "entity": { "host": "host-19", "path": "", "domain_guid": "defa7e97-a8cd-4e0b-ba03-f546db228306", "space_guid": "9f79337f-cb58-4561-a76b-2008b460bab3", "service_instance_guid": "4b7806a2-c14e-41f9-876c-040b028f6b08", "port": 0, "domain_url": "/v2/domains/defa7e97-a8cd-4e0b-ba03-f546db228306", "space_url": "/v2/spaces/9f79337f-cb58-4561-a76b-2008b460bab3", "service_instance_url": "/v2/user_provided_service_instances/4b7806a2-c14e-41f9-876c-040b028f6b08", "apps_url": "/v2/routes/2917d651-a97c-4552-a911-a4a5bb9601d4/apps" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 979 X-Content-Type-Options: nosniff