action maif_create_script { label: "Create a new script" description: "Create a new script" provider: maif method: POST path: "/api/scripts" encoding: json input: { type: "object" description: "A script to transformer otoroshi requests " required: ["code", "desc", "id", "name"] properties: { code: { type: "object" description: "The code of the script" } desc: { type: "object" description: "The description of the script" } id: { type: "string" description: "The id of the script" } name: { type: "string" description: "The name of the script" } } } output: { type: "object" description: "A script to transformer otoroshi requests " required: ["code", "desc", "id", "name"] properties: { code: { type: "object" description: "The code of the script" } desc: { type: "object" description: "The description of the script" } id: { type: "string" description: "The id of the script" } name: { type: "string" description: "The name of the script" } } } }