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/ba477aa3-9748-44e9-ab40-76d046a45fa8

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQxfQ.S-yEovCfAMgC9sO8O_LlLYXHvofPR8pNxiT9vkPNgLY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/ba477aa3-9748-44e9-ab40-76d046a45fa8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyIiwiZW1haWwiOiJlbWFpbC0yMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQxfQ.S-yEovCfAMgC9sO8O_LlLYXHvofPR8pNxiT9vkPNgLY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "ba477aa3-9748-44e9-ab40-76d046a45fa8",
    "url": "/v2/user_provided_service_instances/ba477aa3-9748-44e9-ab40-76d046a45fa8",
    "created_at": "2015-03-20T18:27:21Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-114",
    "credentials": {
      "creds-key-59": "creds-val-59"
    },
    "space_guid": "72ef40fc-35e9-4418-9b0f-74444f8c29b1",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-14",
    "space_url": "/v2/spaces/72ef40fc-35e9-4418-9b0f-74444f8c29b1",
    "service_bindings_url": "/v2/user_provided_service_instances/ba477aa3-9748-44e9-ab40-76d046a45fa8/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9245c499-48b8-460c-97ab-f31737735750
Content-Length: 677
X-Content-Type-Options: nosniff