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/42590223-5bcd-416b-9836-87ef40161bec

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMSIsImVtYWlsIjoiZW1haWwtMjkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTh9.LpJrakGEd3j6irtxTJlF-1emIoYGiB92iyxrulPq89w
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/42590223-5bcd-416b-9836-87ef40161bec" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwMSIsImVtYWlsIjoiZW1haWwtMjkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTh9.LpJrakGEd3j6irtxTJlF-1emIoYGiB92iyxrulPq89w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "42590223-5bcd-416b-9836-87ef40161bec",
    "url": "/v2/app_usage_events/42590223-5bcd-416b-9836-87ef40161bec",
    "created_at": "2015-08-31T21:50:18Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-8bc3d405-9580-46ba-87a2-6752a3a77230",
    "app_name": "name-2378",
    "space_guid": "guid-63ff4544-b572-4ff4-9fbb-f2c2a1c23655",
    "space_name": "name-2379",
    "org_guid": "guid-bea1de3f-955f-42b4-9d64-27e316575635",
    "buildpack_guid": "guid-73476707-5b7b-4d03-ae09-e99c8b4c1547",
    "buildpack_name": "name-2380",
    "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: 589a17a1-d6e8-47bd-80e8-f5f5fc14acf5
Content-Length: 756
X-Content-Type-Options: nosniff