GET /v2/spaces/f4d167d4-a1c7-430b-a15e-a290e8fb0d26/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MCIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzOX0.IEOZ5k9phd1-vuU1hoWwfsD-qyHxxO07qCqQPAc2UVk Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/spaces/f4d167d4-a1c7-430b-a15e-a290e8fb0d26/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MCIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzOX0.IEOZ5k9phd1-vuU1hoWwfsD-qyHxxO07qCqQPAc2UVk" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "1673be0c-9861-4c1c-b1d5-22c87f82b7ff", "url": "/v2/events/1673be0c-9861-4c1c-b1d5-22c87f82b7ff", "created_at": "2015-10-15T23:52:19Z", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-159", "actor_type": "user", "actor_name": "user@example.com", "actee": "f4d167d4-a1c7-430b-a15e-a290e8fb0d26", "actee_type": "space", "actee_name": "name-1354", "timestamp": "2015-10-15T23:52:19Z", "metadata": { "request": { "name": "new_name" } }, "space_guid": "f4d167d4-a1c7-430b-a15e-a290e8fb0d26", "organization_guid": "70b4a280-68f8-4e6a-a5d7-e214502e1568" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 545c4458-f4a7-4027-87f3-665599be2080 Content-Length: 906 X-Content-Type-Options: nosniff