Retrieve a Particular Event
GET /v2/events/:guid
Request
Route
GET /v2/events/34aaa868-dc9d-47ba-91ea-e980873f5cb3
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the event.
|
|
|
|
type
|
The type of the event.
|
|
- app.crash
- audit.app.start
- audit.app.stop
- audit.app.update
- audit.app.create
- audit.app.delete-request
- audit.app.ssh-authorized
- audit.app.ssh-unauthorized
- 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
- audit.service_key.create
- audit.service_key.delete
|
- app.crash
- audit.app.update
|
actor
|
The GUID of the actor.
|
|
|
|
actor_type
|
The actor type.
|
|
|
|
actor_name
|
The name of the actor.
|
|
|
|
actee
|
The GUID of the actee.
|
|
|
|
actee_type
|
The actee type.
|
|
|
|
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
cURL
curl "https://api.[your-domain.com]/v2/events/34aaa868-dc9d-47ba-91ea-e980873f5cb3" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMyIsImVtYWlsIjoiZW1haWwtNjlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzNn0.smmmy0NAoai1YJlX5qcsg7_fJG8QHVTgnpH1AJ2d7zI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "34aaa868-dc9d-47ba-91ea-e980873f5cb3",
"url": "/v2/events/34aaa868-dc9d-47ba-91ea-e980873f5cb3",
"created_at": "2015-10-15T23:52:16Z",
"updated_at": null
},
"entity": {
"type": "name-1211",
"actor": "guid-486f22cd-f928-47e9-a067-7e0610c5deb8",
"actor_type": "name-1212",
"actor_name": "name-1213",
"actee": "guid-a85637f3-7512-4e1f-9104-b440fcba001e",
"actee_type": "name-1214",
"actee_name": "name-1215",
"timestamp": "2015-10-15T23:52:16Z",
"metadata": {
},
"space_guid": "7324090c-a4ca-46c9-9d75-8b85a7bb5bd5",
"organization_guid": "532ae488-f42e-497a-a148-e0404e364a7e"
}
}
Headers