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/d3e47e17-a776-4896-983a-f20cf591242f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNCIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NDd9.SM23hOgqdDdLCL8sntgOVwiLkVKes1aPvGG_d7PAZoc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/d3e47e17-a776-4896-983a-f20cf591242f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNCIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NDd9.SM23hOgqdDdLCL8sntgOVwiLkVKes1aPvGG_d7PAZoc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d3e47e17-a776-4896-983a-f20cf591242f",
    "url": "/v2/user_provided_service_instances/d3e47e17-a776-4896-983a-f20cf591242f",
    "created_at": "2016-04-06T00:17:27Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-611",
    "credentials": {
      "creds-key-23": "creds-val-23"
    },
    "space_guid": "8918c551-b5bf-446f-a4e9-2509bd677da7",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-41",
    "route_service_url": null,
    "space_url": "/v2/spaces/8918c551-b5bf-446f-a4e9-2509bd677da7",
    "service_bindings_url": "/v2/user_provided_service_instances/d3e47e17-a776-4896-983a-f20cf591242f/service_bindings",
    "routes_url": "/v2/user_provided_service_instances/d3e47e17-a776-4896-983a-f20cf591242f/routes"
  }
}

Headers

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