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/ee6dd784-9978-4118-b0ad-3a33d9ba26c1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NSIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5NH0.8--gXwXatvy_uWjLn1DH5JCPIHbcEVa7qdeZ4Mmndr4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/ee6dd784-9978-4118-b0ad-3a33d9ba26c1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NSIsImVtYWlsIjoiZW1haWwtOTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5NH0.8--gXwXatvy_uWjLn1DH5JCPIHbcEVa7qdeZ4Mmndr4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ee6dd784-9978-4118-b0ad-3a33d9ba26c1",
    "url": "/v2/app_usage_events/ee6dd784-9978-4118-b0ad-3a33d9ba26c1",
    "created_at": "2015-07-27T22:43:14Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-edff09ae-8926-4e69-8670-ed3dfb60a4f9",
    "app_name": "name-348",
    "space_guid": "guid-c560fdb4-46de-44f7-ab14-9b74384ca21f",
    "space_name": "name-349",
    "org_guid": "guid-9f211bea-7ed9-4f55-9856-e056e8f0369c",
    "buildpack_guid": "guid-c1fddbf7-feb4-401a-ac86-9c2d5c3f894e",
    "buildpack_name": "name-350",
    "package_state": "STAGED",
    "parent_app_guid": null,
    "parent_app_name": null,
    "process_type": "web"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 998a8918-2c5d-425e-9861-3ab0a3b988c9
Content-Length: 753
X-Content-Type-Options: nosniff