devel:jsonrpc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
devel:jsonrpc [2024-01-12 19:54] – andi | devel:jsonrpc [2024-05-19 08:44] – Double Word „and“ 2a09:bac3:2f06:1e1::30:9a | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== JSON-RPC API ====== | ====== JSON-RPC API ====== | ||
- | |||
- | [[develonly]] | ||
- | |||
This API provides access to all [[Remote API]] functionality using a JSON based API. | This API provides access to all [[Remote API]] functionality using a JSON based API. | ||
Line 16: | Line 13: | ||
The API allows access via two different protocols: | The API allows access via two different protocols: | ||
- | - A simplified RPC protocol, where the the method to call is passed as a path segment and the body contains the array of parameters to pass | + | - A simplified RPC protocol, where the method to call is passed as a path segment and the body contains the array of parameters to pass |
- Standard conform [[https:// | - Standard conform [[https:// | ||
Line 42: | Line 39: | ||
The main difference to the simplified form is that all info, including the method to call is passed as body: | The main difference to the simplified form is that all info, including the method to call is passed as body: | ||
- | curl http:// | + | curl http:// |
-H ' | -H ' | ||
-H " | -H " | ||
- | -d ' | + | -d ' |
Please note, when using version 2.0, batching multiple calls is not supported. Refer to the [[https:// | Please note, when using version 2.0, batching multiple calls is not supported. Refer to the [[https:// |
devel/jsonrpc.txt · Last modified: 2024-07-05 13:10 by michaelsy