json rpc

From Talleo Wiki
Revision as of 08:02, 25 March 2020 by Mika (talk | contribs) (Created page with "json_rpc is protocol for communicating with RPC servers using JSON-encoded associative arrays. == Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Form...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

json_rpc is protocol for communicating with RPC servers using JSON-encoded associative arrays.

Input

Argument Mandatory Description Format Example
jsonrpc yes Version of request string "2.0"
method yes json_rpc method string "save"
password no RPC server password string "password"
params no Request parameters JSON object {}
id yes Sequential request ID string "1"

Example

{
  "jsonrpc": "2.0",
  "method": "save",
  "password": "password",
  "params": {},
  "id": "1"
}

See also