Add rotation api to sandbox