GET /v2/spaces/c9eead7b-1235-4096-8277-871eeea03f9b/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NiIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDF9.j75qmcAV_HOYYF_pRBfhJNs24eEPwwUyB72SEBfNQ00 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/c9eead7b-1235-4096-8277-871eeea03f9b/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NiIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDF9.j75qmcAV_HOYYF_pRBfhJNs24eEPwwUyB72SEBfNQ00" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{
"total_results": 1,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"metadata": {
"guid": "b672b6f2-8633-4ad1-b4e7-be171e7b322f",
"url": "/v2/events/b672b6f2-8633-4ad1-b4e7-be171e7b322f",
"created_at": "2016-06-08T16:41:41Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"type": "audit.space.update",
"actor": "uaa-id-385",
"actor_type": "user",
"actor_name": "[email protected]",
"actee": "c9eead7b-1235-4096-8277-871eeea03f9b",
"actee_type": "space",
"actee_name": "name-2107",
"timestamp": "2016-06-08T16:41:41Z",
"metadata": {
"request": {
"name": "new_name"
}
},
"space_guid": "c9eead7b-1235-4096-8277-871eeea03f9b",
"organization_guid": "e8da1c6d-714c-458d-830c-81d8618a5a9a"
}
}
]
}
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 4e17d959-73b0-4314-bf01-84fdc6a15f2e Content-Length: 906 X-Content-Type-Options: nosniff