Home
Version 3
Feature Flags API

Feature Flags API

Get the Diego Docker feature flag

GET /v2/config/feature_flags/diego_docker

When enabled, Docker applications are supported by Diego. When disabled, Docker applications will stop running. It will still be possible to stop and delete them and update their configurations.

Request

Route

GET /v2/config/feature_flags/diego_docker

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMiIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzZ9.UytPpxsdVoGGWdvVhABoD75U9BTBsA3hnC0P32QgsRU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/diego_docker" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMiIsImVtYWlsIjoiZW1haWwtMTU1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzZ9.UytPpxsdVoGGWdvVhABoD75U9BTBsA3hnC0P32QgsRU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "name": "diego_docker",
  "enabled": false,
  "error_message": null,
  "url": "/v2/config/feature_flags/diego_docker"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 46b9345a-b90f-4af4-9c58-83f725fb915e
Content-Length: 123
X-Content-Type-Options: nosniff