curl --request GET \
--url https://api.example.com/v1/projects:batchGet{
"projects": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"title": "<string>",
"webhooks": [
{
"type": "WEBHOOK_TYPE_UNSPECIFIED",
"title": "<string>",
"url": "<string>",
"name": "<string>",
"directMessage": true,
"notificationTypes": [
"TYPE_UNSPECIFIED"
]
}
],
"dataClassificationConfigId": "<string>",
"issueLabels": [
{
"value": "<string>",
"color": "<string>",
"group": "<string>"
}
],
"forceIssueLabels": true,
"allowModifyStatement": true,
"autoResolveIssue": true,
"enforceIssueTitle": true,
"autoEnableBackup": true,
"skipBackupErrors": true,
"postgresDatabaseTenantMode": true,
"allowSelfApproval": true,
"executionRetryPolicy": {
"maximumRetries": 123
},
"ciSamplingSize": 123,
"parallelTasksPerRollout": 123,
"labels": {},
"enforceSqlReview": true,
"requireIssueApproval": true,
"requirePlanCheckNoError": true
}
]
}BatchGetProjects retrieves multiple projects by their names. Permissions required: bb.projects.get
curl --request GET \
--url https://api.example.com/v1/projects:batchGet{
"projects": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"title": "<string>",
"webhooks": [
{
"type": "WEBHOOK_TYPE_UNSPECIFIED",
"title": "<string>",
"url": "<string>",
"name": "<string>",
"directMessage": true,
"notificationTypes": [
"TYPE_UNSPECIFIED"
]
}
],
"dataClassificationConfigId": "<string>",
"issueLabels": [
{
"value": "<string>",
"color": "<string>",
"group": "<string>"
}
],
"forceIssueLabels": true,
"allowModifyStatement": true,
"autoResolveIssue": true,
"enforceIssueTitle": true,
"autoEnableBackup": true,
"skipBackupErrors": true,
"postgresDatabaseTenantMode": true,
"allowSelfApproval": true,
"executionRetryPolicy": {
"maximumRetries": 123
},
"ciSamplingSize": 123,
"parallelTasksPerRollout": 123,
"labels": {},
"enforceSqlReview": true,
"requireIssueApproval": true,
"requirePlanCheckNoError": true
}
]
}Was this page helpful?