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
enabled
boolean
rules
object[]
resources
string[]

resources using the config. Format: {resurce}/{resource id}, for example, environments/test.

Response

OK

name
string

The name of the sql review to retrieve. Format: reviewConfigs/{reviewConfig}

title
string
enabled
boolean
rules
object[]
resources
string[]

resources using the config. Format: {resurce}/{resource id}, for example, environments/test.