Retrieve a Particular App Usage Event
GET /v2/app_usage_events/:guid
Request
Route
GET /v2/app_usage_events/f237fd4d-3a07-4840-b4fb-369d100499e2
Headers
cURL
curl "https://api.[your-domain.com]/v2/app_usage_events/f237fd4d-3a07-4840-b4fb-369d100499e2" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYwNTA2NjM1fQ.Y1TsygRR_qJw11_CTRPx6-EYiCw82h_Ioy_CFHq6SDg" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f237fd4d-3a07-4840-b4fb-369d100499e2",
"url": "/v2/app_usage_events/f237fd4d-3a07-4840-b4fb-369d100499e2",
"created_at": "2016-04-06T00:17:15Z"
},
"entity": {
"state": "STARTED",
"previous_state": null,
"memory_in_mb_per_instance": 564,
"previous_memory_in_mb_per_instance": null,
"instance_count": 1,
"previous_instance_count": null,
"app_guid": "guid-1f75cdff-4d92-4666-ba22-fd2a06a62890",
"app_name": "name-59",
"space_guid": "guid-54840c59-65f1-44cc-a08d-901481431631",
"space_name": "name-60",
"org_guid": "guid-985b80c2-464c-4879-8459-aa5bb12a74a3",
"buildpack_guid": "guid-03785846-589e-4935-9c10-7764c54a908b",
"buildpack_name": "name-61",
"package_state": "STAGED",
"previous_package_state": null,
"parent_app_guid": null,
"parent_app_name": null,
"process_type": "web",
"task_name": null,
"task_guid": null
}
}
Headers