GET /v2/spaces/10a303dc-0de1-4dc1-859a-1fb8f3b86a1e/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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0xMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUxNDEzNjc2fQ.qeikxTVfzCcZgbRFCoBxInQxgdCmoYUInzeiA7CgiLk Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/10a303dc-0de1-4dc1-859a-1fb8f3b86a1e/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzIiwiZW1haWwiOiJlbWFpbC0xMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUxNDEzNjc2fQ.qeikxTVfzCcZgbRFCoBxInQxgdCmoYUInzeiA7CgiLk" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "5b666230-3c68-447e-9439-6ea1d5341de3", "url": "/v2/events/5b666230-3c68-447e-9439-6ea1d5341de3", "created_at": "2015-12-22T18:27:56Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-22", "actor_type": "user", "actor_name": "user@example.com", "actee": "10a303dc-0de1-4dc1-859a-1fb8f3b86a1e", "actee_type": "space", "actee_name": "name-38", "timestamp": "2015-12-22T18:27:56Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "10a303dc-0de1-4dc1-859a-1fb8f3b86a1e", "organization_guid": "fce0ffac-2966-4caa-90e4-3e2a1e60fabb" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 903 X-Content-Type-Options: nosniff