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/17f7938c-a0bb-4fc1-84de-c4721b4f01e2

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC02OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA4fQ.jDkOmctUeL5rAXTGR0-xUOBG3RAHIr0gE_bJDlKtNHE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/17f7938c-a0bb-4fc1-84de-c4721b4f01e2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTcwIiwiZW1haWwiOiJlbWFpbC02OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyMzEzNjA4fQ.jDkOmctUeL5rAXTGR0-xUOBG3RAHIr0gE_bJDlKtNHE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "17f7938c-a0bb-4fc1-84de-c4721b4f01e2",
    "url": "/v2/user_provided_service_instances/17f7938c-a0bb-4fc1-84de-c4721b4f01e2",
    "created_at": "2015-05-15T16:53:28Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-340",
    "credentials": {
      "creds-key-167": "creds-val-167"
    },
    "space_guid": "dfc39974-b745-49c7-a065-4024cd07d816",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-26",
    "space_url": "/v2/spaces/dfc39974-b745-49c7-a065-4024cd07d816",
    "service_bindings_url": "/v2/user_provided_service_instances/17f7938c-a0bb-4fc1-84de-c4721b4f01e2/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6e1f162a-653e-4abf-8364-c777c459a12c
Content-Length: 679
X-Content-Type-Options: nosniff