- Nouveau générateur scripts/gen_api_reference.py : 19 namespaces → docs/api/metier/ (10) + docs/api/systeme/ (9) + notifications.md + types.md (96 types · 55 enums · 4 flags) + SUMMARY.md literate-nav - Badges permissionScope (perm-none/control/configure/admin) dans extra.css - Guide docs/integrations/jsonrpc-api.md (connexion TCP/WS, auth, conventions énergie) - mkdocs.yml : Référence API dans la nav, REST→JsonRPC renommé - mkdocs build --strict : 0 warnings · --check idempotent Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.7 KiB
Logging
Méthodes
Logging.GetLogEntries
CONTROL
Get the LogEntries matching the given filter. "sources": Builtin sources are: "core", "rules", "scripts", "integrations". May be extended by experience plugins. "columns": Columns to be returned. "filter": A map of column:value entries. Only = is supported currently. "startTime": The datetime of the oldest entry, in ms. "endTime": The datetime of the newest entry, in ms. "sampleRate": If given, returns a sampled series of the values, filling in gaps with the previous value. "sortOrder": Sort order of results. Note that this impacts the filling of gaps when resampling. "limit": Maximum amount of entries to be returned. "offset": Offset to be skipped before returning entries.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
columns |
String[] |
optionnel |
endTime |
Uint |
optionnel |
filter |
Variant |
optionnel |
limit |
Int |
optionnel |
offset |
Int |
optionnel |
sampleRate |
SampleRate | optionnel |
sortOrder |
SortOrder | optionnel |
startTime |
Uint |
optionnel |
sources |
String[] |
Retour :
| Champ | Type | Notes |
|---|---|---|
count |
Int |
|
logEntries |
LogEntries | optionnel |
offset |
Int |
Notifications
Logging.LogEntryAdded
Emitted when a log entry is added. This will only be emitted for discrete series, not for resampled entries
Paramètres :
| Champ | Type | Notes |
|---|---|---|
logEntry |
LogEntry |