You are probably asking in the wrong place. Totara is a fork of Moodle and I believe that currently source code is not publicly available. The people who are most likely to be able to answer your question are the people who produce Totara. The chances are that it is highly compatible at the moment and will gradually become slightly less compatible over time.
Moodle And Totara Web Services API Compatibility
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.