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/03953367-b5d1-448d-80cf-4e4f9f12c948

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk3fQ.D5iVxYwKSHL5W8KMv-qEP37QExUqaB5pPb-uQwo6U_0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/03953367-b5d1-448d-80cf-4e4f9f12c948" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yN0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk3fQ.D5iVxYwKSHL5W8KMv-qEP37QExUqaB5pPb-uQwo6U_0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "03953367-b5d1-448d-80cf-4e4f9f12c948",
    "url": "/v2/app_usage_events/03953367-b5d1-448d-80cf-4e4f9f12c948",
    "created_at": "2015-04-07T19:11:37Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-d2cf430b-2f80-4185-9665-8b43d93cc502",
    "app_name": "name-89",
    "space_guid": "guid-f656844e-45ed-4dd7-bcd7-d60e8e3f1f87",
    "space_name": "name-90",
    "org_guid": "guid-72d2c453-ea02-446d-b11c-423a857bcba4",
    "buildpack_guid": "guid-bbc9701e-dbfd-4ec0-867d-a4bc2957d130",
    "buildpack_name": "name-91",
    "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: 702c2429-abe2-4caa-bffb-c43561a259eb
Content-Length: 750
X-Content-Type-Options: nosniff