GET /v2/events?q=actee:e52a62c9-94fc-4902-96bf-4799638d3772&q=timestamp%3E2014-01-01+00%3A00%3A00-04%3A00
Name | Description | Valid Values | Example Values |
---|---|---|---|
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 |
|
|
q: timestamp>2014-01-01 00:00:00-04:00
Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the event. |
|
|
|
type | The type of the event. |
|
|
|
actor | The GUID of the actor. |
|
|
|
actor_type | The actor type. |
|
|
|
actor_name | The name of the actor. |
|
|
|
actee | The GUID of the actee. |
|
|
|
actee_type | The actee type. |
|
|
|
actee_name | The name of the actee. |
|
|
|
timestamp | The event creation time. |
|
|
|
metadata | The additional information about event. | {} |
|
|
space_guid | The guid of the associated space. |
|
|
|
organization_guid | The guid of the associated organization. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNCIsImVtYWlsIjoiZW1haWwtNTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzNX0.Cflh6QDm2eQi58HQiemy5lxc1Ndn_KvLM-xX-Z6KpR8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=actee:e52a62c9-94fc-4902-96bf-4799638d3772&q=timestamp%3E2014-01-01+00%3A00%3A00-04%3A00" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNCIsImVtYWlsIjoiZW1haWwtNTlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzNX0.Cflh6QDm2eQi58HQiemy5lxc1Ndn_KvLM-xX-Z6KpR8" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 3, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "a06977b2-14ad-43e8-a0c1-3d428db15a23", "url": "/v2/events/a06977b2-14ad-43e8-a0c1-3d428db15a23", "created_at": "2015-10-15T23:52:14Z", "updated_at": null }, "entity": { "type": "audit.app.create", "actor": "uaa-id-113", "actor_type": "user", "actor_name": "user@example.com", "actee": "e52a62c9-94fc-4902-96bf-4799638d3772", "actee_type": "app", "actee_name": "name-963", "timestamp": "2015-10-15T23:52:14Z", "metadata": { "request": { "name": "new", "instances": 1, "memory": 84, "state": "STOPPED", "environment_json": "PRIVATE DATA HIDDEN", "docker_credentials_json": "PRIVATE DATA HIDDEN" } }, "space_guid": "54be4b5f-c6b3-478b-a9b2-894c2e837da9", "organization_guid": "655d2ffa-cf27-47de-82ed-bbf5fff30b3c" } }, { "metadata": { "guid": "67a5b809-bc3c-436c-9e31-896dc483395c", "url": "/v2/events/67a5b809-bc3c-436c-9e31-896dc483395c", "created_at": "2015-10-15T23:52:14Z", "updated_at": null }, "entity": { "type": "audit.app.update", "actor": "uaa-id-113", "actor_type": "user", "actor_name": "user@example.com", "actee": "e52a62c9-94fc-4902-96bf-4799638d3772", "actee_type": "app", "actee_name": "name-963", "timestamp": "2015-10-15T23:52:14Z", "metadata": { "request": { "name": "new", "instances": 1, "memory": 84, "state": "STOPPED", "environment_json": "PRIVATE DATA HIDDEN", "docker_credentials_json": "PRIVATE DATA HIDDEN" } }, "space_guid": "54be4b5f-c6b3-478b-a9b2-894c2e837da9", "organization_guid": "655d2ffa-cf27-47de-82ed-bbf5fff30b3c" } }, { "metadata": { "guid": "7cc8ebe8-0362-4c32-9cce-2e51a17d6dea", "url": "/v2/events/7cc8ebe8-0362-4c32-9cce-2e51a17d6dea", "created_at": "2015-10-15T23:52:14Z", "updated_at": null }, "entity": { "type": "audit.app.delete-request", "actor": "uaa-id-113", "actor_type": "user", "actor_name": "user@example.com", "actee": "e52a62c9-94fc-4902-96bf-4799638d3772", "actee_type": "app", "actee_name": "name-963", "timestamp": "2015-10-15T23:52:14Z", "metadata": { "request": { "recursive": false } }, "space_guid": "54be4b5f-c6b3-478b-a9b2-894c2e837da9", "organization_guid": "655d2ffa-cf27-47de-82ed-bbf5fff30b3c" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: edcafe6f-ee2f-4411-9812-d3eb2a48b162 Content-Length: 2897 X-Content-Type-Options: nosniff