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/4ec89316-d63b-4965-957c-31349a0f9f1c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NiIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5Njh9.2HC46e87sBgVK1mOtwHTtcdSCoKnQPKBXMkklaS4NQ8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/4ec89316-d63b-4965-957c-31349a0f9f1c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NiIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5Njh9.2HC46e87sBgVK1mOtwHTtcdSCoKnQPKBXMkklaS4NQ8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "4ec89316-d63b-4965-957c-31349a0f9f1c",
    "url": "/v2/user_provided_service_instances/4ec89316-d63b-4965-957c-31349a0f9f1c",
    "created_at": "2015-10-15T23:52:48Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-2358",
    "credentials": {
      "creds-key-612": "creds-val-612"
    },
    "space_guid": "e5b1f9b1-740e-47d5-9434-3b5145bebd54",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-119",
    "route_service_url": null,
    "space_url": "/v2/spaces/e5b1f9b1-740e-47d5-9434-3b5145bebd54",
    "service_bindings_url": "/v2/user_provided_service_instances/4ec89316-d63b-4965-957c-31349a0f9f1c/service_bindings",
    "routes_url": "/v2/user_provided_service_instances/4ec89316-d63b-4965-957c-31349a0f9f1c/routes"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: edae17e9-9302-4d6a-b9d8-699bcef2f4c8
Content-Length: 813
X-Content-Type-Options: nosniff