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/2f63ee71-0e11-46c3-9580-0a6b6bcd28b3

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.F-DHry4nGNPs4FH4KWs0X6fslkobcE_tp3zGqw5bGa8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/2f63ee71-0e11-46c3-9580-0a6b6bcd28b3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MSIsImVtYWlsIjoiZW1haWwtMTkwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTZ9.F-DHry4nGNPs4FH4KWs0X6fslkobcE_tp3zGqw5bGa8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2f63ee71-0e11-46c3-9580-0a6b6bcd28b3",
    "url": "/v2/app_usage_events/2f63ee71-0e11-46c3-9580-0a6b6bcd28b3",
    "created_at": "2015-06-16T23:40:56Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-7e00bb9c-2ac3-4c7b-9c99-dc150fb4f5fa",
    "app_name": "name-932",
    "space_guid": "guid-2a7aaf36-2fac-467d-b0b9-b9a5de90aa35",
    "space_name": "name-933",
    "org_guid": "guid-4d20773b-fbdd-4ac9-8a9b-ba16a3736344",
    "buildpack_guid": "guid-faf29a5c-2cfb-43b2-a865-704f35f08f12",
    "buildpack_name": "name-934",
    "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: b3a266ac-4798-40b5-9a22-d3b1f0e163b5
Content-Length: 753
X-Content-Type-Options: nosniff