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.eyJ1c2VyX2lkIjoidWFhLWlkLTgyIiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY4fQ.ZYCOeuP_eQHF-5FzRCq1j77OBHPktg3fZjv8Sz85QtU
Host: example.org
Cookie: 

Route

GET /v2/app_usage_events/b9e8d277-98c5-4be9-80f6-d839cff1d4e0

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/b9e8d277-98c5-4be9-80f6-d839cff1d4e0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgyIiwiZW1haWwiOiJlbWFpbC01M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY4fQ.ZYCOeuP_eQHF-5FzRCq1j77OBHPktg3fZjv8Sz85QtU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 843c3097-f49a-401f-9ac0-34b96e600603
Content-Length: 668
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "b9e8d277-98c5-4be9-80f6-d839cff1d4e0",
    "url": "/v2/app_usage_events/b9e8d277-98c5-4be9-80f6-d839cff1d4e0",
    "created_at": "2015-01-27T19:14:28Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-54915203-ffc8-4a95-8810-e5639b176b8c",
    "app_name": "name-974",
    "space_guid": "guid-e3f3eff5-6f84-437f-af48-82e35c88068e",
    "space_name": "name-975",
    "org_guid": "guid-a3093d5b-ee05-4602-89c9-25546bfb0990",
    "buildpack_guid": "guid-4dde4edf-40ce-4e91-9fdd-4c1720597e03",
    "buildpack_name": "name-976",
    "package_state": "STAGED"
  }
}