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.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4NH0.a-gfJ9VBeP8TfIcDbriPxnpr7_Kpc6WEzDvusemASzI
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/b6593aff-596f-4fae-aed4-8523d9d6c6d3

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b6593aff-596f-4fae-aed4-8523d9d6c6d3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY4NH0.a-gfJ9VBeP8TfIcDbriPxnpr7_Kpc6WEzDvusemASzI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e14f6193-df67-4848-87be-7e5095548d89
Content-Length: 662
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "b6593aff-596f-4fae-aed4-8523d9d6c6d3",
    "url": "/v2/app_usage_events/b6593aff-596f-4fae-aed4-8523d9d6c6d3",
    "created_at": "2015-02-13T22:34:44Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-6c0f9bd1-6966-44d7-8e1b-a8926604acee",
    "app_name": "name-1",
    "space_guid": "guid-9cc7cad1-e56f-4a76-9dc3-2465e0012632",
    "space_name": "name-2",
    "org_guid": "guid-732d5db5-5de0-4e01-987f-b0859556efe2",
    "buildpack_guid": "guid-29d46ccc-e399-45c5-acc9-c38823eb7310",
    "buildpack_name": "name-3",
    "package_state": "STAGED"
  }
}