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/bc7ada15-b71c-4109-b9f7-744cd3c7bbe5

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjV9.8b1fmGzZA619GF0a7PrIehsJm29akqvI5w-yatCXaDY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/bc7ada15-b71c-4109-b9f7-744cd3c7bbe5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMSIsImVtYWlsIjoiZW1haWwtMjMzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NjV9.8b1fmGzZA619GF0a7PrIehsJm29akqvI5w-yatCXaDY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "bc7ada15-b71c-4109-b9f7-744cd3c7bbe5",
    "url": "/v2/app_usage_events/bc7ada15-b71c-4109-b9f7-744cd3c7bbe5",
    "created_at": "2015-03-20T18:27:45Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-7b892aca-4355-4c7e-add0-27cd102ed408",
    "app_name": "name-1790",
    "space_guid": "guid-1e27d1c3-7ab7-4328-a445-a198675a7445",
    "space_name": "name-1791",
    "org_guid": "guid-9d63dd81-a3fd-4909-973a-db92590a1972",
    "buildpack_guid": "guid-5e503e3c-b92c-470b-bafc-644de6bf95dd",
    "buildpack_name": "name-1792",
    "package_state": "STAGED"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fd5f0aec-e691-4462-85dc-45694a699c2e
Content-Length: 671
X-Content-Type-Options: nosniff