HTTP API
B.1 REST Core Interface
Keenetic Lite HTTP API lets you develop a custom application, that will access Keenetic Lite
settings using simple HTTP methods, such as GET and POST.
The base URL for all operations is /rci, that simply stands for REST Core Interface. It
replaces the XML Core Interface, which is now deprecated but continues to be functional.
B.1.1 Resource Location
RCI is based on the Keenetic Lite command tree. Device settings are mapped to RCI
resources in such a way that every “a b c” command corresponds to the /rci/a/b/c URL.
As a result, hereby Command Reference gives you a complete picture of all RCI resources
and their parameters. The words “command” and “resource” are used interchangeably in
this manual.
Parameters are listed in the Arguments table of each command. They can be passed as
part of the request using HTTP query: /rci/a/b/c?parameter=value. Unless otherwise
specied for a certain command, query parameters are optional. Multiple parameters
should be separated by ampersand (&) characters.
Parameters can also be passed in the POST request body, as described in
Section B.1.3 on page 302.
B.1.2 Methods
Method semantics depend on the type of resource. There are three types of resources in
RCI:
• Settings
• Actions
• Background processes
B.1.2.1 Settings
Settings are device conguration elements. You can view, modify, or delete settings using
standard HTTP methods.
GET Retrieve settings.
B
Keenetic Lite (KN-1310) — Command Reference Guide
301