Retrieve a Particular App
GET /v2/apps/:guid
Request
Route
GET /v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497
Headers
cURL
curl "https://api.[your-domain.com]/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MiIsImVtYWlsIjoiZW1haWwtMTMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0MzV9._YdmSaMmop3Quep_L8-tZ30ouWDHxzHrkwfRrtvkTqo" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "04ca619a-7239-46e0-a898-41ce0fef7497",
"url": "/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497",
"created_at": "2016-03-14T22:30:35Z",
"updated_at": "2016-03-14T22:30:35Z"
},
"entity": {
"name": "name-1563",
"production": false,
"space_guid": "07b46260-d59b-4705-a7d6-b86e7efc55c0",
"stack_guid": "678d5da7-f85b-490e-9b9e-f037faea98c4",
"buildpack": null,
"detected_buildpack": null,
"environment_json": null,
"memory": 1024,
"instances": 1,
"disk_quota": 1024,
"state": "STOPPED",
"version": "d6f11f1b-ad27-491f-9fea-e62f2e2decb1",
"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-03-14T22:30:35Z",
"detected_start_command": "",
"enable_ssh": true,
"docker_credentials_json": {
"redacted_message": "[PRIVATE DATA HIDDEN]"
},
"ports": null,
"space_url": "/v2/spaces/07b46260-d59b-4705-a7d6-b86e7efc55c0",
"stack_url": "/v2/stacks/678d5da7-f85b-490e-9b9e-f037faea98c4",
"routes_url": "/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497/routes",
"events_url": "/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497/events",
"service_bindings_url": "/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497/service_bindings",
"route_mappings_url": "/v2/apps/04ca619a-7239-46e0-a898-41ce0fef7497/route_mappings"
}
}
Headers