Aller au contenu

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

{
    "$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"
                },
                "single": {
                    "description": "Name of model to instantiate",
                    "type": "boolean"
                }
            },
            "required": [
                "modelName"
            ]
        }
    },
    "required": [
        "action",
        "params"
    ],
    "$id": "https://ewt.epilogic.ch/action.create.schema.json"
}