Home
Version 3
Feature Flags API

Feature Flags API

Get the App Bits Upload feature flag

GET /v2/config/feature_flags/app_bits_upload

When enabled, space developers can upload app bits. When disabled, only admin users can upload app bits

Request

Route

GET /v2/config/feature_flags/app_bits_upload

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NiIsImVtYWlsIjoiZW1haWwtODhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.JG2nPLTLv9TlqbTNnzBNmhx9D8wLIajS_kbH0YPGZO8
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

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

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5ab442ee-64f8-493b-99dd-1a53282ee5b6
Content-Length: 128
X-Content-Type-Options: nosniff