Plan was to make Cospend public API strictly identical to IHateMoney API but there is a restriction i couldn't bypass : the authentication system. IHateMoney uses the basic HTTP authentication, just like Nextcloud user authentication. So, to get a guest access to a Cospend project, this type of authentication was first rejected by Nextcloud user auth system and then accepted by Cospend with a huge latency.
So the only differences between IHateMoney API and Cospend API are :
- the password has to be included in the URL path, just after the project ID, like that :
- The parameter
payed_forcannot be given multiple times like in IHateMoney. It has to be given once with coma separated values.
Detailed API description will come later.