GET /v2/events?q=type:audit.service_binding.delete
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: type:audit.service_binding.delete
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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMCIsImVtYWlsIjoiZW1haWwtNjFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTY2NDEzNn0.df0qJDLW0zy-dtOQ9v46S__-pg-uF0GPPIoIb2iUyqw Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.service_binding.delete" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMCIsImVtYWlsIjoiZW1haWwtNjFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyOTY2NDEzNn0.df0qJDLW0zy-dtOQ9v46S__-pg-uF0GPPIoIb2iUyqw" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "b3bbacc8-5ec1-464b-9265-542c5f6ff185", "url": "/v2/events/b3bbacc8-5ec1-464b-9265-542c5f6ff185", "created_at": "2015-04-15T00:55:36Z", "updated_at": null }, "entity": { "type": "audit.service_binding.delete", "actor": "uaa-id-99", "actor_type": "user", "actor_name": "user@email.com", "actee": "66d85f6d-bfc8-4190-b68a-4abecae7ba6b", "actee_type": "service_binding", "actee_name": "", "timestamp": "2015-04-15T00:55:36Z", "metadata": { "request": { } }, "space_guid": "d45f6221-dfe5-47e6-bd71-f44ab22d4855", "organization_guid": "4ab9eee3-02f4-4edf-b805-9ec63f3c97e3" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 9a6e056d-7e1d-48d8-94e4-9db25d67e57b Content-Length: 884 X-Content-Type-Options: nosniff