Retrieve a Particular Event
GET /v2/events/:guid
Request
Route
GET /v2/events/f9689393-c786-4211-a7e2-4b83b19b924c
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/f9689393-c786-4211-a7e2-4b83b19b924c" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNiIsImVtYWlsIjoiZW1haWwtOTJAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0OTUzMTUxN30.i2Wc7olXvnUPZjapfLQ4-d57mhx1t31zmMY3m4MtA8Y" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f9689393-c786-4211-a7e2-4b83b19b924c",
"url": "/v2/events/f9689393-c786-4211-a7e2-4b83b19b924c",
"created_at": "2015-11-30T23:38:37Z",
"updated_at": null
},
"entity": {
"type": "name-657",
"actor": "guid-d7bbbc90-eab9-4a64-8cae-f3f7c863a9e3",
"actor_type": "name-658",
"actor_name": "name-659",
"actee": "guid-c36c711d-b85c-4d5b-9b30-b577d375eaee",
"actee_type": "name-660",
"actee_name": "name-661",
"timestamp": "2015-11-30T23:38:37Z",
"metadata": {
},
"space_guid": "b648b0d8-a610-4dd3-960d-47249f2cb655",
"organization_guid": "38621b88-17f3-41d8-9096-f3c00804bd34"
}
}
Headers