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
|
- 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.
|
|
|
|
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Event
|
|
|
Request
Headers
Route
GET /v2/events/9c3a7569-b3f6-4fcc-ac70-adadf3c5d575
cURL
curl "https://api.[your-domain.com]/v2/events/9c3a7569-b3f6-4fcc-ac70-adadf3c5d575" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMyIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNn0.KBs5qzeOdpdBESxZD8Bwgwg7NYCOCbqsAi5dld4xRAI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "9c3a7569-b3f6-4fcc-ac70-adadf3c5d575",
"url": "/v2/events/9c3a7569-b3f6-4fcc-ac70-adadf3c5d575",
"created_at": "2014-11-05T01:02:16+00:00",
"updated_at": null
},
"entity": {
"type": "name-623",
"actor": "guid-7ec73535-82ba-4665-86dc-3a414a8be59d",
"actor_type": "name-624",
"actor_name": "name-625",
"actee": "guid-5358a6fb-72d7-402c-bf53-cbbda3e4e98f",
"actee_type": "name-626",
"actee_name": "name-627",
"timestamp": "2014-11-05T01:02:16+00:00",
"metadata": {
},
"space_guid": "f83aa4bf-7354-4864-a97a-aeb803ad6c65",
"organization_guid": "9135eddf-e74c-4da2-9517-3d427e88b5a9"
}
}