GET /v2/spaces/8bc8c39e-f7a2-4e14-b58a-17f20936fa63/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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDl9.b-GnS_ec62HvaY59jNzW2ISI0A162nozUShKGGWaBGs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/8bc8c39e-f7a2-4e14-b58a-17f20936fa63/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjYxODc3NDl9.b-GnS_ec62HvaY59jNzW2ISI0A162nozUShKGGWaBGs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "539a6aee-03b9-4580-8fd8-b5ce7fa87fdc", "url": "/v2/events/539a6aee-03b9-4580-8fd8-b5ce7fa87fdc", "created_at": "2015-03-05T19:15:49Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-232", "actor_type": "user", "actor_name": "user@example.com", "actee": "8bc8c39e-f7a2-4e14-b58a-17f20936fa63", "actee_type": "space", "actee_name": "name-703", "timestamp": "2015-03-05T19:15:49Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "8bc8c39e-f7a2-4e14-b58a-17f20936fa63", "organization_guid": "eeea9d3d-c4ba-4acd-ae0e-1bd43ef2e41f" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: f911f8f5-3056-4d78-879c-158b742b5d36 Content-Length: 905 X-Content-Type-Options: nosniff