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.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjYxfQ.NfdDAecQ21ZmLxOxNgeHauIvtm52DJ698Qz9WwJTvQ8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.service_binding.create" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY3IiwiZW1haWwiOiJlbWFpbC02MUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjYxfQ.NfdDAecQ21ZmLxOxNgeHauIvtm52DJ698Qz9WwJTvQ8" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "c0b759cd-4a4a-4e2f-bb82-bf2ed160b971", "url": "/v2/events/c0b759cd-4a4a-4e2f-bb82-bf2ed160b971", "created_at": "2015-03-03T00:51:00Z", "updated_at": null }, "entity": { "type": "audit.service_binding.create", "actor": "uaa-id-66", "actor_type": "user", "actor_name": "user@email.com", "actee": "254890d8-7d3f-49aa-b715-75a1b557a9af", "actee_type": "service_binding", "actee_name": "", "timestamp": "2015-03-03T00:51:00Z", "metadata": { "request": { "service_instance_guid": "fa4f79fa-8e1c-4bbb-9f7d-75c3922e5461", "app_guid": "66ccb7c3-ae31-44c6-bee8-3ac6a6a081b1" } }, "space_guid": "9c8cf446-c797-4a75-9f7a-5ca420e96b53", "organization_guid": "ab0e19df-5e46-4395-8bce-2ee73336f5b7" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 5b6638de-6138-43a6-b91d-ba75476a9bae Content-Length: 1023 X-Content-Type-Options: nosniff