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/2365786e-5463-4493-908d-b94817583715

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOSIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjB9.eDPFluspPg77jMheOqcS_udCz6-SdpOAWPZq6C_b9Yk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/2365786e-5463-4493-908d-b94817583715" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwOSIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjM2MTg3MjB9.eDPFluspPg77jMheOqcS_udCz6-SdpOAWPZq6C_b9Yk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2365786e-5463-4493-908d-b94817583715",
    "url": "/v2/user_provided_service_instances/2365786e-5463-4493-908d-b94817583715",
    "created_at": "2016-05-12T00:45:20Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1717",
    "credentials": {
      "creds-key-52": "creds-val-52"
    },
    "space_guid": "47537e75-cf14-41fa-a6ab-c9c05183ccfa",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-73",
    "route_service_url": null,
    "space_url": "/v2/spaces/47537e75-cf14-41fa-a6ab-c9c05183ccfa",
    "service_bindings_url": "/v2/user_provided_service_instances/2365786e-5463-4493-908d-b94817583715/service_bindings",
    "routes_url": "/v2/user_provided_service_instances/2365786e-5463-4493-908d-b94817583715/routes"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2a9d85d6-375f-4f51-a9ec-752d2edb9726
Content-Length: 810
X-Content-Type-Options: nosniff