Retrieve a Particular App Usage Event
GET /v2/app_usage_events/:guid
Request
Route
GET /v2/app_usage_events/1945d1f0-8bd4-4421-8a02-92e47dbdecae
Headers
cURL
curl "https://api.[your-domain.com]/v2/app_usage_events/1945d1f0-8bd4-4421-8a02-92e47dbdecae" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MCIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDh9.mhrt6mg-malkP0ZjCKxDxOD_ibqsE-hAMRADdrH963Y" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "1945d1f0-8bd4-4421-8a02-92e47dbdecae",
"url": "/v2/app_usage_events/1945d1f0-8bd4-4421-8a02-92e47dbdecae",
"created_at": "2015-09-30T23:30:48Z"
},
"entity": {
"state": "STARTED",
"memory_in_mb_per_instance": 564,
"instance_count": 1,
"app_guid": "guid-d902acd1-b14f-408f-a0af-33fb1ba31574",
"app_name": "name-1597",
"space_guid": "guid-12ab3749-ac6e-4bed-926b-0a6df2d0868d",
"space_name": "name-1598",
"org_guid": "guid-6622816b-6040-4cc3-be38-6cee931e31a5",
"buildpack_guid": "guid-888f7c7a-167c-4ce0-8e2f-ac769f66fc03",
"buildpack_name": "name-1599",
"package_state": "STAGED",
"parent_app_guid": null,
"parent_app_name": null,
"process_type": "web"
}
}
Headers