variables
variables/{name}
Changed onSet a User Variable's value. Body is the raw new value (plain text, not JSON). Add ?persist=true to save it to config/variables.json so it survives an fppd restart; omitted or any other value means the variable is in-memory only.
post/api/variables/{name}
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/variables/{name}
- Authnone declared
Query parameters
persistboolean
Persist the value to disk so it survives a restart.
Request body text/plain
string required
Response
OK
Changes
- info
endpoint added
- info