Skip to navigation

Check config changes without saving

Applies a patch to a copy of config.toml in memory and reports every problem in the result, and the subset a save would refuse. Nothing is written.

Request

This endpoint expects an object.
setmap from strings to strings or doubles or integers or booleans or lists of any or maps from strings to anyOptional

Dotted keys (hook.threshold) to values. A null value removes the key, the same as listing it in unset.

unsetlist of stringsOptional
Dotted keys to remove, so their defaults apply again.

Response

The problems the patched file would have.
errorslist of objects
Every problem the patched file would have.
blockinglist of objects
The problems a save would refuse, which leaves out problems the file already has.

Errors

400
Bad Request Error
409
Conflict Error
413
Content Too Large Error
421
Misdirected Request Error
500
Internal Server Error