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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDB9.8OTJnUIoK-A3K_a322YoruYNCNKV6hk_28u2jKinfmU
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/e4341e83-48a8-401a-9a1b-9b37991f3c2d

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/e4341e83-48a8-401a-9a1b-9b37991f3c2d" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NiIsImVtYWlsIjoiZW1haWwtMjM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxNDB9.8OTJnUIoK-A3K_a322YoruYNCNKV6hk_28u2jKinfmU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4105efda-b803-403e-9852-664ea2d4f917
Content-Length: 671
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "e4341e83-48a8-401a-9a1b-9b37991f3c2d",
    "url": "/v2/app_usage_events/e4341e83-48a8-401a-9a1b-9b37991f3c2d",
    "created_at": "2015-02-12T01:42:20Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-aa3d66c1-ab5f-4b44-9b4d-c66a94932bf1",
    "app_name": "name-1898",
    "space_guid": "guid-304b28d0-1cf8-4fc2-8da5-416f6964a488",
    "space_name": "name-1899",
    "org_guid": "guid-9933802f-b2ef-4c0b-80b0-2a8c39e43733",
    "buildpack_guid": "guid-7964df12-3e6b-4e7a-8a04-f13ee3078fc1",
    "buildpack_name": "name-1900",
    "package_state": "STAGED"
  }
}