GET /v2/spaces/02abdc52-6fc2-4667-8565-ef48f668988f/apps
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Space |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: name, space_guid, organization_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 |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5OSIsImVtYWlsIjoiZW1haWwtMTUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njh9.Lq4niEkuA6Of6R27-Lh80VMvu1KqhPCV7TsdS5JshJw Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/02abdc52-6fc2-4667-8565-ef48f668988f/apps" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5OSIsImVtYWlsIjoiZW1haWwtMTUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2Njh9.Lq4niEkuA6Of6R27-Lh80VMvu1KqhPCV7TsdS5JshJw" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "74533a80-681f-4881-b7b7-d8f37f539dd9", "url": "/v2/apps/74533a80-681f-4881-b7b7-d8f37f539dd9", "created_at": "2015-03-03T00:51:08Z", "updated_at": "2015-03-03T00:51:08Z" }, "entity": { "name": "name-1264", "production": false, "space_guid": "02abdc52-6fc2-4667-8565-ef48f668988f", "stack_guid": "e406302f-6bda-4ff9-a657-761218649e32", "buildpack": null, "detected_buildpack": null, "environment_json": null, "memory": 1024, "instances": 1, "disk_quota": 1024, "state": "STOPPED", "version": "48168252-f95c-41c3-84bf-83e94265e468", "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-03-03T00:51:08Z", "detected_start_command": "", "space_url": "/v2/spaces/02abdc52-6fc2-4667-8565-ef48f668988f", "stack_url": "/v2/stacks/e406302f-6bda-4ff9-a657-761218649e32", "events_url": "/v2/apps/74533a80-681f-4881-b7b7-d8f37f539dd9/events", "service_bindings_url": "/v2/apps/74533a80-681f-4881-b7b7-d8f37f539dd9/service_bindings", "routes_url": "/v2/apps/74533a80-681f-4881-b7b7-d8f37f539dd9/routes" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: cdd5cee6-2d56-48ce-9461-670a27ddff76 Content-Length: 1626 X-Content-Type-Options: nosniff