Home
Version 3
App Usage Events API

App Usage Events API

Retrieve a Particular App Usage Event

GET /v2/app_usage_events/:guid

Request

Route

GET /v2/app_usage_events/251a6564-978a-4482-a7c6-e357f8aa0432

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU4fQ.J3EU2nwsMlrP47RI-yF4NZi7cXc0rURpkKlTg-Jbedk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/251a6564-978a-4482-a7c6-e357f8aa0432" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3MzIzOTU4fQ.J3EU2nwsMlrP47RI-yF4NZi7cXc0rURpkKlTg-Jbedk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "251a6564-978a-4482-a7c6-e357f8aa0432",
    "url": "/v2/app_usage_events/251a6564-978a-4482-a7c6-e357f8aa0432",
    "created_at": "2015-03-18T22:52:38Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-d0c7faba-e39a-4050-928d-91a5ec407037",
    "app_name": "name-193",
    "space_guid": "guid-3cb2d892-fa4c-4ab6-bf33-b09b91a421b7",
    "space_name": "name-194",
    "org_guid": "guid-40c122b6-beed-4631-810c-8d79a957e500",
    "buildpack_guid": "guid-e694806b-45ee-4a5c-8a33-5ad5ec4472e5",
    "buildpack_name": "name-195",
    "package_state": "STAGED"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e566d717-5800-4d98-8566-b97b501dc8ed
Content-Length: 668
X-Content-Type-Options: nosniff