GET /v2/user_provided_service_instances/a6d0b310-b19d-4098-b6ef-9c0543aa9427/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.eyJ1c2VyX2lkIjoidWFhLWlkLTciLCJlbWFpbCI6ImVtYWlsLTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyMH0.cvwSCay0s-zXikJfT76hGnrhNFaQE9Lu6Tzlyq-Ipl4 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/a6d0b310-b19d-4098-b6ef-9c0543aa9427/routes" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTciLCJlbWFpbCI6ImVtYWlsLTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQyMH0.cvwSCay0s-zXikJfT76hGnrhNFaQE9Lu6Tzlyq-Ipl4" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "b27bbd3b-564a-48ff-a389-0bfc3ffcc4ae", "url": "/v2/routes/b27bbd3b-564a-48ff-a389-0bfc3ffcc4ae", "created_at": "2016-03-14T22:30:20Z", "updated_at": "2016-03-14T22:30:20Z" }, "entity": { "host": "host-1", "path": "", "domain_guid": "6823f092-2047-4434-9072-d774c6ec8d71", "space_guid": "7d8d464f-e9e9-4c61-9225-98d39ae5f9f1", "service_instance_guid": "a6d0b310-b19d-4098-b6ef-9c0543aa9427", "port": 0, "domain_url": "/v2/domains/6823f092-2047-4434-9072-d774c6ec8d71", "space_url": "/v2/spaces/7d8d464f-e9e9-4c61-9225-98d39ae5f9f1", "service_instance_url": "/v2/user_provided_service_instances/a6d0b310-b19d-4098-b6ef-9c0543aa9427", "apps_url": "/v2/routes/b27bbd3b-564a-48ff-a389-0bfc3ffcc4ae/apps", "route_mappings_url": "/v2/routes/b27bbd3b-564a-48ff-a389-0bfc3ffcc4ae/route_mappings" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 1074 X-Content-Type-Options: nosniff