GET /v2/events?q=type:audit.service_binding.create
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.create
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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NSIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0OH0.6TM67fmXBeBqN8Ij3qjkK0esUk_i6Zk_x7FutkfNPNU Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.service_binding.create" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NSIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNzQ4MDg0OH0.6TM67fmXBeBqN8Ij3qjkK0esUk_i6Zk_x7FutkfNPNU" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "04f2566a-6d26-4cde-ac13-508bc82a8661", "url": "/v2/events/04f2566a-6d26-4cde-ac13-508bc82a8661", "created_at": "2015-03-20T18:27:27Z", "updated_at": null }, "entity": { "type": "audit.service_binding.create", "actor": "uaa-id-144", "actor_type": "user", "actor_name": "user@email.com", "actee": "15813483-274b-4c26-9a53-f3aa64de4718", "actee_type": "service_binding", "actee_name": "", "timestamp": "2015-03-20T18:27:27Z", "metadata": { "request": { "service_instance_guid": "b8ca01a5-41ff-4797-b300-137db102b02e", "app_guid": "2999cb25-29bc-45b4-93f1-122ad36bdd4e" } }, "space_guid": "e932964c-6ee6-4411-8b76-f94264bbbc62", "organization_guid": "3bbd6ead-4b94-4d56-a322-43745f277a86" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 4d6fb6a8-7af6-4e17-b31c-ad6c26ac216b Content-Length: 1024 X-Content-Type-Options: nosniff