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.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDN9.uDTtVsSO9llLMWRYe5QQb_sBiwclco5Wlij_Qwag_pc
Host: example.org
Cookie: 

Route

GET /v2/service_instances/cf0410e0-eafd-4f12-87d8-3a8afa876594

cURL

curl "https://api.[your-domain.com]/v2/service_instances/cf0410e0-eafd-4f12-87d8-3a8afa876594" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNiIsImVtYWlsIjoiZW1haWwtMTQ3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NDN9.uDTtVsSO9llLMWRYe5QQb_sBiwclco5Wlij_Qwag_pc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 1114f943-63ff-4ff9-a6d8-a6185e676610
Content-Length: 851
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "cf0410e0-eafd-4f12-87d8-3a8afa876594",
    "url": "/v2/service_instances/cf0410e0-eafd-4f12-87d8-3a8afa876594",
    "created_at": "2015-01-20T01:52:23+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1424",
    "credentials": {
      "creds-key-326": "creds-val-326"
    },
    "service_plan_guid": "64af304f-3832-4dad-8ad1-651812c57f54",
    "space_guid": "cd6ae5bb-c617-4295-ab4a-e16ab52d68a3",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "state": null,
    "state_description": null,
    "space_url": "/v2/spaces/cd6ae5bb-c617-4295-ab4a-e16ab52d68a3",
    "service_plan_url": "/v2/service_plans/64af304f-3832-4dad-8ad1-651812c57f54",
    "service_bindings_url": "/v2/service_instances/cf0410e0-eafd-4f12-87d8-3a8afa876594/service_bindings"
  }
}