OpenAPI 3.1.02026-08-19373257348.2 KB
ee473d0e84e0
runtime_mutations
rules
Import Rules From File Handler
Import a rule from an arbitrary file on the backend host.
The file's full contents become the rule body. Reading an arbitrary path is only safe on a single-user local backend, so it is refused in multi-tenant cloud mode where the filesystem is shared across clients.
post/api/rules/import/file
Request body
Response
Successful Response
{"stackTrail":"paths:/api/rules/import/file:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}