Home
Version 3
Service Bindings API

Service Bindings API

Retrieve a Particular Service Binding

GET /v2/service_bindings/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Binding

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMTgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDh9.Qdvdf_EFN9xm3R1isR1CS99CFQYjQFz5yQ1oBBgN3Hg
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/773bbac7-178f-4bff-87b7-671c5ab63973

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/773bbac7-178f-4bff-87b7-671c5ab63973" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OCIsImVtYWlsIjoiZW1haWwtMTgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDh9.Qdvdf_EFN9xm3R1isR1CS99CFQYjQFz5yQ1oBBgN3Hg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 037fbc6f-a690-476b-8050-538fedcc62c2
Content-Length: 694
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "773bbac7-178f-4bff-87b7-671c5ab63973",
    "url": "/v2/service_bindings/773bbac7-178f-4bff-87b7-671c5ab63973",
    "created_at": "2014-11-13T23:38:28+00:00",
    "updated_at": null
  },
  "entity": {
    "app_guid": "b7044ab4-c094-4612-8f08-7fdac021e39f",
    "service_instance_guid": "ee844afb-ca66-4adc-8944-6c55aa12a386",
    "credentials": {
      "creds-key-391": "creds-val-391"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/b7044ab4-c094-4612-8f08-7fdac021e39f",
    "service_instance_url": "/v2/service_instances/ee844afb-ca66-4adc-8944-6c55aa12a386"
  }
}