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/fc86d90e-ad6b-48a9-a43d-6b47d0a6bc82

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTR9.2qABCzJEFA4KaITC4OJ7IeTGQE52ZqyRMIJvo4joMR8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/fc86d90e-ad6b-48a9-a43d-6b47d0a6bc82" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzMyIsImVtYWlsIjoiZW1haWwtMzA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTR9.2qABCzJEFA4KaITC4OJ7IeTGQE52ZqyRMIJvo4joMR8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fc86d90e-ad6b-48a9-a43d-6b47d0a6bc82",
    "url": "/v2/app_usage_events/fc86d90e-ad6b-48a9-a43d-6b47d0a6bc82",
    "created_at": "2016-01-13T17:29:54Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-f6eeb634-491c-4f47-acf0-1ec4c2ce4f51",
    "app_name": "name-2209",
    "space_guid": "guid-0fc8dd04-5eca-4f19-8b3c-8de1fa66d3bb",
    "space_name": "name-2210",
    "org_guid": "guid-a2240fe1-9222-4e84-a63e-e77f2075bf5a",
    "buildpack_guid": "guid-40334db3-3c71-4e68-a5a4-b2565a8f3098",
    "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: 
Content-Length: 756
X-Content-Type-Options: nosniff