Home
Version 3
Apps API

Apps API

Get the instance information for a STARTED App

GET /v2/apps/:guid/instances

Get status for each instance of an App using the app guid.

Request

Route

GET /v2/apps/6c0f1e73-6e70-4cde-ad63-f91a1bed2845/instances

Parameters

Name Description Valid Values Example Values
guid The guid of the App

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODI2fQ.X1kGfECdN5hR5268MQU7ntcqlQqEBDLCuB4xwFkiyVY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/6c0f1e73-6e70-4cde-ad63-f91a1bed2845/instances" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ3MTE2ODI2fQ.X1kGfECdN5hR5268MQU7ntcqlQqEBDLCuB4xwFkiyVY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "0": {
    "state": "RUNNING",
    "since": 1403140717.984577,
    "debug_ip": null,
    "debug_port": null,
    "console_ip": null,
    "console_port": null
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c9b616a2-191b-4fd4-8db0-3de90f57c1f2
Content-Length: 123
X-Content-Type-Options: nosniff