risotto/messages/v1/messages/session.servermodel.configu...

42 lines
835 B
YAML

---
uri: session.servermodel.configure
description: |
Configure le servermodel.
pattern: rpc
parameters:
session_id:
type: String
ref: Config.SessionId
shortarg: s
description: Identifiant de la configuration.
action:
type: String
shortarg: a
description: Action sur la variable ("modify", "delete", "add").
name:
type: String
shortarg: n
description: Nom de la variable a modifier.
index:
type: Number
shortarg: i
description: Index de la variable a modifier.
default: null
value:
type: Any
shortarg: v
description: Valeur de la variable.
default: null
value_multi:
type: '[]Any'
shortarg: m
description: Valeur de la variable de type multi.
default: []
response:
type: SessionStatus
description: Description de la session.