Retrieve a Particular App Usage Event
GET /v2/app_usage_events/:guid
Request
Route
GET /v2/app_usage_events/b7680d03-13b8-4856-ab52-3923d06e163b
Headers
cURL
curl "https://api.[your-domain.com]/v2/app_usage_events/b7680d03-13b8-4856-ab52-3923d06e163b" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NiIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0Mzh9.b7I0I_R1J2poRTqZPsEUE-MGbjr9lSXv-i8mdYsrINs" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "b7680d03-13b8-4856-ab52-3923d06e163b",
"url": "/v2/app_usage_events/b7680d03-13b8-4856-ab52-3923d06e163b",
"created_at": "2016-03-14T22:30:38Z"
},
"entity": {
"state": "STARTED",
"memory_in_mb_per_instance": 564,
"instance_count": 1,
"app_guid": "guid-7c8f6173-064b-4591-a832-9e709a92021e",
"app_name": "name-1771",
"space_guid": "guid-4f8604fa-5fed-4d02-9070-0162cb7a23d3",
"space_name": "name-1772",
"org_guid": "guid-5a936db1-4be4-4c99-93a5-4dab4d561d71",
"buildpack_guid": "guid-8149f8f1-d55e-42a2-9458-c1762307286b",
"buildpack_name": "name-1773",
"package_state": "STAGED",
"parent_app_guid": null,
"parent_app_name": null,
"process_type": "web",
"task_name": null,
"task_guid": null
}
}
Headers