Get status for each instance of an App using the app guid.
GET /v2/apps/376ae002-5832-452b-ab24-c38417a5235c/instances
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the App |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMCIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzB9.H_WnB-oB7h-P4ikpQwEv9HyPYRSGcydvNr7-ETzi7e0 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/apps/376ae002-5832-452b-ab24-c38417a5235c/instances" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMCIsImVtYWlsIjoiZW1haWwtMjY5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NzB9.H_WnB-oB7h-P4ikpQwEv9HyPYRSGcydvNr7-ETzi7e0" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "0": { "state": "RUNNING", "since": 1403140717.984577, "debug_ip": null, "debug_port": null, "console_ip": null, "console_port": null } }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 123 X-Content-Type-Options: nosniff