Home
Version 3
Service Instances API

Service Instances API

Retrieve a Particular Service Instance

GET /v2/service_instances/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEyOX0.rT6e0Vm8lfuzK_CqEDZP7_Z_2r0eAX_0kNi87gCd-iw
Host: example.org
Cookie: 

Route

GET /v2/service_instances/2f723d9d-cf57-44e4-9190-16cef4a99fc5

cURL

curl "https://api.[your-domain.com]/v2/service_instances/2f723d9d-cf57-44e4-9190-16cef4a99fc5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNTc1NDEyOX0.rT6e0Vm8lfuzK_CqEDZP7_Z_2r0eAX_0kNi87gCd-iw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2bc4049d-fc23-4e6a-a874-5853469c1639
Content-Length: 797
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "2f723d9d-cf57-44e4-9190-16cef4a99fc5",
    "url": "/v2/service_instances/2f723d9d-cf57-44e4-9190-16cef4a99fc5",
    "created_at": "2014-11-05T01:02:09+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-46",
    "credentials": {
      "creds-key-21": "creds-val-21"
    },
    "service_plan_guid": "f195b0da-91eb-4099-8961-0ebb9291574c",
    "space_guid": "6480f0ba-0d90-4d2b-affe-3dafb1ee4755",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "space_url": "/v2/spaces/6480f0ba-0d90-4d2b-affe-3dafb1ee4755",
    "service_plan_url": "/v2/service_plans/f195b0da-91eb-4099-8961-0ebb9291574c",
    "service_bindings_url": "/v2/service_instances/2f723d9d-cf57-44e4-9190-16cef4a99fc5/service_bindings"
  }
}