Skip to main content
GET
/
v1
/
projects:batchGet
cURL
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
    }
  ]
}

Query Parameters

names
string[]

The names of projects to retrieve. Format: projects/{project}

Response

OK

projects
object[]

The projects from the specified request.