Home
Version 3
Apps API

Apps API

Retrieve a Particular App

GET /v2/apps/:guid

Request

Route

GET /v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMiIsImVtYWlsIjoiZW1haWwtODNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzgzNzI2MX0.sgKjtewf6JilWTuvuZrGbXUlJ2BqcHPTD6dl8y5AguI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMiIsImVtYWlsIjoiZW1haWwtODNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1MzgzNzI2MX0.sgKjtewf6JilWTuvuZrGbXUlJ2BqcHPTD6dl8y5AguI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "3354f75f-3611-42c8-aa49-d33b7cd01ebc",
    "url": "/v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc",
    "created_at": "2016-01-19T19:41:01Z",
    "updated_at": "2016-01-19T19:41:01Z"
  },
  "entity": {
    "name": "name-393",
    "production": false,
    "space_guid": "a98f6e82-c35f-4d8a-bbed-d483fb29437c",
    "stack_guid": "d3e73b15-5a10-40fc-93dd-45a528c1c344",
    "buildpack": null,
    "detected_buildpack": null,
    "environment_json": null,
    "memory": 1024,
    "instances": 1,
    "disk_quota": 1024,
    "state": "STOPPED",
    "version": "b61e03a1-58c8-4a83-8b75-9593f7e12c93",
    "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-19T19:41:01Z",
    "detected_start_command": "",
    "enable_ssh": true,
    "docker_credentials_json": {
      "redacted_message": "[PRIVATE DATA HIDDEN]"
    },
    "ports": null,
    "space_url": "/v2/spaces/a98f6e82-c35f-4d8a-bbed-d483fb29437c",
    "stack_url": "/v2/stacks/d3e73b15-5a10-40fc-93dd-45a528c1c344",
    "events_url": "/v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc/events",
    "service_bindings_url": "/v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc/service_bindings",
    "routes_url": "/v2/apps/3354f75f-3611-42c8-aa49-d33b7cd01ebc/routes"
  }
}

Headers

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