GET /v2/events?q=type:audit.user_provided_service_instance.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.user_provided_service_instance.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.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTh9.9u2HhyQoB0tWTIte6bp5j3K3j8cR4_krWsG4gpCQ5cc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/events?q=type:audit.user_provided_service_instance.create" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMjAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTh9.9u2HhyQoB0tWTIte6bp5j3K3j8cR4_krWsG4gpCQ5cc" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "054fbbac-a3ee-4c20-a30f-312e0f3ee37f", "url": "/v2/events/054fbbac-a3ee-4c20-a30f-312e0f3ee37f", "created_at": "2015-06-16T23:40:58Z", "updated_at": null }, "entity": { "type": "audit.user_provided_service_instance.create", "actor": "uaa-id-257", "actor_type": "user", "actor_name": "user@example.com", "actee": "f1768173-5b27-49d9-a2a6-a2a985be7414", "actee_type": "user_provided_service_instance", "actee_name": "name-1122", "timestamp": "2015-06-16T23:40:58Z", "metadata": { "request": { "name": "name-1122", "space_guid": "7789de30-757c-42bc-a481-ed3b19366e50" } }, "space_guid": "7789de30-757c-42bc-a481-ed3b19366e50", "organization_guid": "8f82d316-21ac-4a3c-9b61-6b994e7a11b5" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 51ec0cf9-fb9e-46b8-bae0-9a9a6bfbb839 Content-Length: 1023 X-Content-Type-Options: nosniff