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.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzUwfQ.iBX76FpToxDGJFEPipePiAHnH0CsrWpBB9g1MVYpyTQ
Host: example.org
Cookie: 

Route

GET /v2/service_instances/38366444-f32c-4728-acdc-aae1e8c0bcbd

cURL

curl "https://api.[your-domain.com]/v2/service_instances/38366444-f32c-4728-acdc-aae1e8c0bcbd" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3IiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzUwfQ.iBX76FpToxDGJFEPipePiAHnH0CsrWpBB9g1MVYpyTQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9832bd8c-7b1a-4da2-a58c-ec11f58743d8
Content-Length: 798
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "38366444-f32c-4728-acdc-aae1e8c0bcbd",
    "url": "/v2/service_instances/38366444-f32c-4728-acdc-aae1e8c0bcbd",
    "created_at": "2014-11-24T19:32:30+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-295",
    "credentials": {
      "creds-key-47": "creds-val-47"
    },
    "service_plan_guid": "e2abc45d-897d-42c9-966b-92930d44adfa",
    "space_guid": "c320a3b9-c71c-4a37-8ac4-10d978e95efd",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "space_url": "/v2/spaces/c320a3b9-c71c-4a37-8ac4-10d978e95efd",
    "service_plan_url": "/v2/service_plans/e2abc45d-897d-42c9-966b-92930d44adfa",
    "service_bindings_url": "/v2/service_instances/38366444-f32c-4728-acdc-aae1e8c0bcbd/service_bindings"
  }
}