If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:landevice.lua

From BoxMatrix


BoxMatrix >> Webinterface >> landevice.lua @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

UI-Structure UI-Modules HTML-Files XML-Files Lua-Scripts Javascript Browser SSI-Files SSI-Directives HTML-Text Event-Text Help-Pages CSS-Files Graphics Research

Lua-Script

Goto:   Functions  -  Dependencies   -   Model-Matrix   -   SMW-Browser

Details

This has been found in Labor, but did not make it to Release. It may be a test case or a future feature.

landevice.lua is the REST-API wrapper for the landevice ui-module, which is used for testing and demonstration purposes.
It is loaded by dev_debug.lua (previously by api.lua) and provides the landevice endpoint which is accessible by:

GET /api/v0/landevice                           # get the whole landvice ui-module and its values
GET /api/v0/landevice/landevice                 # get the whole landvice list
GET /api/v0/landevice/landevice/<string>        # get a specific landevice from landevice list
GET /api/v0/landevice/landevice/<string>/iplist # get the whole iplist from a specific landevice
GET /api/v0/landevice/landevice/<string>/iplist/<string>  # get a specific iplist entry 

REST-API:

Functions

The function names of scripts often help to understand function blocks (and show gaps in the docs). fw 7530-7.39-96136 functions:

$ grep -e '^function' -e '^local function' /usr/rest_api/landevice.lua

# Cuts the entry in a sublist from landevice iplist.
local function strip_iplist_entry_from_landevice_item(ld_list_item)

# Send the whole landvice ui-module and its values to the client
# GET /api/v0/landevice
function landevice.send_landevice_module()

# Send the whole landevice list to the client.
# GET /api/v0/landevice/landevice
function landevice.send_landevice_list()

# Send the a specific landevice from landevice list to the client.
# GET /api/v0/landevice/landevice/<string>
function landevice.send_landevice_list_item(params)

# Send the whole iplist from a specific landevice to the client.
# GET /api/v0/landevice/landevice/<string>/iplist
function landevice.send_landevice_iplist(params)

# Send a specific iplist entry from a specific landevice to the client.
# GET /api/v0/landevice/landevice/<string>/iplist/<string>
function landevice.send_landevice_iplist_entry(params) 

Dependencies

Daily updated index of all dependencies of this script. Last update: 2024-11-14 08:31 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
If an Object includes itself then this is a file with the same name but another Path and the dependencies are merged.

Relation Typ Object Mod Firmware Info Origin
Requires lua avmluamessages.lua 12 7.39 REST-API Debug Message Printer AVM
Requires lua response.lua 12 7.39 REST-API Response API AVM
Requires lua rest_api_const.lua 12 7.39 REST-API Const Tables AVM
Requires lua uimod.lua 12 7.39 REST-API UI-Modules API AVM
Required by lua api.lua 12 7.39 REST-API Lua-Land root for scgi_server AVM
5 dependencies for this script

Model-Matrix

Daily updated index of the presence, path and size of this script for each model. Last update: 2024-11-14 06:51 GMT.
Showing all models using this script. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size/Bytes
FRITZ!Box 6591 Cable (atom) 7.39 /usr/rest_api 5.8k - 6.0k
FRITZ!Box 6660 Cable (atom) 7.39 /usr/rest_api 5.8k - 6.0k
FRITZ!Box 6690 Cable (atom) 7.39 /usr/rest_api 5.8k
FRITZ!Box 6850 LTE 7.39 /usr/rest_api 5.8k
FRITZ!Box 6890 LTE (main) 7.39 /usr/rest_api 5.8k
FRITZ!Box 6890 LTE v1 (main) 7.39 /usr/rest_api 5.8k
FRITZ!Box 6890 LTE v2 (main) 7.39 /usr/rest_api 5.8k
FRITZ!Box 7530 7.39 /usr/rest_api 5.8k - 6.0k
FRITZ!Box 7530 AX 7.39 /usr/rest_api 5.8k
FRITZ!Box 7590 (main) 7.39 /usr/rest_api 5.8k - 6.0k
FRITZ!Box 7590 AX (main) 7.39 /usr/rest_api 5.8k - 6.0k
FRITZ!Repeater 2400 7.39 /usr/rest_api 5.8k
12 models use this script

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

l