Skip to main content
POST
DeploySqlTestDeploymentRule

Authorizations

Authorization
string
header
required

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

Body

application/json
deploymentRule
SqlTestDeploymentRule · object

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

The response is of type DeploySqlTestDeploymentRuleResponse · object.