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

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NSIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzN9.3WfikdIBbwzG6lDxi45etbpHQ5zzz6Bs_LAT5kD7QGc
Host: example.org
Cookie: 

Route

GET /v2/user_provided_service_instances/f0d9fdd1-343a-4f8d-a5d0-96bb26bf7dce

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/f0d9fdd1-343a-4f8d-a5d0-96bb26bf7dce" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5NSIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzN9.3WfikdIBbwzG6lDxi45etbpHQ5zzz6Bs_LAT5kD7QGc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 06ee84c4-f4bf-4226-937b-ffe5d456772c
Content-Length: 685
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "f0d9fdd1-343a-4f8d-a5d0-96bb26bf7dce",
    "url": "/v2/user_provided_service_instances/f0d9fdd1-343a-4f8d-a5d0-96bb26bf7dce",
    "created_at": "2014-12-24T01:39:33+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1497",
    "credentials": {
      "creds-key-334": "creds-val-334"
    },
    "space_guid": "8a5cac24-5a54-44b0-b4d6-29f9288cdebd",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-74",
    "space_url": "/v2/spaces/8a5cac24-5a54-44b0-b4d6-29f9288cdebd",
    "service_bindings_url": "/v2/user_provided_service_instances/f0d9fdd1-343a-4f8d-a5d0-96bb26bf7dce/service_bindings"
  }
}