Skip to main content
POST
BatchDeploySqlTestDeploymentRules

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
deploymentRules
SqlTestDeploymentRule · object[]

List of SqlTestDeploymentRules to deploy.

SqlTestDeploymentRule dynamically deploys SQL test templates onto every table or view its selection matches, keeping them in sync as tables and columns change. Use it instead of authoring one SqlTest per table when the same set of checks should apply to many tables (e.g. "not_null(email) on every table that has an email column").

Response

200 - application/json

Success

deployedIds
string[]

IDs for which SqlTestDeploymentRules were deployed without error.

errors
DeployError · object[]

Errors raised while deploying. Empty if there were no errors.