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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OCIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTB9.jBARS0jUvMohsbRFr-n1JlY2mB_UbLrMo7QP1CqTmCY 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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OCIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTB9.jBARS0jUvMohsbRFr-n1JlY2mB_UbLrMo7QP1CqTmCY" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "b4a53a2d-1b0a-413d-8861-94111147b94b", "url": "/v2/events/b4a53a2d-1b0a-413d-8861-94111147b94b", "created_at": "2015-08-31T21:50:09Z", "updated_at": null }, "entity": { "type": "audit.user_provided_service_instance.create", "actor": "uaa-id-277", "actor_type": "user", "actor_name": "user@example.com", "actee": "f69f2917-7b75-48ee-aad8-54c5242ce2c5", "actee_type": "user_provided_service_instance", "actee_name": "name-1097", "timestamp": "2015-08-31T21:50:09Z", "metadata": { "request": { "name": "name-1097", "space_guid": "22279fdd-a463-4667-917b-157aef4cfbe1" } }, "space_guid": "22279fdd-a463-4667-917b-157aef4cfbe1", "organization_guid": "910f2475-3b8e-4b1f-9207-42d2197b8a9f" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 535dfa3b-4b50-464d-bea2-ce291cac60cf Content-Length: 1023 X-Content-Type-Options: nosniff