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
UTC timezone.
If an error occurs when processing an API request,
Result structure
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
are case-insensitive.
An error may occur on different stages of request processing.
not-found error is returned.invalid-content-type error is returned.invalid-syntax error is returned.not-supported error is returned.invalid-argument-value error is returned.authentication.required error
is returned.authentication.invalid error is returned.authentication.incorrect-signature error
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.blocked
error is returned.node-name-not-set error
is returned.signing-key-not-set
error is returned.server.misconfiguration error
is returned.naming.not-available error 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.