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/8543f74f-0368-4da5-9031-7d07354672b1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNiIsImVtYWlsIjoiZW1haWwtMzA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDZ9.9RRbG2phJjOp2zmDEYDQegC_uDLs-Ub7w-RM2_TDnzY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/8543f74f-0368-4da5-9031-7d07354672b1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNiIsImVtYWlsIjoiZW1haWwtMzA0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDZ9.9RRbG2phJjOp2zmDEYDQegC_uDLs-Ub7w-RM2_TDnzY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "8543f74f-0368-4da5-9031-7d07354672b1",
    "url": "/v2/user_provided_service_instances/8543f74f-0368-4da5-9031-7d07354672b1",
    "created_at": "2015-10-07T00:35:46Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2367",
    "credentials": {
      "creds-key-676": "creds-val-676"
    },
    "space_guid": "e89f566f-a692-4bbe-8210-f80ba81ad74d",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-91",
    "space_url": "/v2/spaces/e89f566f-a692-4bbe-8210-f80ba81ad74d",
    "service_bindings_url": "/v2/user_provided_service_instances/8543f74f-0368-4da5-9031-7d07354672b1/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bbe613e9-9064-4eb3-8071-b3ebcff8c0a8
Content-Length: 680
X-Content-Type-Options: nosniff