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 admins can perform scaling operations.

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzZ9.sEfgFuki5JutKsOXB4iuIKW0GxhrNI3OvM7Y1A_lMDA
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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2MSIsImVtYWlsIjoiZW1haWwtMjAxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMzZ9.sEfgFuki5JutKsOXB4iuIKW0GxhrNI3OvM7Y1A_lMDA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0f684bd7-aff2-40d2-b20f-ca0348906d9e
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"
}