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/14fa4fab-7691-4ce9-b00e-836d107d4c34

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDd9.TmPESUokANr5Hbiq5VQ4Xr7Vivqwx7UmKeVNKOYv5DQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/14fa4fab-7691-4ce9-b00e-836d107d4c34" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NDd9.TmPESUokANr5Hbiq5VQ4Xr7Vivqwx7UmKeVNKOYv5DQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "14fa4fab-7691-4ce9-b00e-836d107d4c34",
    "url": "/v2/app_usage_events/14fa4fab-7691-4ce9-b00e-836d107d4c34",
    "created_at": "2015-11-03T00:54:07Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-71131e0c-c27d-45ab-b3d3-c16f34482e83",
    "app_name": "name-1210",
    "space_guid": "guid-9c55b16f-704c-4f92-95e0-11830cc8cdf1",
    "space_name": "name-1211",
    "org_guid": "guid-c12a53f4-6416-4a5c-b86f-ae55090616c3",
    "buildpack_guid": "guid-4f70432b-a2cc-4612-bbe6-226baf16ecc6",
    "buildpack_name": "name-1212",
    "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: 9b2ff996-e205-4821-a0bb-06f044cb74fb
Content-Length: 756
X-Content-Type-Options: nosniff