Skip to content

create

Description

Création de dossier.

La méthode attend un paramètre:

modelName
Le nom du modèle de dossier à créer

Schéma

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "description": "This json schema gives prototype of action create",
    "title": "Action create",
    "type": "object",
    "properties": {
        "action": {
            "const": "create",
            "description": "Name of the action",
            "type": "string"
        },
        "params": {
            "description": "Parameters of current action",
            "type": "object",
            "properties": {
                "modelName": {
                    "description": "Name of model to instantiate",
                    "type": "string"
                }
            },
            "required": [
                "modelName"
            ]
        }
    },
    "required": [
        "action",
        "params"
    ],
    "$id": "https://ewt.epilogic.ch/action.create.schema.json"
}