How do I find, then query, the ML server REST API to give me the data hub version running on a MarkLogic 9 system on linux please?
I tried using https://docs.marklogic.com/datahub/5.2/tools/rest/rest-extensions.html but then realized I had no way to actually tell which TCP port on the server that the REST API was running on.
I can access port 8001 and see all the Admin, App-Services App Servers ( I am local admin on box ) but the ML doco seems to point to port 8001. But when I use the URL of https://localhost:8001/v1/resources/mlHubversion I get an error.
I'm a database guy, not a web dev, so you will need to be patient with me.
Any help appreciated.