api : return last sync time
api : get and set last_sync_time