Home
Version 3
App Usage Events API

App Usage Events API

Retrieve a Particular App Usage Event

GET /v2/app_usage_events/:guid

Request

Route

GET /v2/app_usage_events/ff9d12e7-ded2-43ae-b108-2cc7fcf573cb

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MTl9.-cB-2ACK3EbzIA9X77lmcEPllm127JhE36NOmbEj5Mo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/ff9d12e7-ded2-43ae-b108-2cc7fcf573cb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQ4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MTl9.-cB-2ACK3EbzIA9X77lmcEPllm127JhE36NOmbEj5Mo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ff9d12e7-ded2-43ae-b108-2cc7fcf573cb",
    "url": "/v2/app_usage_events/ff9d12e7-ded2-43ae-b108-2cc7fcf573cb",
    "created_at": "2015-03-10T23:11:59Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-5305a6eb-ae43-4239-b539-ae9c79960320",
    "app_name": "name-1945",
    "space_guid": "guid-825b27e2-c2c9-4937-b734-f7c55728ec37",
    "space_name": "name-1946",
    "org_guid": "guid-fc690d15-96c7-4576-887b-b696874abf6d",
    "buildpack_guid": "guid-5ffa2de0-46d6-4e94-a0b6-580622de3310",
    "buildpack_name": "name-1947",
    "package_state": "STAGED"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f859a495-9b82-454e-9900-e6d26a18fd99
Content-Length: 671
X-Content-Type-Options: nosniff