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/c97acc24-a686-4ef4-85f2-a0359c7b155b

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTl9.AayOh-hKnGNv42dNbelApCAzR7ktwWtUfY8N0Yp6Kzo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/c97acc24-a686-4ef4-85f2-a0359c7b155b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMzAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTl9.AayOh-hKnGNv42dNbelApCAzR7ktwWtUfY8N0Yp6Kzo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "c97acc24-a686-4ef4-85f2-a0359c7b155b",
    "url": "/v2/user_provided_service_instances/c97acc24-a686-4ef4-85f2-a0359c7b155b",
    "created_at": "2015-08-31T21:50:19Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2406",
    "credentials": {
      "creds-key-680": "creds-val-680"
    },
    "space_guid": "7075f739-c4e0-48e9-9a91-2bdd0fb6512e",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-109",
    "space_url": "/v2/spaces/7075f739-c4e0-48e9-9a91-2bdd0fb6512e",
    "service_bindings_url": "/v2/user_provided_service_instances/c97acc24-a686-4ef4-85f2-a0359c7b155b/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: df0d9bee-96f6-4a15-94b1-e08193029d5a
Content-Length: 681
X-Content-Type-Options: nosniff