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.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU1fQ.Nfg-RrC4dzWY-svL_A1hqd9z8l_cpSQnJa0p2CBYUnA
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.eyJ1c2VyX2lkIjoidWFhLWlkLTY5IiwiZW1haWwiOiJlbWFpbC02MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU1fQ.Nfg-RrC4dzWY-svL_A1hqd9z8l_cpSQnJa0p2CBYUnA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9064b91b-4e9d-4e5d-8c54-964bda945ff4
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"
}