Home
Version 3
User Provided Service Instances API

User Provided Service Instances API

Retrieve a Particular User Provided Service Instance

GET /v2/user_provided_service_instances/:guid

Request

Route

GET /v2/user_provided_service_instances/20756604-a96a-4ac9-85a3-5871d8cd78eb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMzExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk4MDJ9.IfU2CAAHvTvtX1GsnrnDA99SLLzfQAh7B8nvhgYMiaU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/20756604-a96a-4ac9-85a3-5871d8cd78eb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMzExQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk4MDJ9.IfU2CAAHvTvtX1GsnrnDA99SLLzfQAh7B8nvhgYMiaU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "20756604-a96a-4ac9-85a3-5871d8cd78eb",
    "url": "/v2/user_provided_service_instances/20756604-a96a-4ac9-85a3-5871d8cd78eb",
    "created_at": "2015-07-06T23:23:22Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2326",
    "credentials": {
      "creds-key-689": "creds-val-689"
    },
    "space_guid": "36afe531-c931-4013-90f5-48593e09dd5d",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-96",
    "space_url": "/v2/spaces/36afe531-c931-4013-90f5-48593e09dd5d",
    "service_bindings_url": "/v2/user_provided_service_instances/20756604-a96a-4ac9-85a3-5871d8cd78eb/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5eae61d6-3266-45cf-9419-5f5d1118faeb
Content-Length: 680
X-Content-Type-Options: nosniff