(#838) - Add api.sync and documentation