Home
Version 3
Events API

Events API

Retrieve a Particular Event

GET /v2/events/:guid

Fields

Name Description Default Valid Values Example Values
guid The guid of the event.
type The type of the event.
  • app.crash
  • audit.app.update
  • audit.app.create
  • audit.app.delete-request
  • audit.space.create
  • audit.space.update
  • audit.space.delete-request
  • audit.service_broker.create
  • audit.service_broker.update
  • audit.service_broker.delete
  • audit.service.create
  • audit.service.update
  • audit.service.delete
  • audit.service_plan.create
  • audit.service_plan.update
  • audit.service_plan.delete
  • audit.service_plan_visibility.create
  • audit.service_plan_visibility.update
  • audit.service_plan_visibility.delete
  • audit.service_dashboard_client.create
  • audit.service_dashboard_client.delete
  • audit.service_instance.create
  • audit.service_instance.update
  • audit.service_instance.delete
  • audit.user_provided_service_instance.create
  • audit.user_provided_service_instance.update
  • audit.user_provided_service_instance.delete
  • audit.service_binding.create
  • audit.service_binding.delete
  • app.crash
  • audit.app.update
actor The GUID of the actor.
actor_type The actor type.
  • user
  • app
actor_name The name of the actor.
actee The GUID of the actee.
actee_type The actee type.
  • space
  • app
actee_name The name of the actee.
timestamp The event creation time.
metadata The additional information about event. {}
space_guid The guid of the associated space.
organization_guid The guid of the associated organization.

Parameters

Name Description Valid Values Example Values
guid The guid of the Event

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzF9.b84No6MekwH8xLUsXnztCqMJ9KAwnnqQPdfwrkP3-Ic
Host: example.org
Cookie: 

Route

GET /v2/events/af914a3e-0bf5-4c92-b7c2-79d2999b1a04

cURL

curl "https://api.[your-domain.com]/v2/events/af914a3e-0bf5-4c92-b7c2-79d2999b1a04" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzF9.b84No6MekwH8xLUsXnztCqMJ9KAwnnqQPdfwrkP3-Ic" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 26ff994c-fd88-40a6-b65c-c1209a6415b7
Content-Length: 675
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "af914a3e-0bf5-4c92-b7c2-79d2999b1a04",
    "url": "/v2/events/af914a3e-0bf5-4c92-b7c2-79d2999b1a04",
    "created_at": "2015-02-10T01:42:51Z",
    "updated_at": null
  },
  "entity": {
    "type": "name-1293",
    "actor": "guid-3492accd-69d0-4258-8950-7d66fcdc73d4",
    "actor_type": "name-1294",
    "actor_name": "name-1295",
    "actee": "guid-5e37559c-b265-4702-8fde-110da18c6b9f",
    "actee_type": "name-1296",
    "actee_name": "name-1297",
    "timestamp": "2015-02-10T01:42:51Z",
    "metadata": {

    },
    "space_guid": "ed419b8b-8cab-4538-bf73-589849390e9b",
    "organization_guid": "fc3b84b3-3725-4e06-905f-a8acd38d5605"
  }
}