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/506a4568-9bfc-44a2-bb50-84322ad703f1

Parameters

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

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NCIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDV9.o5uYVNeETCfrcMbWZ_NZ__tl_PBhXWZAV95mNi77HJY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/506a4568-9bfc-44a2-bb50-84322ad703f1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NCIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDV9.o5uYVNeETCfrcMbWZ_NZ__tl_PBhXWZAV95mNi77HJY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "506a4568-9bfc-44a2-bb50-84322ad703f1",
    "url": "/v2/app_usage_events/506a4568-9bfc-44a2-bb50-84322ad703f1",
    "created_at": "2015-03-05T19:15:45Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-b3bd9e82-1c02-4fa6-b738-1c4224a01cb8",
    "app_name": "name-525",
    "space_guid": "guid-27910151-8008-457f-9e2d-28ef60960903",
    "space_name": "name-526",
    "org_guid": "guid-28076abe-6e64-4675-8fcd-679f4aa6ecbe",
    "buildpack_guid": "guid-bf74e822-c0fa-40f8-929c-9a72fa2e2e52",
    "buildpack_name": "name-527",
    "package_state": "STAGED"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ca956aa3-6661-4883-bb63-5857b29b1c7a
Content-Length: 668
X-Content-Type-Options: nosniff