Home
Version 3
Apps API

Apps API

Retrieve a Particular App

GET /v2/apps/:guid

Request

Route

GET /v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1MSIsImVtYWlsIjoiZW1haWwtMzIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDJ9.GIvGTdPUF_qWLtJvkFeUkIeNvMWb_6UWPRD2Tda0rqk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1MSIsImVtYWlsIjoiZW1haWwtMzIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDJ9.GIvGTdPUF_qWLtJvkFeUkIeNvMWb_6UWPRD2Tda0rqk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0db23f00-e36b-4633-93e8-59981aa2ff8b",
    "url": "/v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b",
    "created_at": "2015-12-22T18:28:22Z",
    "updated_at": "2015-12-22T18:28:22Z"
  },
  "entity": {
    "name": "name-2428",
    "production": false,
    "space_guid": "e61f0bcd-f767-4485-839a-83e624b29576",
    "stack_guid": "9765f157-01e6-4d25-a3eb-8dd449bc5157",
    "buildpack": null,
    "detected_buildpack": null,
    "environment_json": null,
    "memory": 1024,
    "instances": 1,
    "disk_quota": 1024,
    "state": "STOPPED",
    "version": "78db46b1-4191-4e12-b2df-ddcfaeef05c6",
    "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-12-22T18:28:22Z",
    "detected_start_command": "",
    "enable_ssh": true,
    "docker_credentials_json": {
      "redacted_message": "[PRIVATE DATA HIDDEN]"
    },
    "ports": null,
    "space_url": "/v2/spaces/e61f0bcd-f767-4485-839a-83e624b29576",
    "stack_url": "/v2/stacks/9765f157-01e6-4d25-a3eb-8dd449bc5157",
    "events_url": "/v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b/events",
    "service_bindings_url": "/v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b/service_bindings",
    "routes_url": "/v2/apps/0db23f00-e36b-4633-93e8-59981aa2ff8b/routes"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 1536
X-Content-Type-Options: nosniff