Method: legacy.legacyBatchGetCases

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

RPC for fetching cases for the given caseNames. If a case is not found, it is skipped (nothing is returned in its place).

HTTP request

GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacyBatchGetCases

Path parameters

Parameters
instance

string

Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}/legacy

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 the following OAuth scope:

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

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.