Page or API call to retrieve Version?

I run a homelab, recently successfully got nextcloud and collabora working. I run release-argus to keep track of whether or not my stuff is up to date. release-argus has a handy feature where it can pull something (page, xml, json whatever) including key protected or pwd protected bits and then I can get a version number from that thing. Many apps like collabora have a handy API or page that provides this without a lot of pain. NextCloud for example has a very handy link (https://selfhosted.nextcloud.domain/status.php) which returns a bunch of JSON including a JSON element called “versionstring”. Does Collabora have a similar thing? API documentation doesn’t seem to have anything about versions in the output. Any hints or thoughts would be appreciated… any page or output that includes the version string in it will do, it doesn’t have to be API.
Any help would be appreciated.

So far I’m not finding a way for release-argus to read the header. if I was looking for endpoints like the hosting/discovery endpoint you show here where would I find documentation to find these?

https://sdk.collaboraonline.com/docs/How_to_integrate.html?highlight=hosting%20discovery#server-for-hosting-collabora-online

So… looking around some more I discovered this URL would work for me.
https://selfhosted.collabora.domain/hosting/capabilities
which very nicely returns a bunch of JSON one element of which is productVersion which is what I was looking for. Now if only it matched what release-argus retrieves from github (appears to be the tag value) for CollaboraOnline/richdocumentscode
The value release-argus retrieves is 24.4.702 and the productVersion value is 24.04.7.2

Turns out release-argus has a regex/template mechanism that can help solve this.

‘make run’ shows you the various end-points to click on there; it includes the version

http://localhost:9980/hosting/capabilities

Response:

{"convert-to":{"available":true,"endpoint":"/cool/convert-to"},"hasMobileSupport":true,"hasProxyPrefix":false,"hasTemplateSaveAs":false,"hasTemplateSource":true,"hasWASMSupport":false,"hasZoteroSupport":true,"productName":"Collabora Online Development Edition","productVersion":"24.04.7.2","productVersionHash":"c6c73bdf","serverId":"909ce1f1"}

Thanks,
Darshan