The safe way for the future would be the available WebAPI.
As an example this is the call to fetch all available API endpoints.
http://<SynIP>:<port>/webapi/query.cgi?api=SYNO.API.Info
with the params
version: 1
method: query
query: all
The dev guide for login to the API resources can be found here.
For active backup you have then the possibility to fetch information with an call like this.
http://<SynIP>:<port>/webapi/entry.cgi?api=SYNO.ActiveBackup.Log
here you need the params
version: 1
method: list
_sid: auth_sid