Skip to main content
POST
/
v1
/
reviewConfigs
{
  "name": "<string>",
  "title": "<string>",
  "enabled": true,
  "rules": [
    {
      "type": "<string>",
      "level": "LEVEL_UNSPECIFIED",
      "payload": "<string>",
      "engine": "ENGINE_UNSPECIFIED",
      "comment": "<string>"
    }
  ],
  "resources": [
    "<string>"
  ]
}

Body

application/json
title
string

The title of the review configuration.

enabled
boolean

Whether the review configuration is enabled.

rules
object[]

The SQL review rules to enforce.

resources
string[]

Resources using the config. Format: {resource}/{resource id}, e.g., environments/test.

Response

OK

name
string

The name of the SQL review config. Format: reviewConfigs/{reviewConfig}

title
string

The title of the review configuration.

enabled
boolean

Whether the review configuration is enabled.

rules
object[]

The SQL review rules to enforce.

resources
string[]

Resources using the config. Format: {resource}/{resource id}, e.g., environments/test.