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/c01a8de9-3b7c-4832-8a12-b927ebb91afd

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.XT9PvhhhXbF4uiDN3iXuUXb_-UOkOfOCQQWE0KKPj_Y
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/c01a8de9-3b7c-4832-8a12-b927ebb91afd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDV9.XT9PvhhhXbF4uiDN3iXuUXb_-UOkOfOCQQWE0KKPj_Y" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c01a8de9-3b7c-4832-8a12-b927ebb91afd",
    "url": "/v2/app_usage_events/c01a8de9-3b7c-4832-8a12-b927ebb91afd",
    "created_at": "2015-05-07T23:37:25Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-9e7a871a-90ea-4fca-9947-36979b6fa42f",
    "app_name": "name-2000",
    "space_guid": "guid-b13a4ff1-e924-4be1-8fc3-2076b3155ebb",
    "space_name": "name-2001",
    "org_guid": "guid-957525f1-d3b4-488e-b7e6-b4c05b60db1e",
    "buildpack_guid": "guid-a05900f3-05c6-4c51-a04c-f39c7b5cdfc7",
    "buildpack_name": "name-2002",
    "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: 6640e6ce-ce7c-470c-b472-6219f857fc84
Content-Length: 756
X-Content-Type-Options: nosniff