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/65a1531e-b987-464b-80be-ccb0f8bb1904

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.IfTnvP3XkjvBdCz5Q_zvc2koeAOFz8Lug4dy0YeiIIQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/65a1531e-b987-464b-80be-ccb0f8bb1904" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2OTF9.IfTnvP3XkjvBdCz5Q_zvc2koeAOFz8Lug4dy0YeiIIQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "65a1531e-b987-464b-80be-ccb0f8bb1904",
    "url": "/v2/app_usage_events/65a1531e-b987-464b-80be-ccb0f8bb1904",
    "created_at": "2015-12-22T18:28:11Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-6608cd2b-b228-41ff-add7-fb99067cdc08",
    "app_name": "name-999",
    "space_guid": "guid-4be9836e-a465-423d-a9ee-cc989e944b6b",
    "space_name": "name-1000",
    "org_guid": "guid-5d6ad0e1-0c93-4bb5-8416-26c9f9052f09",
    "buildpack_guid": "guid-829a096f-969e-4d21-85c1-5bb539c555c1",
    "buildpack_name": "name-1001",
    "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: 
Content-Length: 755
X-Content-Type-Options: nosniff