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/15b24ae8-cf14-480b-b820-f4c597c41a3a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzODM3MjU4fQ.4LlnX1FZWH9A7zfuncinU1Dnh6vOwEDJmjF1r8hg6lA
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/15b24ae8-cf14-480b-b820-f4c597c41a3a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzODM3MjU4fQ.4LlnX1FZWH9A7zfuncinU1Dnh6vOwEDJmjF1r8hg6lA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "15b24ae8-cf14-480b-b820-f4c597c41a3a",
    "url": "/v2/app_usage_events/15b24ae8-cf14-480b-b820-f4c597c41a3a",
    "created_at": "2016-01-19T19:40:58Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-01c2cfb6-5829-4e18-aa9c-7941a4c9c26f",
    "app_name": "name-268",
    "space_guid": "guid-5496671b-c6c7-42f3-9b9f-06887cede9ac",
    "space_name": "name-269",
    "org_guid": "guid-d869e827-aac0-40a2-b8ea-413702ffe2db",
    "buildpack_guid": "guid-0270f8a8-7535-4c9e-9533-7928b468c42a",
    "buildpack_name": "name-270",
    "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: 
Content-Length: 753
X-Content-Type-Options: nosniff