v1

latestOpenAPI 3.0.02026-07-175652103.9 KB
peer

Set the System Info

This function is an API endpoint that allows a connected client to update its system information. It is tagged with "peer" for OpenAPI documentation.

Parameters

  • request: The request data, which includes the system information.

Returns

If successful, this function returns a String with the message "SYSINFO_UPDATED". <br> If the system info is not found, this function returns a String with the message "ID_NOT_FOUND". <br>

Errors

This function will return an error if the system is in maintenance mode, or if the system info is not found.

post/api/sysinfo

Request body

cpustring nullable
hostnamestring nullable
idstring nullable
memorystring nullable
osstring nullable
usernamestring nullable
uuidstring nullable
versionstring nullable
ipstring nullable