Some checks failed
Build & Deploy docs / build-deploy (push) Failing after 10m17s
- 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>
2.9 KiB
2.9 KiB
Scripts
Méthodes
Scripts.AddScript
ADMIN
Add a script
Paramètres :
| Champ | Type | Notes |
|---|---|---|
content |
String |
|
name |
String |
Retour :
| Champ | Type | Notes |
|---|---|---|
errors |
StringList |
optionnel |
script |
Script | optionnel |
scriptError |
ScriptError |
Scripts.EditScript
ADMIN
Edit a script
Paramètres :
| Champ | Type | Notes |
|---|---|---|
id |
Uuid |
|
content |
String |
optionnel |
name |
String |
optionnel |
Retour :
| Champ | Type | Notes |
|---|---|---|
errors |
StringList |
optionnel |
scriptError |
ScriptError |
Scripts.GetScriptContent
ADMIN
Get a scripts content.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
id |
Uuid |
Retour :
| Champ | Type | Notes |
|---|---|---|
content |
String |
optionnel |
scriptError |
ScriptError |
Scripts.GetScripts
ADMIN
Get all script, that is, their names and properties, but no content.
Paramètres :
Aucun paramètre.
Retour :
| Champ | Type | Notes |
|---|---|---|
scripts |
Scripts |
Scripts.RemoveScript
ADMIN
remove a script
Paramètres :
| Champ | Type | Notes |
|---|---|---|
id |
Uuid |
Retour :
| Champ | Type | Notes |
|---|---|---|
scriptError |
ScriptError |
Notifications
Scripts.ScriptAdded
Emitted when a script has been added to the system.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
script |
Script |
Scripts.ScriptChanged
Emitted when a script has been changed in the system (e.g. renamed).
Paramètres :
| Champ | Type | Notes |
|---|---|---|
name |
String |
|
scriptId |
Uuid |
Scripts.ScriptContentChanged
Emitted when a script's content has been changed in the system.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
scriptId |
Uuid |
Scripts.ScriptLogMessage
Emitted when a script produces a console message.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
message |
String |
|
scriptId |
Uuid |
|
type |
ScriptMessageType |
Scripts.ScriptRemoved
Emitted when a script has been removed from the system.
Paramètres :
| Champ | Type | Notes |
|---|---|---|
id |
Uuid |