POST /witnesses
Register a witness node with the oracle. Witnesses are nodes that provide reports about the liveness of other nodes in the system.Request Body
The unique ID of the witness node to register
Request Example
Response
Status of the registration (“registered”)
Response Example
Error Codes
Invalid JSON in request body
Request method is not POST
cURL Example
Notes
- Witnesses must be registered before they can submit reports via the
/reportendpoint - Each witness should have a unique ID in the system
- Registering the same witness ID multiple times is idempotent