You can find kodi's official documentation of the JSON-RCP API here and the full list of available commands (for protocol version 6) here. Remote control enable ...
sudo docker build -t kodi-api-java .