Register a new Host
Format
Method | POST |
---|---|
URL | /host/register |
Request contents | HostRegister Object |
Successful answer | RegisterResult Object |
Unexpected error | HTTP 500 |
HostRegister Object
Schema
host_id | String | Host's unique identifier |
---|---|---|
ssh_pubkey | String | SSH public key of user flexvdi in the Host |
ssh_serverkey | String | SSH host key of the Host |
JSON example
{ "host_id": "flexdemo", "ssh_pubkey": "ssh-rsa AAAAB3Nz...", "ssh_serverkey": "ssh-rsa AAAAB3Nz..." }
RegisterResult Object
Schema
status | String | "OK" or "Error" |
---|---|---|
message | String | Secret key to authenticate Manager requests to flexVDI Agent |
JSON example
{ "status": "OK", "message": "92e61aff-e627-44d0-ad68-aa721438aec7" }