On Tue, Dec 22, 2020 at 12:11 AM astergi <[email protected]> wrote:
> > Also, is there a way to get the connection history data using guacamole > API? > Or is the only way to do queries directly to the guacamole's database? > > Yes, as with pretty much everything that is available in the web page, both connection and user login history are available via API endpoints. The endpoints are as follows: http://server.domain.tld/guacamole/api/session/data/{dbtype}/history/connections -> Full connection history http://server.domain.tld/guacamole/api/session/data/{dbtype}/history/users -> Full user login history http://server.domain.tld/guacamole/api/session/data/{dbtype}/connections/{identifier}/history -> History for specific connection http://server.domain.tld/guacamole/api/session/data/{dbtype}/users/{identifier}/history -> History for specific user In the examples above, {dbtype} would be replaced by the DB module (mysql, postgresql, or sqlserver), and then {identifier} would be replaced with either a username or a connection identifier. -Nick
