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/b1b13c09-189c-4e80-9ca4-e8f5b2b4d923

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9._cgTvDTQDAKFs8NcQzKlZTAWsO4lSseFlF5guYhJVHg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b1b13c09-189c-4e80-9ca4-e8f5b2b4d923" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzOCIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NjR9._cgTvDTQDAKFs8NcQzKlZTAWsO4lSseFlF5guYhJVHg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b1b13c09-189c-4e80-9ca4-e8f5b2b4d923",
    "url": "/v2/app_usage_events/b1b13c09-189c-4e80-9ca4-e8f5b2b4d923",
    "created_at": "2015-10-15T23:52:44Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-178f57d4-2d75-44a5-894b-1d30eebe2b30",
    "app_name": "name-2209",
    "space_guid": "guid-ccfe57d1-2b62-462f-aa85-aa41223cb891",
    "space_name": "name-2210",
    "org_guid": "guid-a66498cb-0e17-4e71-ad5f-dbe9dc1d26c9",
    "buildpack_guid": "guid-04ccb463-00d2-4235-a423-83b92ac8d5b2",
    "buildpack_name": "name-2211",
    "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: e04b267f-f074-4085-85c7-6747dc4bf023
Content-Length: 756
X-Content-Type-Options: nosniff