Name | Description | Default | Valid Values | Example Values |
---|
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.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.aDltKce7AVc1GhV2PPclDlcXZiR_Q8aLHSrnGDKQdUc Host: example.org Cookie:
GET /v2/spaces/ae2ec787-102c-4194-8736-2d09f3915043/events
curl "https://api.[your-domain.com]/v2/spaces/ae2ec787-102c-4194-8736-2d09f3915043/events" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0MiIsImVtYWlsIjoiZW1haWwtMTczQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDd9.aDltKce7AVc1GhV2PPclDlcXZiR_Q8aLHSrnGDKQdUc" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: e50a1958-479b-4cb7-b5ec-903337dfab60 Content-Length: 915 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "3068bdd7-53a8-4465-b2de-224322fe49af", "url": "/v2/events/3068bdd7-53a8-4465-b2de-224322fe49af", "created_at": "2014-11-13T23:38:27+00:00", "updated_at": null }, "entity": { "type": "audit.space.update", "actor": "uaa-id-241", "actor_type": "user", "actor_name": "user@example.com", "actee": "ae2ec787-102c-4194-8736-2d09f3915043", "actee_type": "space", "actee_name": "name-820", "timestamp": "2014-11-13T23:38:27+00:00", "metadata": { "request": { "name": "new_name" } }, "space_guid": "ae2ec787-102c-4194-8736-2d09f3915043", "organization_guid": "1d94dc11-daf9-4ae9-83e9-240e03a91ebe" } } ] }