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.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzR9.GO_TRJJjxJumM7qtSWWUp9X6Obf5eZC8YAUFpo1usEw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/app_bits_upload" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3NyIsImVtYWlsIjoiZW1haWwtMTEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1MzR9.GO_TRJJjxJumM7qtSWWUp9X6Obf5eZC8YAUFpo1usEw" \
	-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: 7e454459-23bc-43e4-9821-a86a04e6f8cc
Content-Length: 128
X-Content-Type-Options: nosniff