Retrieve a Particular App
GET /v2/apps/:guid
Request
Route
GET /v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d
Headers
cURL
curl "https://api.[your-domain.com]/v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NiIsImVtYWlsIjoiZW1haWwtMzI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTZ9.oiaJghTaMaV84TzBz72stbxFgIeH8OB-7cigWl4Bd3k" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "8f3449d3-4fff-47c1-9a70-2a49734f641d",
"url": "/v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d",
"created_at": "2016-01-13T17:29:56Z",
"updated_at": "2016-01-13T17:29:56Z"
},
"entity": {
"name": "name-2446",
"production": false,
"space_guid": "dce4bbfb-5aa7-4a09-99d7-545951d5c6a6",
"stack_guid": "4716918a-0ff0-4ae0-bc2d-643b9b77b17b",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "af244b5c-91ed-4f6e-afce-78b0aa7b72ea",
"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": "2016-01-13T17:29:56Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null,
"space_url": "/v2/spaces/dce4bbfb-5aa7-4a09-99d7-545951d5c6a6",
"stack_url": "/v2/stacks/4716918a-0ff0-4ae0-bc2d-643b9b77b17b",
"events_url": "/v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d/events",
"service_bindings_url": "/v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d/service_bindings",
"routes_url": "/v2/apps/8f3449d3-4fff-47c1-9a70-2a49734f641d/routes"
}
}
Headers