I have set up my LtAP Mini with a GPS and configured it so that I can query the router via the REST API in v7 of RouterOS.
I can access the GPS settings via cURL with:
curl -k -u admin: https://10.155.101.214/rest/system/gps
I would really like to be able to access the GPS data using this method, but don't seem to be able to. I've tried adding /method onto the end of the request string with no luck, and a bunch of other similar things.
Does anyone know what the command I'm looking for is? Ideally to return the GPS data as a JSON.