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/b2028833-d875-4749-9b53-e5ebb7d414f0

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk2IiwiZW1haWwiOiJlbWFpbC05NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU2NDUyMjI5fQ.NUK8mgHa-y_TIYoNiqK3hRvaxB9j9ej17rkprvhgkRs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b2028833-d875-4749-9b53-e5ebb7d414f0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk2IiwiZW1haWwiOiJlbWFpbC05NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU2NDUyMjI5fQ.NUK8mgHa-y_TIYoNiqK3hRvaxB9j9ej17rkprvhgkRs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b2028833-d875-4749-9b53-e5ebb7d414f0",
    "url": "/v2/app_usage_events/b2028833-d875-4749-9b53-e5ebb7d414f0",
    "created_at": "2016-02-19T02:03:49Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-a49fcbe7-f0a6-44c8-8ff3-61a85cec050c",
    "app_name": "name-631",
    "space_guid": "guid-21e465bc-4961-4ee0-88d8-e1a4cd38fa9a",
    "space_name": "name-632",
    "org_guid": "guid-fd79efbb-d6fe-4ba8-b2f1-0e328049ea43",
    "buildpack_guid": "guid-23f5d0bb-73d7-47db-80fb-dbd956bfda4a",
    "buildpack_name": "name-633",
    "package_state": "STAGED",
    "parent_app_guid": null,
    "parent_app_name": null,
    "process_type": "web",
    "task_name": null,
    "task_guid": null
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 799
X-Content-Type-Options: nosniff