When enabled, space developers can perform scaling operations (i.e. change memory, disk or instances). When disabled, only admins can perform scaling operations.
GET /v2/config/feature_flags/app_scaling
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMyIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDV9.7Osl-7dlx37pa2IKpRZPjGJTOsTzlTYFwNpbVYDJazE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/app_scaling" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMyIsImVtYWlsIjoiZW1haWwtMTQ0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MDV9.7Osl-7dlx37pa2IKpRZPjGJTOsTzlTYFwNpbVYDJazE" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "app_scaling", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/app_scaling" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 3ee446b9-4f70-40eb-80ec-8718bfd65ade Content-Length: 120 X-Content-Type-Options: nosniff