Divers

Crée une variable pour le tenant courant.

Si kind === 'formula' ou si formula est fournie : requiert le module variable_calc.

post/api/interactive-fields/variables

Request

  • Base URL: https://lucidnest.test
  • URL: https://lucidnest.test/api/interactive-fields/variables
  • Auth: HTTP bearer

Request body

namestring required

Must not be greater than 255 characters.

slugstring nullable

Must not be greater than 255 characters.

kind'text' | 'textarea' | 'checkbox' | 'radio' | 'number' | 'date' | 'formula' required
valuestring nullable
optionsobject nullable
formulastring nullable

Must not be greater than 10000 characters.

scope'singleton' | 'note' nullable
notestring nullable

Must not be greater than 255 characters.

Example request

{
  "name": "b",
  "slug": "n",
  "kind": "radio",
  "formula": "g",
  "scope": "singleton",
  "note": "z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.