auto scale: implemented api endpoint to enable autoscale.

related to #154.