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/125ebc57-e6dc-46a2-be05-a3b4d6106823
cURL
curl "https://api.[your-domain.com]/v2/events/125ebc57-e6dc-46a2-be05-a3b4d6106823" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk2fQ.aeds-UfSIuoySh5j9mPnxriZcsyvNz7IdRadKQJlLAk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "125ebc57-e6dc-46a2-be05-a3b4d6106823",
"url": "/v2/events/125ebc57-e6dc-46a2-be05-a3b4d6106823",
"created_at": "2014-11-13T23:38:16+00:00",
"updated_at": null
},
"entity": {
"type": "name-286",
"actor": "guid-68f0b3cd-bd8b-4388-a6b0-cd7e1e2592c4",
"actor_type": "name-287",
"actor_name": "name-288",
"actee": "guid-eb1694fd-3299-46b5-adda-b0833a9a4de7",
"actee_type": "name-289",
"actee_name": "name-290",
"timestamp": "2014-11-13T23:38:16+00:00",
"metadata": {
},
"space_guid": "a83212fb-2a8a-46d6-b526-b4a323ff8afa",
"organization_guid": "95dd6887-192b-40e3-8e07-14366ec25bec"
}
}