Add documention for api.sync