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/d436bf5f-91f0-40b9-aa07-e15994b26fd7

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTV9.NyhSAlP_7_be-wOFvw4nka5rB3st8CqFe_wesQWFXes
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/d436bf5f-91f0-40b9-aa07-e15994b26fd7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOCIsImVtYWlsIjoiZW1haWwtMjI1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTV9.NyhSAlP_7_be-wOFvw4nka5rB3st8CqFe_wesQWFXes" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d436bf5f-91f0-40b9-aa07-e15994b26fd7",
    "url": "/v2/app_usage_events/d436bf5f-91f0-40b9-aa07-e15994b26fd7",
    "created_at": "2015-06-04T00:05:15Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-6e65a7a9-f3f8-4f84-9a61-bbbd05e4c273",
    "app_name": "name-1809",
    "space_guid": "guid-352b5fda-3390-4896-ac92-31728e31de2a",
    "space_name": "name-1810",
    "org_guid": "guid-ee658abf-43a7-4049-a147-96269481d7ac",
    "buildpack_guid": "guid-c90dc3a4-d6c0-4ebe-ad26-1e5669b3a75d",
    "buildpack_name": "name-1811",
    "package_state": "STAGED",
    "parent_app_guid": null,
    "parent_app_name": null,
    "process_type": "web"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 26ba8f44-a994-4846-baf6-72adf3bf81b3
Content-Length: 756
X-Content-Type-Options: nosniff