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/b392a0d1-2738-480d-93c3-dede088c76e1

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NiIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDZ9.Yf041IcPCxjgqkg3U_EWrsYGj31HNuD5Szgb_cugLG8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b392a0d1-2738-480d-93c3-dede088c76e1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NiIsImVtYWlsIjoiZW1haWwtMTc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDZ9.Yf041IcPCxjgqkg3U_EWrsYGj31HNuD5Szgb_cugLG8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b392a0d1-2738-480d-93c3-dede088c76e1",
    "url": "/v2/app_usage_events/b392a0d1-2738-480d-93c3-dede088c76e1",
    "created_at": "2015-04-15T00:55:46Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-ebb5c766-0b55-4224-9f20-e3bfb62e8356",
    "app_name": "name-1769",
    "space_guid": "guid-4261a4cd-e82d-4bea-8bfc-b895d3e98e3f",
    "space_name": "name-1770",
    "org_guid": "guid-7dcccb84-e704-44ca-9b2b-579504606a78",
    "buildpack_guid": "guid-57007c29-c95b-4b77-ab1c-27cd44e17409",
    "buildpack_name": "name-1771",
    "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: d4c11dc1-57d8-4c29-945d-fa26430a48dc
Content-Length: 756
X-Content-Type-Options: nosniff