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 missing
- InvalidHeader - If the signature header is malformed
- InvalidBody - 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/v1/nodes
Request body
Response
Node public address registered successfully
Changes
Changed in 2 of the 13 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲