JSON-RPC API
The JSON-RPC API is the low level API of the Spaceify core. The methods exposed in the core can be requests with JSON-RPC v2.0 requests. The calls return JSON-RPC v2.0 compliant responses.
Result response.
{"jsonrpc": "2.0", "result": result, "id": id}
Where result is the return value of the method and id is the id value sent in the request.
Error response.
{"jsonrpc": "2.0", "error": object, "id": id}
Where object is an error_object and id is the id value sent in the request.