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/322bb4bb-6593-4925-a051-6d321b3226d5

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNSIsImVtYWlsIjoiZW1haWwtMjQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDN9.W1MALVE4UKfsMotNNgIfQS4cRNULC2At_GdkS_6IhRk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/322bb4bb-6593-4925-a051-6d321b3226d5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxNSIsImVtYWlsIjoiZW1haWwtMjQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2NDN9.W1MALVE4UKfsMotNNgIfQS4cRNULC2At_GdkS_6IhRk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "322bb4bb-6593-4925-a051-6d321b3226d5",
    "url": "/v2/user_provided_service_instances/322bb4bb-6593-4925-a051-6d321b3226d5",
    "created_at": "2015-05-07T23:37:23Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1952",
    "credentials": {
      "creds-key-542": "creds-val-542"
    },
    "space_guid": "b9ce8599-0dec-4b82-a91a-bd6bc398aac7",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-79",
    "space_url": "/v2/spaces/b9ce8599-0dec-4b82-a91a-bd6bc398aac7",
    "service_bindings_url": "/v2/user_provided_service_instances/322bb4bb-6593-4925-a051-6d321b3226d5/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4101312c-1696-41b5-ab8b-43cac6f3dd94
Content-Length: 680
X-Content-Type-Options: nosniff