API: Execute commands

The endpoint /x allows you to execute some (administrative) commands. To differentiate between the possible commands, you have to set the query parameter cmd to a specific value:

authenticated

Check for authentication

refresh

Refresh internal data

Other commands will be defined in the future.