Nodes
Create node
This endpoint allows nodes to register or update their public address in the system. When a node comes online or changes its address, it can use this endpoint to ensure the system has its current address for routing requests.
Errors
Returns various AtomaProxyError
variants:
MissingHeader
- If the signature header is missingInvalidHeader
- If the signature header is malformedInvalidBody
- If:- The request body cannot be read
- The signature is invalid
- The body cannot be parsed
- The sui address doesn’t match the signature
InternalError
- If:- The state manager channel is closed
- The registration event cannot be sent
- Node Sui address lookup fails
POST
Body
application/json
Represents the payload for the node public address registration request.
The data required to register a node's public address
The signature of the data base 64 encoded
Response
200 - application/json
The message of the response