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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTN9.kFB2_z1mjmlhWjC0zu6YAtygOsxjuxTupAdfQXM-9VU
Host: example.org
Cookie: 

Route

GET /v2/service_instances/42c02be3-9e24-4da4-ad1c-04ee673a22a2

cURL

curl "https://api.[your-domain.com]/v2/service_instances/42c02be3-9e24-4da4-ad1c-04ee673a22a2" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4OCIsImVtYWlsIjoiZW1haWwtMjEzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTN9.kFB2_z1mjmlhWjC0zu6YAtygOsxjuxTupAdfQXM-9VU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 66392a95-7499-499b-aa6a-a214676f7bb0
Content-Length: 801
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "42c02be3-9e24-4da4-ad1c-04ee673a22a2",
    "url": "/v2/service_instances/42c02be3-9e24-4da4-ad1c-04ee673a22a2",
    "created_at": "2014-11-13T23:38:33+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1198",
    "credentials": {
      "creds-key-464": "creds-val-464"
    },
    "service_plan_guid": "d5c88d5b-6243-48ea-9f74-ab03ac2dfe50",
    "space_guid": "35ff7f42-2704-48b3-98ba-602196c10cf5",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "space_url": "/v2/spaces/35ff7f42-2704-48b3-98ba-602196c10cf5",
    "service_plan_url": "/v2/service_plans/d5c88d5b-6243-48ea-9f74-ab03ac2dfe50",
    "service_bindings_url": "/v2/service_instances/42c02be3-9e24-4da4-ad1c-04ee673a22a2/service_bindings"
  }
}