Home
Version 3
Feature Flags API

Feature Flags API

Get the App Scaling feature flag

GET /v2/config/feature_flags/app_scaling

When enabled, space developers can perform scaling operations (i.e. change memory, disk or instances). When disabled, only admin users can perform scaling operations.

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzh9.gak6MD6dr4_Am6oNH61LctyWLDjoSMXqungCht7eHIk
Host: example.org
Cookie: 

Route

GET /v2/config/feature_flags/app_scaling

cURL

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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e4fdbb76-d973-446c-acac-75d02bda66d1
Content-Length: 120
X-Content-Type-Options: nosniff

Status

200 OK

Body

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