Retrieve Information Regarding Where a Service Instance is Shared To
GET /v2/service_instances/:guid/shared_to
Request
Route
GET /v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to
Parameters
Name |
Description |
Valid Values |
Example Values |
page
|
Page of results to fetch
|
|
|
results-per-page
|
Number of results per page
|
|
|
order-direction
|
Order of the results: asc (default) or desc
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_instances/0d632575-bb06-4ea5-bb19-a451a9644d92/shared_to" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1MCIsImVtYWlsIjoiZW1haWwtMTA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4ODl9.eyvSz10WWSQt0pFotoQI2Lm5XdH22-50O_R8rxy7n4k" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
Name |
Description |
Valid Values |
Example Values |
space_guid
|
The guid of the space being shared to.
|
|
|
space_name
|
The name of the space being shared to.
|
|
|
organization_name
|
The name of the organization of the space the service instance has been shared to.
|
|
|
bound_app_count
|
The number of applications bound to the service instance in the space.
|
|
|
{
"total_results": 2,
"total_pages": 1,
"prev_url": null,
"next_url": null,
"resources": [
{
"space_guid": "2cf74cc4-a0a8-4b43-a01a-4207a356347d",
"space_name": "target-space-1",
"organization_name": "org-name",
"bound_app_count": 3
},
{
"space_guid": "880ad078-1cef-4dd3-9902-ba59767bdc63",
"space_name": "target-space-2",
"organization_name": "org-name",
"bound_app_count": 0
}
]
}
Headers