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.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNX0.uv-R7xun2Uvz9FBjzHX3wUa11dbU-IIZ6ndOOVzpYDc
Host: example.org
Cookie: 

Route

GET /v2/service_bindings/bba1e6ca-772e-48e6-acf3-d9ff0b3d9986

cURL

curl "https://api.[your-domain.com]/v2/service_bindings/bba1e6ca-772e-48e6-acf3-d9ff0b3d9986" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEzNX0.uv-R7xun2Uvz9FBjzHX3wUa11dbU-IIZ6ndOOVzpYDc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 4de1dbf5-1dac-410f-ac69-3953a48a4424
Content-Length: 694
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "bba1e6ca-772e-48e6-acf3-d9ff0b3d9986",
    "url": "/v2/service_bindings/bba1e6ca-772e-48e6-acf3-d9ff0b3d9986",
    "created_at": "2014-11-05T01:02:15+00:00",
    "updated_at": null
  },
  "entity": {
    "app_guid": "90bd3b3a-cc31-4e62-8d4a-4b175b6d83e4",
    "service_instance_guid": "563c1da0-6d63-42c1-b497-4513f6d3350e",
    "credentials": {
      "creds-key-165": "creds-val-165"
    },
    "binding_options": {

    },
    "gateway_data": null,
    "gateway_name": "",
    "syslog_drain_url": null,
    "app_url": "/v2/apps/90bd3b3a-cc31-4e62-8d4a-4b175b6d83e4",
    "service_instance_url": "/v2/service_instances/563c1da0-6d63-42c1-b497-4513f6d3350e"
  }
}