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.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OCIsImVtYWlsIjoiZW1haWwtMTI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDN9.B_1-C74VCZhHDi509J7K4zkz0st7a1M_iKb3LEfV4vo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/app_bits_upload" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3OCIsImVtYWlsIjoiZW1haWwtMTI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDN9.B_1-C74VCZhHDi509J7K4zkz0st7a1M_iKb3LEfV4vo" \
	-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: bd69d7d5-0256-439d-8cf7-2bfaf0909dc9
Content-Length: 128
X-Content-Type-Options: nosniff