Moera Node API is a JSON-based REST API. See introduction to Node REST API in the Architecture Overview section. Until the API is stabilized, it may be changed in various ways and backward compatibility is not guaranteed.
timestamp below is the number of seconds that passed since 01-01-1970 00:00:00 in
If an error occurs when processing an API request,
is returned instead of the regular response. The structure contains the error code
and message, and also the HTTP status code is set accordingly. All error codes
An error may occur on different stages of request processing.
not-founderror is returned.
invalid-content-typeerror is returned.
invalid-syntaxerror is returned.
not-supportederror is returned.
invalid-argument-valueerror is returned.
authentication.requirederror is returned.
authentication.invaliderror is returned.
authentication.incorrect-signatureerror is returned.
carte.client-address-unknown– cannot determine client IP address;
carte.unknown-fingerprint– unknown fingerprint version encoded in the carte;
carte.invalid– the carte format is invalid;
carte.not-begun– the timespan of the carte has not begun yet;
carte.expired– the carte is expired;
carte.unknown-signing-key– cannot find public key for the carte owner;
carte.invalid-signature– carte signature is invalid.
authentication.blockederror is returned.
node-name-not-seterror is returned.
signing-key-not-seterror is returned.
server.misconfigurationerror is returned.
naming.not-availableerror is returned.
Authentication requirements, if specified in the request description, may be one of the following:
cid parameter may be passed with any request. See Events page for
the description of its purpose.