Name | Description | Default | Valid Values | Example Values |
---|
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.eyJ1c2VyX2lkIjoidWFhLWlkLTM5IiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.QRq9k9faz1e7NEK9mrhtoLR6t7OfrmUy_9hiEkn5XIM Host: example.org Cookie:
GET /v2/spaces/e04f9c10-4cc2-44fd-99b0-4b457043ff69/events
curl "https://api.[your-domain.com]/v2/spaces/e04f9c10-4cc2-44fd-99b0-4b457043ff69/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5IiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE5OTg5OTYyfQ.QRq9k9faz1e7NEK9mrhtoLR6t7OfrmUy_9hiEkn5XIM" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 5f4b6551-966d-44d5-8386-483f88143d6f Content-Length: 913 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "2af74f21-9c1d-457c-a5fd-35e63903f6d0", "url": "/v2/events/2af74f21-9c1d-457c-a5fd-35e63903f6d0", "created_at": "2014-12-24T01:39:22+00:00", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-38", "actor_type": "user", "actor_name": "user@example.com", "actee": "e04f9c10-4cc2-44fd-99b0-4b457043ff69", "actee_type": "space", "actee_name": "name-82", "timestamp": "2014-12-24T01:39:22+00:00", "metadata": { "request": { "name": "new_name" } }, "space_guid": "e04f9c10-4cc2-44fd-99b0-4b457043ff69", "organization_guid": "014817b0-26e2-44a2-aa13-680d13247c9d" } } ] }