![KeeNetic Lite KN-1310 Command Reference Manual Download Page 301](http://html1.mh-extra.com/html/keenetic/lite-kn-1310/lite-kn-1310_command-reference-manual_3863741301.webp)
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
, 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
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
specified 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
.
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 configuration elements. You can view, modify, or delete settings using
standard HTTP methods.
GET
Retrieve settings.
B
Keenetic Lite (KN-1310) — Command Reference Guide
301
Summary of Contents for Lite KN-1310
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Lite KN 1310 6 Contents Overview...
Page 18: ...Command Reference Guide Keenetic Lite KN 1310 18 Table of Contents...
Page 20: ...Command Reference Guide Keenetic Lite KN 1310 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Lite KN 1310 26 Chapter 2 Introduction to the CLI...
Page 314: ...Command Reference Guide Keenetic Lite KN 1310 314 Appendix C SNMP MIB...