Home
Version 3
Service Brokers API

Service Brokers API

Retrieve a Particular Service Broker

GET /v2/service_brokers/:guid

Request

Route

GET /v2/service_brokers/275cff41-e9dc-43bc-8941-ec3b05dfa5ca

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM4OX0.Oj2DkhMWmHopvCW5VvIrfcjI1GslTIVaHc7Okkd7dlg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_brokers/275cff41-e9dc-43bc-8941-ec3b05dfa5ca" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEiLCJlbWFpbCI6ImVtYWlsLTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTk1ODM4OX0.Oj2DkhMWmHopvCW5VvIrfcjI1GslTIVaHc7Okkd7dlg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "275cff41-e9dc-43bc-8941-ec3b05dfa5ca",
    "url": "/v2/service_brokers/275cff41-e9dc-43bc-8941-ec3b05dfa5ca",
    "created_at": "2016-04-22T19:33:09Z",
    "updated_at": "2016-04-22T19:33:09Z"
  },
  "entity": {
    "name": "name-1",
    "broker_url": "https://foo.com/url-1",
    "auth_username": "auth_username-1",
    "space_guid": "da89e76a-b249-46c2-8ce4-221c90d29317"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2bfecc27-b0df-4a83-8c02-583df9f25498
Content-Length: 410
X-Content-Type-Options: nosniff