Retrieve a Particular App Usage Event
GET /v2/app_usage_events/:guid
Request
Route
GET /v2/app_usage_events/585dc905-2ba7-4d0e-9e84-b791a19e5c12
Headers
cURL
curl "https://api.[your-domain.com]/v2/app_usage_events/585dc905-2ba7-4d0e-9e84-b791a19e5c12" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5MiIsImVtYWlsIjoiZW1haWwtMTI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDR9.j6RzDRJ_RbAErpI5M1pIdhXdhanzxikILmH8yAppRWE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "585dc905-2ba7-4d0e-9e84-b791a19e5c12",
"url": "/v2/app_usage_events/585dc905-2ba7-4d0e-9e84-b791a19e5c12",
"created_at": "2015-10-13T17:31:44Z"
},
"entity": {
"state": "STARTED",
"memory_in_mb_per_instance": 564,
"instance_count": 1,
"app_guid": "guid-0053cfed-2d4e-4cfb-9aca-eb16370c6055",
"app_name": "name-472",
"space_guid": "guid-15ac4bec-9dad-4528-828e-3f9f2d6f810a",
"space_name": "name-473",
"org_guid": "guid-57e39a2e-45de-478d-8019-0792353b3d21",
"buildpack_guid": "guid-d0d4f690-21b4-4b09-be56-de676c920ea0",
"buildpack_name": "name-474",
"package_state": "STAGED",
"parent_app_guid": null,
"parent_app_name": null,
"process_type": "web"
}
}
Headers