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/c27ebe43-4c3b-48cf-9668-41f71d018041

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NTd9.TN96pzsssPs8R28SqS6jsFh0DsCwEcEy9GIHo-Va-ZM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/c27ebe43-4c3b-48cf-9668-41f71d018041" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NTd9.TN96pzsssPs8R28SqS6jsFh0DsCwEcEy9GIHo-Va-ZM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c27ebe43-4c3b-48cf-9668-41f71d018041",
    "url": "/v2/app_usage_events/c27ebe43-4c3b-48cf-9668-41f71d018041",
    "created_at": "2015-11-13T17:02:37Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-57bb4d47-a188-4863-b71e-26cc857c12b4",
    "app_name": "name-1368",
    "space_guid": "guid-70da9692-67e1-4b6d-9d37-b60b28f8a969",
    "space_name": "name-1369",
    "org_guid": "guid-540ed1ca-25e3-45d5-93a6-db0f8aeeacea",
    "buildpack_guid": "guid-d6a39adf-3352-4614-a55b-4edf59140820",
    "buildpack_name": "name-1370",
    "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: 756
X-Content-Type-Options: nosniff