GET /v2/spaces/bdcd11a7-94cb-4367-9ec0-173a27475516/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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNjVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk1OX0.rmd7deTLRNLpCGFcDlcUs94GqJP7aZ32Dk1ERClOKC8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/bdcd11a7-94cb-4367-9ec0-173a27475516/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNjVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzMyMzk1OX0.rmd7deTLRNLpCGFcDlcUs94GqJP7aZ32Dk1ERClOKC8" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "81e72026-7e5c-495a-8e42-8ea12dde916d", "url": "/v2/events/81e72026-7e5c-495a-8e42-8ea12dde916d", "created_at": "2015-03-18T22:52:39Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-102", "actor_type": "user", "actor_name": "user@example.com", "actee": "bdcd11a7-94cb-4367-9ec0-173a27475516", "actee_type": "space", "actee_name": "name-251", "timestamp": "2015-03-18T22:52:39Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "bdcd11a7-94cb-4367-9ec0-173a27475516", "organization_guid": "30fd6b0c-45bb-443e-9ed0-67537d1ef263" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 880dfddf-dd82-420a-848c-0f4c21eddb68 Content-Length: 905 X-Content-Type-Options: nosniff