Home
Version 3
Events API

Events API

Retrieve a Particular Event

GET /v2/events/:guid

Request

Route

GET /v2/events/cec4adca-051b-486b-873c-e4c4e6d63b7a

Parameters

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

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.eyJ1c2VyX2lkIjoidWFhLWlkLTU2IiwiZW1haWwiOiJlbWFpbC01NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjYwfQ._yQTf82ipVhSptCJ-d-vR96HuuPcITq1QUJ33F4EmnU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/events/cec4adca-051b-486b-873c-e4c4e6d63b7a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU2IiwiZW1haWwiOiJlbWFpbC01NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjYwfQ._yQTf82ipVhSptCJ-d-vR96HuuPcITq1QUJ33F4EmnU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "cec4adca-051b-486b-873c-e4c4e6d63b7a",
    "url": "/v2/events/cec4adca-051b-486b-873c-e4c4e6d63b7a",
    "created_at": "2015-03-03T00:51:00Z",
    "updated_at": null
  },
  "entity": {
    "type": "name-139",
    "actor": "guid-275da1e7-9a5c-48d4-87e7-766532386a34",
    "actor_type": "name-140",
    "actor_name": "name-141",
    "actee": "guid-f3f48fe4-9922-4d6e-af05-adf9ff8b61c4",
    "actee_type": "name-142",
    "actee_name": "name-143",
    "timestamp": "2015-03-03T00:51:00Z",
    "metadata": {

    },
    "space_guid": "0c0172d3-5e73-4003-9881-bddcd5ba7e24",
    "organization_guid": "8f431db2-1aa8-4c30-b9aa-716069c810c7"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a051ff7e-5e2a-4699-9234-baa46e4aba8a
Content-Length: 670
X-Content-Type-Options: nosniff