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.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNyIsImVtYWlsIjoiZW1haWwtMzA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDB9.7ZEC8NLW9qSCSEPWkqWq3ZkiuWsStdm8pKGJ2oMWk54
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/diego_docker" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNyIsImVtYWlsIjoiZW1haWwtMzA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDB9.7ZEC8NLW9qSCSEPWkqWq3ZkiuWsStdm8pKGJ2oMWk54" \
	-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: 
Content-Length: 123
X-Content-Type-Options: nosniff