Retrieve a Particular App Usage Event
GET /v2/app_usage_events/:guid
Request
Route
GET /v2/app_usage_events/f1eb50a4-f83a-4b0c-88c7-e5d5803b4301
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the App Usage Event
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/app_usage_events/f1eb50a4-f83a-4b0c-88c7-e5d5803b4301" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2ODB9.g4PkiXl6JeYSQaHPRdk7iws-b06xS_W81dGhY0Ukx00" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f1eb50a4-f83a-4b0c-88c7-e5d5803b4301",
"url": "/v2/app_usage_events/f1eb50a4-f83a-4b0c-88c7-e5d5803b4301",
"created_at": "2015-03-03T00:51:20Z"
},
"entity": {
"state": "STARTED",
"memory_in_mb_per_instance": 564,
"instance_count": 1,
"app_guid": "guid-bfc1f9b7-8a52-4a28-93da-ad7369e96b9a",
"app_name": "name-2075",
"space_guid": "guid-ebd5a150-9bb5-4272-8a04-71d7ef96e01a",
"space_name": "name-2076",
"org_guid": "guid-8a6f933c-49a1-446f-8a2d-eb1668366af3",
"buildpack_guid": "guid-c9577309-7373-4834-aca5-71ab020e00fb",
"buildpack_name": "name-2077",
"package_state": "STAGED"
}
}
Headers