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.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYzfQ.yVp-gbHxcLOBhP5ICRuIV1tWup7UWsVZQdIjqazPNcE
Host: example.org
Cookie: 

Route

GET /v2/events/c85c54c9-f7b1-400a-8fb1-da8eefbb6622

cURL

curl "https://api.[your-domain.com]/v2/events/c85c54c9-f7b1-400a-8fb1-da8eefbb6622" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC01MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYzfQ.yVp-gbHxcLOBhP5ICRuIV1tWup7UWsVZQdIjqazPNcE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6752078f-297f-4785-beee-7b9afd32464c
Content-Length: 680
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "c85c54c9-f7b1-400a-8fb1-da8eefbb6622",
    "url": "/v2/events/c85c54c9-f7b1-400a-8fb1-da8eefbb6622",
    "created_at": "2014-12-24T01:39:23+00:00",
    "updated_at": null
  },
  "entity": {
    "type": "name-164",
    "actor": "guid-92111d44-9849-4fe0-88f7-86e1655bb78c",
    "actor_type": "name-165",
    "actor_name": "name-166",
    "actee": "guid-f92c9b0e-c88d-43f4-87c4-85d16e2ffb0a",
    "actee_type": "name-167",
    "actee_name": "name-168",
    "timestamp": "2014-12-24T01:39:23+00:00",
    "metadata": {

    },
    "space_guid": "27dd79e2-074e-424a-968b-b59e5999acae",
    "organization_guid": "fd2089dd-b9df-45ae-9185-1801d1ae08f1"
  }
}