GET /v2/events?q=type:audit.service_instance.update
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, space_guid, organization_guid |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
order-by | Attribute to order results by |
|
|
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_instance.update
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDY2MDA4ODg1fQ.jOFhpePqkTzaBiAMnBCOG658tUdS7LO48mKV-fRbe30 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.service_instance.update" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC00OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDY2MDA4ODg1fQ.jOFhpePqkTzaBiAMnBCOG658tUdS7LO48mKV-fRbe30" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
Name | Description | 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. |
|
|
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "9e81b6b8-fca7-4968-b0da-92e27cb9988e", "url": "/v2/events/9e81b6b8-fca7-4968-b0da-92e27cb9988e", "created_at": "2016-06-08T16:41:25Z", "updated_at": "2016-06-08T16:41:26Z" }, "entity": { "type": "audit.service_instance.update", "actor": "uaa-id-68", "actor_type": "user", "actor_name": "user@example.com", "actee": "e59b1d47-c6e4-49fb-b855-584554995279", "actee_type": "service_instance", "actee_name": "name-664", "timestamp": "2016-06-08T16:41:25Z", "metadata": { "request": { "service_plan_guid": "9a918281-a33c-45f8-8559-9aeaa7f0bb6b", "parameters": "[PRIVATE DATA HIDDEN]" } }, "space_guid": "f020fd7f-8d80-4086-bc62-e52ad5705236", "organization_guid": "4781baf4-2d2b-4ce4-b859-c6b31423e25d" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: dd38f9e4-81be-46c9-b2f2-f1546ee9200b Content-Length: 1018 X-Content-Type-Options: nosniff