GET /v2/user_provided_service_instances/dafdcc46-4b1f-4247-9f40-11531178f9be/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 |
|
|
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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzh9.Fptv6wTKUQUttvz-VhDDA0lUYkXAbbHyJwjunTPSVyA Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/dafdcc46-4b1f-4247-9f40-11531178f9be/routes" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNiIsImVtYWlsIjoiZW1haWwtMjMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzh9.Fptv6wTKUQUttvz-VhDDA0lUYkXAbbHyJwjunTPSVyA" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "f21ffc78-7fe5-4fda-b691-aca8f772266e", "url": "/v2/routes/f21ffc78-7fe5-4fda-b691-aca8f772266e", "created_at": "2016-01-19T19:41:18Z", "updated_at": "2016-01-19T19:41:18Z" }, "entity": { "host": "host-23", "path": "", "domain_guid": "ac7b723e-aca0-4ec9-b8cf-06627a8e7456", "space_guid": "44d7197e-88fc-478e-91f8-b3790ae55c58", "service_instance_guid": "dafdcc46-4b1f-4247-9f40-11531178f9be", "port": 0, "domain_url": "/v2/domains/ac7b723e-aca0-4ec9-b8cf-06627a8e7456", "space_url": "/v2/spaces/44d7197e-88fc-478e-91f8-b3790ae55c58", "service_instance_url": "/v2/user_provided_service_instances/dafdcc46-4b1f-4247-9f40-11531178f9be", "apps_url": "/v2/routes/f21ffc78-7fe5-4fda-b691-aca8f772266e/apps" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 979 X-Content-Type-Options: nosniff