When enabled, space developers can perform scaling operations (i.e. change memory, disk or instances). When disabled, only admins can perform scaling operations.
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NSIsImVtYWlsIjoiZW1haWwtMjc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDl9.NR1kphIG7L7umLzyApsokSrAGo-EeOpPsj5uZ9y6F9E Host: example.org Cookie:
GET /v2/config/feature_flags/app_scaling
curl "https://api.[your-domain.com]/v2/config/feature_flags/app_scaling" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3NSIsImVtYWlsIjoiZW1haWwtMjc3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDl9.NR1kphIG7L7umLzyApsokSrAGo-EeOpPsj5uZ9y6F9E" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 68d0f290-6691-4859-92e5-e6636377bcd2 Content-Length: 120 X-Content-Type-Options: nosniff
200 OK
{ "name": "app_scaling", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/app_scaling" }