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>"
]
}
]
}Lists all SQL review configurations. Permissions required: bb.reviewConfigs.list
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>"
]
}
]
}OK
The SQL review configs from the specified request.
Show child attributes
Was this page helpful?