Skip to content
Dmitry Mamontov edited this page May 10, 2022 · 1 revision

Luci response

The event is called after the miwifi.request service has been called.

An example of the event body when calling the misystem/miwifi method:

{
    "event_type": "miwifi_luci",
    "data": {
        "device_id": "...",
        "type": "response",
        "uri": "misystem/miwifi",
        "request": {},
        "response": {
            "status": 0,
            "code": 0
        }
    },
    "origin": "LOCAL",
    "time_fired": "...",
    "context": {
        "id": "...",
        "parent_id": null,
        "user_id": null
    }
}
Clone this wiki locally