GET /v2/routes/2526cabb-2394-41d7-b83b-f94a0f22a674/apps?app_guid=4eaa238e-d98a-4e19-b78e-7171ecaa37de
Name | Description | Valid Values | Example Values |
---|---|---|---|
app_guid | The guid of the app |
|
|
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 |
|
|
app_guid: 4eaa238e-d98a-4e19-b78e-7171ecaa37de
Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the route. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMzfQ.Dnpc6Wb_kcUHVWHakxqpEQBKfuRq_ribFDD_9u7hvrk Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/routes/2526cabb-2394-41d7-b83b-f94a0f22a674/apps?app_guid=4eaa238e-d98a-4e19-b78e-7171ecaa37de" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODMzfQ.Dnpc6Wb_kcUHVWHakxqpEQBKfuRq_ribFDD_9u7hvrk" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "0c0eb5ee-a0ee-48d0-80e6-9d5b2c80dcd5", "url": "/v2/apps/0c0eb5ee-a0ee-48d0-80e6-9d5b2c80dcd5", "created_at": "2015-11-03T00:53:53Z", "updated_at": "2015-11-03T00:53:53Z" }, "entity": { "name": "name-609", "production": false, "space_guid": "ee9206c4-52de-4992-bfe8-6386318f209c", "stack_guid": "acaa2623-d6c5-4bf1-8a16-2ed50edc46d8", "buildpack": null, "detected_buildpack": null, "environment_json": null, "memory": 1024, "instances": 1, "disk_quota": 1024, "state": "STOPPED", "version": "24c86f1a-0642-46ed-9514-4ebf5fd841c7", "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, "staging_failed_description": null, "diego": false, "docker_image": null, "package_updated_at": "2015-11-03T00:53:53Z", "detected_start_command": "", "enable_ssh": true, "docker_credentials_json": { "redacted_message": "[PRIVATE DATA HIDDEN]" }, "ports": null, "space_url": "/v2/spaces/ee9206c4-52de-4992-bfe8-6386318f209c", "stack_url": "/v2/stacks/acaa2623-d6c5-4bf1-8a16-2ed50edc46d8", "events_url": "/v2/apps/0c0eb5ee-a0ee-48d0-80e6-9d5b2c80dcd5/events", "service_bindings_url": "/v2/apps/0c0eb5ee-a0ee-48d0-80e6-9d5b2c80dcd5/service_bindings", "routes_url": "/v2/apps/0c0eb5ee-a0ee-48d0-80e6-9d5b2c80dcd5/routes" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 3131f041-c0ca-4df8-95d7-0ceb3ad3f03c Content-Length: 1822 X-Content-Type-Options: nosniff