Method: legacy.legacyBatchGetCases

Full name: projects.locations.instances.legacy.legacyBatchGetCases

Fetches multiple cases by name in a single request. If a case is not found, it is skipped, and the successful results are returned in the order they were requested.

HTTP request


GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacy:legacyBatchGetCases

Path parameters

Parameters
instance

string

Required. The name of the parent resource, which is the SecOps instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
names[]

string

Required. Names of required cases A maximum of 1000 cases can be retrieved in a batch.

Request body

The request body must be empty.

Response body

The BatchGetCasesResponse message NEXT TAG: 2

If successful, the response body contains data with the following structure:

JSON representation
{
  "cases": [
    {
      object (LegacyCase)
    }
  ]
}
Fields
cases[]

object (LegacyCase)

Cases corresponding to the given case names. The returned cases would be in the same order as the requested case names, except for cases that were not found.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the instance resource:

  • chronicle.legacies.legacyBatchGetCases

For more information, see the IAM documentation.