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.
Property:configflags.lua
BoxMatrix >> Webinterface >> configflags.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 | REST-API | Lua-Scripts | Javascript | Browser | SSI-Files | SSI-Directives | HTML-Text | Event-Text | Help-Pages | CSS-Files | Graphics | Research |
RESTAPI-Script
RESTAPI-Script: | configflags.lua - type Script | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Webinterface >> RESTAPI-Scripts - Origin: AVM | ||||||
Path: | Release: /usr/rest_api/plugins Lab+Rel: /usr/rest_api/plugins | ||||||
Properties: | Size: 2.3k - 2.4k - Firmware: 7.90 - 8.00 | ||||||
Function: | REST-API Plugin for the Config-Environment |
Goto: Whitelist - Functions - Dependencies - Model-Matrix - SMW-Browser
Details
configflags.lua is the REST-API Plugin for the Config-Environment, filtered by a Whitelist of variables.
It is auto-included by api.lua, like all /usr/rest_api/plugins/*.lua
scripts, and supports:
GET /api/v0/configflags # get the filtered config environment
- Lexicon: REST, API, SCGI
- Commands: scgi_server
- Ports: Port-8187-tcp
- UI-Mods: webui
- API-Root: api.lua
- Includes: api_generic.lua, rest_config.lua, security.lua, espresso.lua, rest_api_const.lua, response.lua, error.lua
- Includes: avmluamessages.lua, uimod.lua, api_generic_filter.lua, resource.lua, datatype.lua, plugin_common.lua
- Modules: storagenasrights_rest.lua, webusb_rest.lua
- Modules: calllog_rest.lua, faxjournal_rest.lua, phonebook_rest.lua, smarthome_rest.lua, boxnotify_rest.lua
- Develop: obl_fboxname.lua, dev_debug.lua, landevice.lua, query_tree.lua, fake_modules.lua, obl.lua
- Common: array.lua, common.lua, func.lua, math.lua, string.lua, table.lua, typecheck.lua, validcheck.lua
- Plugins: configflags.lua, eventlog.lua, info.lua, monitor.lua, phonebook.lua, smarthome.lua, timermix.lua
- Misc-Plugins: misc.lua, boxname.lua, configuration.lua, handsets.lua, update_status.lua, wan_status.lua
- Setup-Plugins: setup.lua
Whitelist
configflags.lua contains a whitelist of Config-Environment variables. which could be accessed by the API: fw 8.00:
* CONFIG_AB_COUNT * CONFIG_AURA * CONFIG_BUILDTYPE * CONFIG_CAPI_NT * CONFIG_DECT * CONFIG_DECT2 * CONFIG_DOCSIS_MODEM * CONFIG_DOCSIS * CONFIG_DSL * CONFIG_ECO * CONFIG_ECO_SYSSTAT * CONFIG_ETH_COUNT * CONFIG_FAX2MAIL * CONFIG_FAXSUPPORT * CONFIG_FIBER * CONFIG_FON * CONFIG_HOME_AUTO * CONFIG_HOSTNAME * CONFIG_IPV6 * CONFIG_KIDS * CONFIG_LABINFO_URL * CONFIG_LABFEEDBACK_URL * CONFIG_LABOR_ID_NAME * CONFIG_LED_DIMM_AUTO * CONFIG_LED_DIMM * CONFIG_LTE * CONFIG_MAILER2 * CONFIG_MEDIASRV * CONFIG_MULTI_COUNTRY * CONFIG_MULTI_LANGUAGE * CONFIG_MYFRITZ * CONFIG_NAND * CONFIG_NAS * CONFIG_ONLINEHELP_URL * CONFIG_PRODUKT_NAME * CONFIG_PRODUKT * CONFIG_REMOTE_HTTPS * CONFIG_STOREUSRCFG * CONFIG_SUBVERSION * CONFIG_TAM_MODE * CONFIG_TIMERCONTROL * CONFIG_USB_GSM * CONFIG_USB_GSM_VOICE * CONFIG_USB_HOST * CONFIG_USB_STORAGE_SPINDOWN * CONFIG_USB_XHCI * CONFIG_VDSL * CONFIG_VERSION_MAJOR * CONFIG_VERSION * CONFIG_VOL_COUNTER * CONFIG_VPN * CONFIG_WEBDAV * CONFIG_WLAN_GREEN * CONFIG_WLAN_GUEST * CONFIG_WLAN_TXPOWER * CONFIG_WLAN_WDS3 * CONFIG_WLAN * CONFIG_ZIGBEE
Functions
The function names of scripts often help to understand function blocks (and show gaps in the docs). fw 8.00 functions:
$ grep -e '^function' -e '^local function' /usr/rest_api/plugins/configflags.lua # get the filtered config environment local function send_config_flags() # handles all GET-requests of the plugin function plugin.get_data(params)
Dependencies
Daily updated index of all dependencies of this script. Last update: 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 | rest | api_generic_filter.lua | 24 | 7.90 - 8.00 | REST-API UI-Modules Webvar Filter | AVM |
Requires | rest | response.lua | 24 | 7.90 - 8.00 | REST-API Response API | AVM |
Requires | rest | rest_api_const.lua | 24 | 7.90 - 8.00 | REST-API Const Tables | AVM |
Requires | rest | table.lua | 24 | 7.90 - 8.00 | REST-API common extension of the Lua table module | AVM |
4 dependencies for this script |
Model-Matrix
Daily updated index of the presence, path and size of this script for each model. Last update: 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 4040 | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 4050 | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 4060 | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 5530 Fiber (main) | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 5590 Fiber (main) | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 5590 Fiber (prx) | 7.90 - 8.00 | /usr/rest_api/plugins | 2.3k - 2.4k |
FRITZ!Box 6591 Cable (arm) | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6591 Cable (atom) | /usr/rest_api/plugins | 2.4k | |
FRITZ!Box 6660 Cable (arm) | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6660 Cable (atom) | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6670 Cable (arm) | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6670 Cable (atom) | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6690 Cable (arm) | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6690 Cable (atom) | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6850 5G | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 6850 LTE | 7.90 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7510 | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7520 | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7520 v2 (main) | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7530 | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7530 AX | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7583 VDSL (main) | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7590 (main) | 7.90 - 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7590 AX (main) | 8.00 | /usr/rest_api/plugins | 2.4k |
FRITZ!Box 7690 | 7.90 | /usr/rest_api/plugins | 2.4k |
25 models use this script |