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/204b1dbd-f450-415d-880c-d50a17802769

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzF9.uhs5Oh1B-fUz3Bv2sh7fdPi5VKf1VrUJJJYGdWSj6Ug
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/204b1dbd-f450-415d-880c-d50a17802769" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NSIsImVtYWlsIjoiZW1haWwtMTk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzF9.uhs5Oh1B-fUz3Bv2sh7fdPi5VKf1VrUJJJYGdWSj6Ug" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "204b1dbd-f450-415d-880c-d50a17802769",
    "url": "/v2/user_provided_service_instances/204b1dbd-f450-415d-880c-d50a17802769",
    "created_at": "2015-03-18T22:52:51Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1027",
    "credentials": {
      "creds-key-439": "creds-val-439"
    },
    "space_guid": "b5a82145-93f6-4ab9-894a-828fa9732e67",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-34",
    "space_url": "/v2/spaces/b5a82145-93f6-4ab9-894a-828fa9732e67",
    "service_bindings_url": "/v2/user_provided_service_instances/204b1dbd-f450-415d-880c-d50a17802769/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7768fe49-c48d-441d-9a67-ac0a8db840bc
Content-Length: 680
X-Content-Type-Options: nosniff