Skip to main content
GET
/
v1
/
reviewConfigs
cURL
curl --request GET \
  --url https://api.example.com/v1/reviewConfigs
{
  "reviewConfigs": [
    {
      "name": "<string>",
      "title": "<string>",
      "enabled": true,
      "rules": [
        {
          "type": "TYPE_UNSPECIFIED",
          "level": "LEVEL_UNSPECIFIED",
          "namingPayload": {
            "maxLength": 123,
            "format": "<string>"
          },
          "numberPayload": {
            "number": 123
          },
          "stringArrayPayload": {
            "list": [
              "<string>"
            ]
          },
          "commentConventionPayload": {
            "required": true,
            "maxLength": 123
          },
          "stringPayload": {
            "value": "<string>"
          },
          "namingCasePayload": {
            "upper": true
          },
          "engine": "ENGINE_UNSPECIFIED"
        }
      ],
      "resources": [
        "<string>"
      ]
    }
  ]
}

Response

OK

reviewConfigs
object[]

The SQL review configs from the specified request.