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.eyJ1c2VyX2lkIjoidWFhLWlkLTYxIiwiZW1haWwiOiJlbWFpbC01NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU0fQ.ldQ-ZlmkxctKTpEtBgmh7RumcFFa7kljYGGWFFZ4AEk
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/379c4f76-e7f5-4c67-bfca-d65bc0a97910

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/379c4f76-e7f5-4c67-bfca-d65bc0a97910" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYxIiwiZW1haWwiOiJlbWFpbC01NEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU0fQ.ldQ-ZlmkxctKTpEtBgmh7RumcFFa7kljYGGWFFZ4AEk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0669af06-109f-4cf3-be16-027a3119b0a8
Content-Length: 642
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "379c4f76-e7f5-4c67-bfca-d65bc0a97910",
    "url": "/v2/app_usage_events/379c4f76-e7f5-4c67-bfca-d65bc0a97910",
    "created_at": "2014-11-24T19:32:34+00:00"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-bbc90f8d-693f-42ea-95c5-f577e35937f5",
    "app_name": "name-409",
    "space_guid": "guid-bb2b35be-10ce-4d42-9502-a5aafa54a101",
    "space_name": "name-410",
    "org_guid": "guid-d70464c2-d19d-409a-9c49-3f13368f0ba5",
    "buildpack_guid": "guid-34799e47-2e88-43f5-8040-1382fb7167ee",
    "buildpack_name": "name-411"
  }
}