Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Issues faced during development

Pooja Shah edited this page Apr 11, 2014 · 3 revisions
  1. The JSON RPC API documentation mentions a number of LUCI functions. It appears that all those functions are exposed since it is mentioned in the documentation but only the functions exposed by the libraries are accessible via the API.
  2. The libraries currently exposed are in rpc.lua and are as follows:
    1. uci
    2. fs
    3. sys
    4. ipkg
    5. auth

Only methods within these libraries are accessible via

/cgi-bin/luci/rpc/LIBRARY?auth=TOKEN
  1. In order to expand the JSON RPC API, we can add entries and methods in rpc.lua. This will expose them as an API and we can have custom methods.
Clone this wiki locally