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/386615a2-3e8c-4074-ac84-920322b8c39e

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMiIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDd9.s8-9vwWMXXjCZyU7aBJSSnvsbuG4DcP1xt-FWvx_Mj8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/386615a2-3e8c-4074-ac84-920322b8c39e" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMiIsImVtYWlsIjoiZW1haWwtMTUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MDd9.s8-9vwWMXXjCZyU7aBJSSnvsbuG4DcP1xt-FWvx_Mj8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "386615a2-3e8c-4074-ac84-920322b8c39e",
    "url": "/v2/user_provided_service_instances/386615a2-3e8c-4074-ac84-920322b8c39e",
    "created_at": "2015-04-07T19:11:47Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-615",
    "credentials": {
      "creds-key-331": "creds-val-331"
    },
    "space_guid": "9bff4aa0-79f5-4652-89aa-858634954602",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-35",
    "space_url": "/v2/spaces/9bff4aa0-79f5-4652-89aa-858634954602",
    "service_bindings_url": "/v2/user_provided_service_instances/386615a2-3e8c-4074-ac84-920322b8c39e/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5be2ed25-bc38-4e58-ae54-02068d7d6b2e
Content-Length: 679
X-Content-Type-Options: nosniff