Feature Flags API

Get all feature flags

GET /v2/config/feature_flags

Request

Route

GET /v2/config/feature_flags

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.4S2ZxoW3EnAWNGvEUWHEgIoCnKikP-qgQunGi3fG1vE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.4S2ZxoW3EnAWNGvEUWHEgIoCnKikP-qgQunGi3fG1vE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

[
  {
    "name": "user_org_creation",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/user_org_creation"
  },
  {
    "name": "private_domain_creation",
    "enabled": false,
    "error_message": "foobar",
    "url": "/v2/config/feature_flags/private_domain_creation"
  },
  {
    "name": "app_bits_upload",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/app_bits_upload"
  },
  {
    "name": "app_scaling",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/app_scaling"
  },
  {
    "name": "route_creation",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/route_creation"
  },
  {
    "name": "service_instance_creation",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/service_instance_creation"
  },
  {
    "name": "diego_docker",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/diego_docker"
  },
  {
    "name": "set_roles_by_username",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/set_roles_by_username"
  },
  {
    "name": "unset_roles_by_username",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/unset_roles_by_username"
  },
  {
    "name": "task_creation",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/task_creation"
  },
  {
    "name": "env_var_visibility",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/env_var_visibility"
  },
  {
    "name": "space_scoped_private_broker_creation",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/space_scoped_private_broker_creation"
  },
  {
    "name": "space_developer_env_var_visibility",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/space_developer_env_var_visibility"
  },
  {
    "name": "service_instance_sharing",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/service_instance_sharing"
  },
  {
    "name": "hide_marketplace_from_unauthenticated_users",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/hide_marketplace_from_unauthenticated_users"
  },
  {
    "name": "resource_matching",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/resource_matching"
  }
]

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 03585de4-8664-4d06-b7d0-33c6eee9d63e
Content-Length: 1842
X-Content-Type-Options: nosniff