EasyManua.ls Logo

DLI DIN4 - 10.2 REST-like API

Default Icon
57 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10 External APIs 35
The REST-style API is based on the REST architectural style. It presents the state and configuration as an hierarchy
of resources, and relies on HTTP to perform action signaling and content negotiation. Requests with different HTTP
headers yield different representations of resources (e.g. plain text, HTML, JSON, etc.). A type description system
is used to outline the object model.
Refer to the REST-style API reference for details.
10.3 JSON-RPC
JSON-RPCtest(requiresJavaScript)
Parameters Request
Reply
headers
Result
URI:
/jsonrpc/
relay
Method:
get
"name"
Remove
Addnewparameter:
Add
PerformRPC






























JSON-RPC demo
JSON-RPC allows to access an object model similar to the one of the REST-like API, but in a different manner
which may be more suitable for some integration environments. All composite objects are visible using JSON-RPC,
with their field values accessible using "get" (with the field name in the argument) and "set" methods (with the field
name and value as arguments). Additionally, containers support "add", "remove" and "list" methods. The "describe"
method can be used to output a type description for the object (similar to the REST API "description" relative URI).
10.4 UPnP settings

   

























UPnP settings
DLI DIN4 User’s Guide: 20170809T111540Z