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.eyJ1c2VyX2lkIjoidWFhLWlkLTc4IiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY3fQ.r11GzhBVe9lCEpjwm4n5B_6DlypZe0hCNcf-IcPJUxo
Host: example.org
Cookie: 

Route

GET /v2/events/48368563-d3fa-48ab-bcee-b7bcaa0f2863

cURL

curl "https://api.[your-domain.com]/v2/events/48368563-d3fa-48ab-bcee-b7bcaa0f2863" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc4IiwiZW1haWwiOiJlbWFpbC00OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY3fQ.r11GzhBVe9lCEpjwm4n5B_6DlypZe0hCNcf-IcPJUxo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: fe60e59f-1e49-4220-a0cc-bcfdc593d874
Content-Length: 670
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "48368563-d3fa-48ab-bcee-b7bcaa0f2863",
    "url": "/v2/events/48368563-d3fa-48ab-bcee-b7bcaa0f2863",
    "created_at": "2015-01-27T19:14:27Z",
    "updated_at": null
  },
  "entity": {
    "type": "name-908",
    "actor": "guid-36a4accb-24b6-4c79-95e1-a21e37a9f196",
    "actor_type": "name-909",
    "actor_name": "name-910",
    "actee": "guid-8f5cc92a-31e7-4564-9ce8-ea5d2114f24a",
    "actee_type": "name-911",
    "actee_name": "name-912",
    "timestamp": "2015-01-27T19:14:27Z",
    "metadata": {

    },
    "space_guid": "bcaf7860-6550-4bbb-90d4-74201eb63e9e",
    "organization_guid": "cc24c1a8-e798-490f-b9f0-b1158218c676"
  }
}