runtime_mutations
rules

Import Rules From File Handler

Changed on

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

  • Base URL
    https://api.quadrillion.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.quadrillion.io/api/rules/import/file
  • Auth
    none declared

Request body

pathstring required
namestring nullable

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status