GET /v2/spaces/dc804975-26b8-4844-9d9d-34c08243a657/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjZ9.xvZuCvu0bNRdnWOCgRt0DNwhASRmy8FWGMUnca4M51U Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/dc804975-26b8-4844-9d9d-34c08243a657/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NjZ9.xvZuCvu0bNRdnWOCgRt0DNwhASRmy8FWGMUnca4M51U" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "48345a2d-46ff-4437-bc2a-41bd9ed724b7", "url": "/v2/events/48345a2d-46ff-4437-bc2a-41bd9ed724b7", "created_at": "2015-06-16T23:41:06Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-391", "actor_type": "user", "actor_name": "user@example.com", "actee": "dc804975-26b8-4844-9d9d-34c08243a657", "actee_type": "space", "actee_name": "name-2278", "timestamp": "2015-06-16T23:41:06Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "dc804975-26b8-4844-9d9d-34c08243a657", "organization_guid": "d50c0294-7812-46b9-9bed-dadddb15bb20" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 0d40a29d-07fa-427c-a2a7-2546b8b7ffcd Content-Length: 906 X-Content-Type-Options: nosniff