GET /v2/users/uaa-id-453/audited_spaces?audited_space_guid=707a2624-e37c-4b84-b7ac-75d500ce8f2d
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the User |
|
|
audited_space_guid | The guid of the audited space |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: name, organization_guid, developer_guid, app_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 |
|
|
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 |
|
|
audited_space_guid: 707a2624-e37c-4b84-b7ac-75d500ce8f2d
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NCIsImVtYWlsIjoiZW1haWwtMzMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NTl9.73r3a67a_eZwkSvTj9_ZdQSbgG8_NV2W8wWxQgndAOE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/users/uaa-id-453/audited_spaces?audited_space_guid=707a2624-e37c-4b84-b7ac-75d500ce8f2d" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NCIsImVtYWlsIjoiZW1haWwtMzMxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4NTl9.73r3a67a_eZwkSvTj9_ZdQSbgG8_NV2W8wWxQgndAOE" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "4c57522b-2b68-4acb-8e1c-15b78c6d0a66", "url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66", "created_at": "2015-11-03T00:54:19Z", "updated_at": null }, "entity": { "name": "name-2517", "organization_guid": "fa5d7f80-e3cc-457b-9ed7-292e98f83e36", "space_quota_definition_guid": null, "allow_ssh": true, "organization_url": "/v2/organizations/fa5d7f80-e3cc-457b-9ed7-292e98f83e36", "developers_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/developers", "managers_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/managers", "auditors_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/auditors", "apps_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/apps", "routes_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/routes", "domains_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/domains", "service_instances_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/service_instances", "app_events_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/app_events", "events_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/events", "security_groups_url": "/v2/spaces/4c57522b-2b68-4acb-8e1c-15b78c6d0a66/security_groups" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 0155dc0b-e4cf-40dc-89c3-faba21f51f83 Content-Length: 1485 X-Content-Type-Options: nosniff