GET /v2/user_provided_service_instances/24794a38-4124-4ae5-801b-183d1479f06c/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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNiIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjB9.mef17zKqRPjMBlrZyzzlmvPgFJ9IC_yBLGVvN7OTEOE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/24794a38-4124-4ae5-801b-183d1479f06c/routes" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNiIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjB9.mef17zKqRPjMBlrZyzzlmvPgFJ9IC_yBLGVvN7OTEOE" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "141458d4-0de3-4e35-9a8a-60ca310852f1", "url": "/v2/routes/141458d4-0de3-4e35-9a8a-60ca310852f1", "created_at": "2016-05-12T00:45:20Z", "updated_at": "2016-05-12T00:45:20Z" }, "entity": { "host": "host-22", "path": "", "domain_guid": "de3b4fe3-2522-48c5-8955-da88ef708200", "space_guid": "7e214f04-0f5f-481b-b978-0e2b7befd81a", "service_instance_guid": "24794a38-4124-4ae5-801b-183d1479f06c", "port": null, "domain_url": "/v2/domains/de3b4fe3-2522-48c5-8955-da88ef708200", "space_url": "/v2/spaces/7e214f04-0f5f-481b-b978-0e2b7befd81a", "service_instance_url": "/v2/user_provided_service_instances/24794a38-4124-4ae5-801b-183d1479f06c", "apps_url": "/v2/routes/141458d4-0de3-4e35-9a8a-60ca310852f1/apps", "route_mappings_url": "/v2/routes/141458d4-0de3-4e35-9a8a-60ca310852f1/route_mappings" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 359211f2-4e2f-48f4-84b4-97eb552d0219 Content-Length: 1078 X-Content-Type-Options: nosniff