GET /v2/user_provided_service_instances/8057173b-6d51-4017-87b2-b536d531f815/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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2Nzh9.zXp0Wi3-EZjU55ukWzv-DleXEyUILb2t5wwgIcKKmK4 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/user_provided_service_instances/8057173b-6d51-4017-87b2-b536d531f815/routes" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2Nzh9.zXp0Wi3-EZjU55ukWzv-DleXEyUILb2t5wwgIcKKmK4" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "ec3c8b4a-a96b-4efb-bf21-90bd75d63be3", "url": "/v2/routes/ec3c8b4a-a96b-4efb-bf21-90bd75d63be3", "created_at": "2016-03-17T21:41:18Z", "updated_at": "2016-03-17T21:41:18Z" }, "entity": { "host": "host-16", "path": "", "domain_guid": "0eb226f6-4605-4fd1-af37-18ca7b14ef66", "space_guid": "e24c8e19-e504-4ecc-9ff1-b7a609fac76b", "service_instance_guid": "8057173b-6d51-4017-87b2-b536d531f815", "port": 0, "domain_url": "/v2/domains/0eb226f6-4605-4fd1-af37-18ca7b14ef66", "space_url": "/v2/spaces/e24c8e19-e504-4ecc-9ff1-b7a609fac76b", "service_instance_url": "/v2/user_provided_service_instances/8057173b-6d51-4017-87b2-b536d531f815", "apps_url": "/v2/routes/ec3c8b4a-a96b-4efb-bf21-90bd75d63be3/apps", "route_mappings_url": "/v2/routes/ec3c8b4a-a96b-4efb-bf21-90bd75d63be3/route_mappings" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 1075 X-Content-Type-Options: nosniff