Home
Version 3
App Usage Events API

App Usage Events API

Retrieve a Particular App Usage Event

GET /v2/app_usage_events/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the App Usage Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.jDDNaxfX7sh_HvFwfs42RXIpmH8R7NfJY1uuLEt36Vo
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/dd6bf64e-45dc-45ac-b625-bfc327905dcd

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/dd6bf64e-45dc-45ac-b625-bfc327905dcd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzl9.jDDNaxfX7sh_HvFwfs42RXIpmH8R7NfJY1uuLEt36Vo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d5ae993e-8911-4a7f-ad2f-bdbe74474c78
Content-Length: 671
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "dd6bf64e-45dc-45ac-b625-bfc327905dcd",
    "url": "/v2/app_usage_events/dd6bf64e-45dc-45ac-b625-bfc327905dcd",
    "created_at": "2015-02-10T01:42:59Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-258dfa29-41f8-4a47-a3cb-ee3c7d4a19f1",
    "app_name": "name-1978",
    "space_guid": "guid-a553116d-855a-4955-a62f-4625accbc3af",
    "space_name": "name-1979",
    "org_guid": "guid-86fe581e-f5f1-418a-b93f-c814051b7ba6",
    "buildpack_guid": "guid-8dede86d-d4fe-490d-b3e7-e4132dd0a55b",
    "buildpack_name": "name-1980",
    "package_state": "STAGED"
  }
}