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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.NDop4ighI_y9OPiPknJ960BwUQ6We9WZlruVuEdb_jY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/diego_docker" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NCIsImVtYWlsIjoiZW1haWwtMjM5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.NDop4ighI_y9OPiPknJ960BwUQ6We9WZlruVuEdb_jY" \
	-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: fb413cb0-53fd-46b2-a8da-358b930b971e
Content-Length: 123
X-Content-Type-Options: nosniff