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/f2a7164a-8a50-4d78-a75e-8d2a10f0d6f6

Parameters

Name Description Valid Values Example Values
guid The guid of the User Provided Service Instance

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzM4fQ.3XMrNv_cfdfGcvlQm6IDwN_qeQoN82aCfa-wrPmJtw8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/f2a7164a-8a50-4d78-a75e-8d2a10f0d6f6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5IiwiZW1haWwiOiJlbWFpbC0zOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2MTg3NzM4fQ.3XMrNv_cfdfGcvlQm6IDwN_qeQoN82aCfa-wrPmJtw8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f2a7164a-8a50-4d78-a75e-8d2a10f0d6f6",
    "url": "/v2/user_provided_service_instances/f2a7164a-8a50-4d78-a75e-8d2a10f0d6f6",
    "created_at": "2015-03-05T19:15:38Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-205",
    "credentials": {
      "creds-key-100": "creds-val-100"
    },
    "space_guid": "a939f022-afcf-4c8d-83e1-a16481254a79",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-19",
    "space_url": "/v2/spaces/a939f022-afcf-4c8d-83e1-a16481254a79",
    "service_bindings_url": "/v2/user_provided_service_instances/f2a7164a-8a50-4d78-a75e-8d2a10f0d6f6/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 67c745dc-b3e3-4d80-ac1a-d2ff883b8bf3
Content-Length: 679
X-Content-Type-Options: nosniff