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/00a1877b-0991-44f6-803b-3162a6d139c9/instances

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDV9.cloeEP5Zv0TTatr4oyWiyvLm6SbNPjDHiSRHYvsTGw4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/00a1877b-0991-44f6-803b-3162a6d139c9/instances" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDV9.cloeEP5Zv0TTatr4oyWiyvLm6SbNPjDHiSRHYvsTGw4" \
	-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: f2ba668f-ee41-4f8d-af25-5d1abaafc3fe
Content-Length: 123
X-Content-Type-Options: nosniff