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.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNyIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzZ9.cVVLV6Hq1KCALrrYXfqFD9Bdde9thfetZ2h2CqBHyjo
Host: example.org
Cookie: 

Route

GET /v2/service_instances/86afd42a-1e96-4823-b646-0e5fb4558f0c

cURL

curl "https://api.[your-domain.com]/v2/service_instances/86afd42a-1e96-4823-b646-0e5fb4558f0c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzNyIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzZ9.cVVLV6Hq1KCALrrYXfqFD9Bdde9thfetZ2h2CqBHyjo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a99901cb-b923-4ebe-ab4f-cdd9b219464f
Content-Length: 824
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "86afd42a-1e96-4823-b646-0e5fb4558f0c",
    "url": "/v2/service_instances/86afd42a-1e96-4823-b646-0e5fb4558f0c",
    "created_at": "2015-02-10T01:42:56Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1620",
    "credentials": {
      "creds-key-519": "creds-val-519"
    },
    "service_plan_guid": "918cc3fd-f82f-49e4-a880-86655914bd7d",
    "space_guid": "58e72c88-22dd-4cec-81d6-3f94018957e9",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "last_operation": null,
    "space_url": "/v2/spaces/58e72c88-22dd-4cec-81d6-3f94018957e9",
    "service_plan_url": "/v2/service_plans/918cc3fd-f82f-49e4-a880-86655914bd7d",
    "service_bindings_url": "/v2/service_instances/86afd42a-1e96-4823-b646-0e5fb4558f0c/service_bindings"
  }
}