register
Host
@PostMapping
Endpoint used to register a new host
Return
the response as String
Parameters
sessionId
The identifier of the session
language
The language of the user who sent the request
payload
The payload of the request
{
"name" : "the name of the host" -> [String],
"host_address" : "the address of the host" -> [String]
-- OPTIONAL --
"ssh_user" : "the user of the SSH connection" -> [String],
"ssh_password" : "the password of the SSH connection" -> [String]
}
Content copied to clipboard