GET /v2/spaces/3cf140a7-3be8-4f57-842e-69557d61b547/events
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Space |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: timestamp, type, actee |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg0IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.d1pSqsFfB6CE7OWJmdz7xrPYx3x3Bg3nDhwJZ6lCOVs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/3cf140a7-3be8-4f57-842e-69557d61b547/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg0IiwiZW1haWwiOiJlbWFpbC02NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4NzAxfQ.d1pSqsFfB6CE7OWJmdz7xrPYx3x3Bg3nDhwJZ6lCOVs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "2918626d-9b7c-48cb-9305-47eed4f730d9", "url": "/v2/events/2918626d-9b7c-48cb-9305-47eed4f730d9", "created_at": "2015-04-07T19:11:41Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-83", "actor_type": "user", "actor_name": "user@example.com", "actee": "3cf140a7-3be8-4f57-842e-69557d61b547", "actee_type": "space", "actee_name": "name-254", "timestamp": "2015-04-07T19:11:41Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "3cf140a7-3be8-4f57-842e-69557d61b547", "organization_guid": "2701a352-d36b-4bb0-9579-c196ee9d923a" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: ae991119-fade-4f9c-8592-d71380f74967 Content-Length: 904 X-Content-Type-Options: nosniff