GET/connections

Get active connections

Returns a list of currently active connections, including details about each connected user and their ongoing uploads or downloads

5 status codes
200successful operation
active_transfersarray<object>optional
client_versionstringoptional
client version
commandstringoptional
Last SSH/FTP command or WebDAV method
connection_idstringoptional
unique connection identifier
connection_timeintegeroptional
connection time as unix timestamp in milliseconds
current_timeintegeroptional
server time when the connection was rendered, as unix timestamp in milliseconds. Measure the idle time of a connection against this value, the clock of the client can differ
last_activityintegeroptional
last client activity as unix timestamp in milliseconds
nodestringoptional
Node identifier, omitted for single node installations
protocolstringoptional
Allowed:SFTPSCPSSHFTPDAV
remote_addressstringoptional
Remote address for the connected client
usernamestringoptional
connected username
401Unauthorized
errorstringoptional
error description if any
messagestringoptional
message, can be empty
403Forbidden
errorstringoptional
error description if any
messagestringoptional
message, can be empty
500Internal Server Error
errorstringoptional
error description if any
messagestringoptional
message, can be empty
defaultUnexpected Error
errorstringoptional
error description if any
messagestringoptional
message, can be empty

Error handling

A 401 is returned: Unauthorized. A 403 is returned: Forbidden. A 500 is returned: Internal Server Error. Any other status is an error: Unexpected Error.