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.

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NyIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2OH0.yiL5X5YnFkPx0vjbC0Tz1C2Ys0l11f1_6um6l84_M84
Host: example.org
Cookie: 

Route

GET /v2/apps/3893e340-341f-42c6-86a1-967b350478fc/instances

cURL

curl "https://api.[your-domain.com]/v2/apps/3893e340-341f-42c6-86a1-967b350478fc/instances" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NyIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxOTk4OTk2OH0.yiL5X5YnFkPx0vjbC0Tz1C2Ys0l11f1_6um6l84_M84" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f879bfdf-69a0-4425-82f3-4d1b0e9151fd
Content-Length: 123
X-Content-Type-Options: nosniff

Status

200 OK

Body

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