GET /v2/routes/d4d6b7e0-d3a2-40ca-ab64-0d001ba7bab9/apps
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: name, space_guid, organization_guid, diego, stack_guid |
|
|
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 |
---|---|---|---|---|
guid | The guid of the route. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtNjhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzMH0.zFLYVKbYEHvcjJjDWpE4D0SXmj_UjMTQSBxerc3qqNg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/routes/d4d6b7e0-d3a2-40ca-ab64-0d001ba7bab9/apps" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtNjhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMTY0NjYzMH0.zFLYVKbYEHvcjJjDWpE4D0SXmj_UjMTQSBxerc3qqNg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "9129ce39-acb9-49a7-9afa-5c3f06606705", "url": "/v2/apps/9129ce39-acb9-49a7-9afa-5c3f06606705", "created_at": "2015-05-07T23:37:10Z", "updated_at": "2015-05-07T23:37:10Z" }, "entity": { "name": "name-1060", "production": false, "space_guid": "f2cbd4b4-5be6-4e3d-88e4-2c61ddabd4f3", "stack_guid": "11725d0a-389d-4909-a32d-5d5799d2a6a2", "buildpack": null, "detected_buildpack": null, "environment_json": null, "memory": 1024, "instances": 1, "disk_quota": 1024, "state": "STOPPED", "version": "56bfa429-13ad-42af-a9d5-1bddf1c5e6f8", "command": null, "console": false, "debug": null, "staging_task_id": null, "package_state": "PENDING", "health_check_type": "port", "health_check_timeout": null, "staging_failed_reason": null, "diego": false, "docker_image": null, "package_updated_at": "2015-05-07T23:37:10Z", "detected_start_command": "", "enable_ssh": true, "space_url": "/v2/spaces/f2cbd4b4-5be6-4e3d-88e4-2c61ddabd4f3", "stack_url": "/v2/stacks/11725d0a-389d-4909-a32d-5d5799d2a6a2", "events_url": "/v2/apps/9129ce39-acb9-49a7-9afa-5c3f06606705/events", "service_bindings_url": "/v2/apps/9129ce39-acb9-49a7-9afa-5c3f06606705/service_bindings", "routes_url": "/v2/apps/9129ce39-acb9-49a7-9afa-5c3f06606705/routes" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: d645379e-cd63-47f7-a797-b221dbab9dae Content-Length: 1654 X-Content-Type-Options: nosniff