http://localhost:8888/api/v1. To read more about configuring the HTTP listener, see HTTP Listener Configuration. You can configure a HTTP listener, or a HTTPS listener to serve the HTTP API v1.
vmq-adminCLI tool, and anything that can be done using
vmq-admincan be done using the HTTP API. Note that the HTTP API is therefore subject to any changes made to the
vmq-admintools and their flags & options structure. All requests are performed doing a HTTP GET and if no errors occurred an HTTP 200 OK code is returned with a possible non-empty JSON payload.
curlwould look like this:
vmq-adminand the HTTP API is straightforward, and if one is already familiar with how the
vmq-admintool works, working with the API should be easy. The mapping works such that the command part of a
vmq-admininvocation is turned into a path, and the options and flags are turned into the query string.
vmq-admin session disconnect client-id=myclientcommand should be translated as:
vmq-admin session disconnect client-id=myclient --cleanupcommand should be translated as: