Home
Version 3
App Usage Events API

App Usage Events API

Retrieve a Particular App Usage Event

GET /v2/app_usage_events/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the App Usage Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzJ9.XRCvKu_k4iv6vh8PmW4ZkDjPJzdXthooxaY_F0UIe3c
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/870f9058-39af-4fee-b270-4198ed44c20a

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/870f9058-39af-4fee-b270-4198ed44c20a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MyIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzJ9.XRCvKu_k4iv6vh8PmW4ZkDjPJzdXthooxaY_F0UIe3c" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0752119d-901d-432d-b729-db909b900aed
Content-Length: 676
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "870f9058-39af-4fee-b270-4198ed44c20a",
    "url": "/v2/app_usage_events/870f9058-39af-4fee-b270-4198ed44c20a",
    "created_at": "2014-12-24T01:39:32+00:00"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-16f253b4-4613-492b-9a31-0926547708ea",
    "app_name": "name-1436",
    "space_guid": "guid-bed47e6d-fbaf-468d-b1c2-a2d8eb43281f",
    "space_name": "name-1437",
    "org_guid": "guid-afa1fd1a-66b5-482f-bc28-10ac87cc48ea",
    "buildpack_guid": "guid-0b449fd9-2dd3-470d-a40b-c6567c896f07",
    "buildpack_name": "name-1438",
    "package_state": "STAGED"
  }
}