Home
Version 3
Feature Flags API

Feature Flags API

Get the Space Developer Environment Variable Visibility feature flag (experimental)

GET /v2/config/feature_flags/space_developer_env_var_visibility

When enabled, space developers can do a get on the /v2/apps/:guid/env and /v3/apps/:guid/env end points. When disabled, space developers can no longer do a get against these end points.

Request

Route

GET /v2/config/feature_flags/space_developer_env_var_visibility

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk4IiwiZW1haWwiOiJlbWFpbC02N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4Mzk0fQ._0a760T6HKPeGr5czu_GERPSTbirMYDZN7qfR5_DkeY
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "name": "space_developer_env_var_visibility",
  "enabled": true,
  "error_message": null,
  "url": "/v2/config/feature_flags/space_developer_env_var_visibility"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5946d353-de18-4487-a159-1df262b60fff
Content-Length: 166
X-Content-Type-Options: nosniff