json rpc: Difference between revisions

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "json_rpc is protocol for communicating with RPC servers using JSON-encoded associative arrays. == Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Form...")
 
mNo edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:json_rpc}}
json_rpc is protocol for communicating with RPC servers using JSON-encoded associative arrays.
json_rpc is protocol for communicating with RPC servers using JSON-encoded associative arrays.



Latest revision as of 08:39, 25 March 2020

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