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.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.M6x12-zWwQMNQkqwTPEJ6sKdBmA2WnBBLs57Q3u1rrY Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/app_scaling" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.M6x12-zWwQMNQkqwTPEJ6sKdBmA2WnBBLs57Q3u1rrY" \ -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: 057d755a-4ba9-46f9-abd8-3f60bc7d2f55 Content-Length: 120 X-Content-Type-Options: nosniff