UrBackup API returns "error": 1

Hi everyone,

I was checking out UrBackup and trying to get information from the API. Unfortunately I didn’t go very far. Is-there any documentation for the API?

I was trying something very simple via curl:
curl -k -H “Content-Type: application/json” -H “Accept: application/json” -d ‘{“sa”:“listusers”}’ -X GET http://admin:xxxx@localhost:55414/x?a=settings
The response I received is:
“error”: 1

Basically everything I’m trying to do returns “error”: 1

Can I get some guidance on how to use the API, or any pointer to the API documentation?

Kind regards,

No API documentation AFAIK. Maybe this helps to get an idea: https://github.com/uroni/urbackup-server-python-web-api-wrapper