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/1992b1cc-cae9-407b-8874-88a6373dc82f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODZ9.ppkuJTYsyMUTqoXo1obuuryD8Jd5OWpSGrhlO4kudvg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/1992b1cc-cae9-407b-8874-88a6373dc82f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODZ9.ppkuJTYsyMUTqoXo1obuuryD8Jd5OWpSGrhlO4kudvg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "1992b1cc-cae9-407b-8874-88a6373dc82f",
    "url": "/v2/app_usage_events/1992b1cc-cae9-407b-8874-88a6373dc82f",
    "created_at": "2015-07-06T23:23:06Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-0748e8d9-05ef-43fc-8052-d5e7b3f64ac0",
    "app_name": "name-1447",
    "space_guid": "guid-e92fc16e-e13e-4609-83f6-50f846d2199a",
    "space_name": "name-1448",
    "org_guid": "guid-15025795-fb70-4040-9d8c-ae7adff45b3f",
    "buildpack_guid": "guid-a8cf75cc-6860-460c-a1b3-4268ba9d4623",
    "buildpack_name": "name-1449",
    "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: b9c09608-fa75-4855-8a1d-6267ccf63d48
Content-Length: 756
X-Content-Type-Options: nosniff