Home
Version 3
Events API

Events API

Retrieve a Particular Event

GET /v2/events/:guid

Request

Route

GET /v2/events/7d7b3461-b3c1-4c0c-ba65-5e8ff7d85daf

Body

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.

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTF9.dvcjaOfasvi-5oQcsx2H436gcBXohAQl4YPcvBmRPPo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/events/7d7b3461-b3c1-4c0c-ba65-5e8ff7d85daf" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4NSIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjc0ODA4NTF9.dvcjaOfasvi-5oQcsx2H436gcBXohAQl4YPcvBmRPPo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "7d7b3461-b3c1-4c0c-ba65-5e8ff7d85daf",
    "url": "/v2/events/7d7b3461-b3c1-4c0c-ba65-5e8ff7d85daf",
    "created_at": "2015-03-20T18:27:30Z",
    "updated_at": null
  },
  "entity": {
    "type": "name-1173",
    "actor": "guid-5c5f223d-239b-4d8a-8266-3b3df1dd10c0",
    "actor_type": "name-1174",
    "actor_name": "name-1175",
    "actee": "guid-38d2ad03-8fe6-4972-9620-5ffa4a853235",
    "actee_type": "name-1176",
    "actee_name": "name-1177",
    "timestamp": "2015-03-20T18:27:30Z",
    "metadata": {

    },
    "space_guid": "88d58097-6005-4aa3-b293-f28d56b2d88c",
    "organization_guid": "ae9e0128-7f70-4bc2-b069-2eb44ac2bad7"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6afef9f1-e552-475e-9843-08bcba328e38
Content-Length: 675
X-Content-Type-Options: nosniff