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/ff6fedaa-a2b8-4f7f-99e2-37e59e268e5c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MzN9.k8vMU1la-kVttzlqrgW9bo_cJRBcv8MFquLykYiJGPM
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/app_usage_events/ff6fedaa-a2b8-4f7f-99e2-37e59e268e5c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MzN9.k8vMU1la-kVttzlqrgW9bo_cJRBcv8MFquLykYiJGPM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ff6fedaa-a2b8-4f7f-99e2-37e59e268e5c",
    "url": "/v2/app_usage_events/ff6fedaa-a2b8-4f7f-99e2-37e59e268e5c",
    "created_at": "2015-11-30T23:38:53Z"
  },
  "entity": {
    "state": "STARTED",
    "memory_in_mb_per_instance": 564,
    "instance_count": 1,
    "app_guid": "guid-7f8f6d89-8f95-4f05-b214-da8302a0cd5e",
    "app_name": "name-2260",
    "space_guid": "guid-a7442fbf-4120-44c2-89b0-1e9814c235f6",
    "space_name": "name-2261",
    "org_guid": "guid-8720e751-8986-459b-8421-82cf6fe976dd",
    "buildpack_guid": "guid-2cdc6591-968e-426f-9b0d-9c867b9519c7",
    "buildpack_name": "name-2262",
    "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: 
Content-Length: 756
X-Content-Type-Options: nosniff