Patrick Schurig b26274595c
Some checks failed
Build & Deploy docs / build-deploy (push) Failing after 10m17s
feat: référence API JsonRPC générée depuis introspect.json
- 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>
2026-06-04 08:15:37 +02:00

60 lines
1.7 KiB
Markdown

# Logging
<!-- BEGIN GENERATED: __api_Logging__ -->
## Méthodes
### Logging.GetLogEntries
<span class="badge perm-control">CONTROL</span>
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](../types.md#samplerate) | optionnel |
| `sortOrder` | [SortOrder](../types.md#sortorder) | optionnel |
| `startTime` | `Uint` | optionnel |
| `sources` | `String`[] | |
**Retour :**
| Champ | Type | Notes |
| --- | --- | --- |
| `count` | `Int` | |
| `logEntries` | [LogEntries](../types.md#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](../types.md#logentry) | |
---
<!-- END GENERATED -->