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/1eda0f07-4367-48af-8142-65082377c381

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0MCIsImVtYWlsIjoiZW1haWwtMzA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTJ9.NfTV94NOOZizvfgrw9N7hPtYN6nXWA6kwxlB78WWC4s
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/1eda0f07-4367-48af-8142-65082377c381" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0MCIsImVtYWlsIjoiZW1haWwtMzA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTJ9.NfTV94NOOZizvfgrw9N7hPtYN6nXWA6kwxlB78WWC4s" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "1eda0f07-4367-48af-8142-65082377c381",
    "url": "/v2/app_usage_events/1eda0f07-4367-48af-8142-65082377c381",
    "created_at": "2015-09-11T18:39:12Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-70d43705-4f24-4d78-af84-3f7ba8b5c12a",
    "app_name": "name-2373",
    "space_guid": "guid-1ba29f51-69ea-4b2b-a799-64ba4084cbc6",
    "space_name": "name-2374",
    "org_guid": "guid-eb3d623f-c5b9-420e-bded-9a23cdc2cc13",
    "buildpack_guid": "guid-0caf889d-a150-4071-ba0d-cd66428b55fc",
    "buildpack_name": "name-2375",
    "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: c6b10143-bf49-4969-9253-5393336deac1
Content-Length: 756
X-Content-Type-Options: nosniff