Skip to main content
POST
Register a new serverhost

Authorizations

Authorization
string
header
required

JWT sent in Authorization: Bearer . Access depends on the token's network membership and permissions. The admin endpoint requires admin claims.

Headers

X-Network-ID
string
required

Network ID

Body

application/json

Serverhost details

Serverhost details

host_name
string
Example:

"ServerHost-1"

maximum_memory
integer
Example:

8192

Response

Created

Response for serverhost registration

host_name
string
Example:

"ServerHost-1"

last_keep_alive
string
Example:

"2023-01-01T12:00:00Z"

maximum_memory
integer
Example:

8192

message
string
Example:

"Serverhost registered successfully"

network_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

serverhost_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"