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.eyJ1c2VyX2lkIjoidWFhLWlkLTk1IiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIzfQ.ssn17dYLwFqMwx-72i_socES2FxkuAUCXV8SMQ3ss3w
Host: example.org
Cookie: 

Route

GET /v2/service_instances/fb5dd7af-cae1-4d7f-b745-1ee11501f1ee

cURL

curl "https://api.[your-domain.com]/v2/service_instances/fb5dd7af-cae1-4d7f-b745-1ee11501f1ee" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk1IiwiZW1haWwiOiJlbWFpbC02NkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIzfQ.ssn17dYLwFqMwx-72i_socES2FxkuAUCXV8SMQ3ss3w" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8462d413-bbc0-4946-8c22-2067bcc69be5
Content-Length: 823
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "fb5dd7af-cae1-4d7f-b745-1ee11501f1ee",
    "url": "/v2/service_instances/fb5dd7af-cae1-4d7f-b745-1ee11501f1ee",
    "created_at": "2015-02-12T01:42:03Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-341",
    "credentials": {
      "creds-key-141": "creds-val-141"
    },
    "service_plan_guid": "1627659e-502a-4062-8d84-2488535cf5a4",
    "space_guid": "1608da71-75ca-4dbf-8999-e855c42501a3",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "last_operation": null,
    "space_url": "/v2/spaces/1608da71-75ca-4dbf-8999-e855c42501a3",
    "service_plan_url": "/v2/service_plans/1627659e-502a-4062-8d84-2488535cf5a4",
    "service_bindings_url": "/v2/service_instances/fb5dd7af-cae1-4d7f-b745-1ee11501f1ee/service_bindings"
  }
}