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.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzZ9.2IfGmTrQOrERcs0U3ji-YnRjcN49zSYxy0nXZoW8lg8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/app_bits_upload" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxOCIsImVtYWlsIjoiZW1haWwtMTUxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5MzZ9.2IfGmTrQOrERcs0U3ji-YnRjcN49zSYxy0nXZoW8lg8" \
	-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: 509e39c6-504a-424c-91fe-821c05cab85e
Content-Length: 128
X-Content-Type-Options: nosniff