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/5c29409f-54fb-451f-a353-148e09b616df

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIyfQ.euT41CnHGjWA593_AABCoxaLdvPWW_ZOPxM1BhAoUYQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/5c29409f-54fb-451f-a353-148e09b616df" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgwIiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ0NzgyOTIyfQ.euT41CnHGjWA593_AABCoxaLdvPWW_ZOPxM1BhAoUYQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5c29409f-54fb-451f-a353-148e09b616df",
    "url": "/v2/app_usage_events/5c29409f-54fb-451f-a353-148e09b616df",
    "created_at": "2015-10-07T00:35:22Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-5142316d-a685-4bfc-a245-e9bb8c20b4b0",
    "app_name": "name-182",
    "space_guid": "guid-9d09281b-63b7-4ee7-8434-bc407b8c502f",
    "space_name": "name-183",
    "org_guid": "guid-86e27a89-88ca-4641-b69d-543f257decfb",
    "buildpack_guid": "guid-72e226fd-4a7c-407e-80a9-a600f3e95c99",
    "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: b56e9c06-b2d9-439e-93f1-fbbe0f008664
Content-Length: 753
X-Content-Type-Options: nosniff