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/b51a3450-b1b3-484b-aec8-4061fcf1b7fb

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4OSIsImVtYWlsIjoiZW1haWwtMjkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mzd9.l9ph50gpgD2j82Uq2-fghzEfblif-RBnpwzxuy4A4nU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/b51a3450-b1b3-484b-aec8-4061fcf1b7fb" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4OSIsImVtYWlsIjoiZW1haWwtMjkxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1Mzd9.l9ph50gpgD2j82Uq2-fghzEfblif-RBnpwzxuy4A4nU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b51a3450-b1b3-484b-aec8-4061fcf1b7fb",
    "url": "/v2/user_provided_service_instances/b51a3450-b1b3-484b-aec8-4061fcf1b7fb",
    "created_at": "2015-11-30T23:38:57Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2455",
    "credentials": {
      "creds-key-649": "creds-val-649"
    },
    "space_guid": "b16654ca-1f8a-427c-8a04-2d7ba5b6d537",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-101",
    "route_service_url": null,
    "space_url": "/v2/spaces/b16654ca-1f8a-427c-8a04-2d7ba5b6d537",
    "service_bindings_url": "/v2/user_provided_service_instances/b51a3450-b1b3-484b-aec8-4061fcf1b7fb/service_bindings",
    "routes_url": "/v2/user_provided_service_instances/b51a3450-b1b3-484b-aec8-4061fcf1b7fb/routes"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 813
X-Content-Type-Options: nosniff