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/85c8b8af-7047-4653-855c-dce03f1e1c03

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTJ9.3Nqlk-KSy3GzDf1gl1fyzCYWlFA5ciJJRd3ZuTYlN04
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/85c8b8af-7047-4653-855c-dce03f1e1c03" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTJ9.3Nqlk-KSy3GzDf1gl1fyzCYWlFA5ciJJRd3ZuTYlN04" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "85c8b8af-7047-4653-855c-dce03f1e1c03",
    "url": "/v2/app_usage_events/85c8b8af-7047-4653-855c-dce03f1e1c03",
    "created_at": "2015-05-15T16:53:32Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-04829f1f-2ccf-482d-9e14-77268496561d",
    "app_name": "name-659",
    "space_guid": "guid-a05ece65-060a-436a-9c80-d64855225b8a",
    "space_name": "name-660",
    "org_guid": "guid-2be060c9-b490-41cb-abe0-448051a9ecfc",
    "buildpack_guid": "guid-b3db6b2d-9caf-4d86-950c-e4bd6fe7b83f",
    "buildpack_name": "name-661",
    "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: 2bc742e7-a7b7-4041-bcef-0bfe5b6be849
Content-Length: 753
X-Content-Type-Options: nosniff