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/b09e6b18-74c7-4345-bbe7-1bec32ea3864

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0zN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgwfQ.Mj0SD_3qXfFwlUTxmAECzgtX5k1ZtW7y84cyspPJ5t0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b09e6b18-74c7-4345-bbe7-1bec32ea3864" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3IiwiZW1haWwiOiJlbWFpbC0zN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTgwfQ.Mj0SD_3qXfFwlUTxmAECzgtX5k1ZtW7y84cyspPJ5t0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b09e6b18-74c7-4345-bbe7-1bec32ea3864",
    "url": "/v2/app_usage_events/b09e6b18-74c7-4345-bbe7-1bec32ea3864",
    "created_at": "2015-05-21T01:03:00Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-85f8b592-a187-4fa9-8a6f-5b67b08b5f03",
    "app_name": "name-182",
    "space_guid": "guid-df08bc39-1870-42cc-a1e5-55d3b0204bae",
    "space_name": "name-183",
    "org_guid": "guid-1b4641e9-bf8f-4bf8-b566-5863b00f8873",
    "buildpack_guid": "guid-b39e6616-6082-4192-9860-b3a7e5366b7f",
    "buildpack_name": "name-184",
    "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: 224f958c-d24a-4796-a839-ce49fe608342
Content-Length: 753
X-Content-Type-Options: nosniff