Method: legacySdk.legacyGetSyncCases

Full name: projects.locations.instances.legacySdk.legacyGetSyncCases

Legacy RPC for getting sync cases.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetSyncCases request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:getSyncCases

Request body

The request body contains data with the following structure:

JSON representation
{
  "caseIds": [
    string
  ]
}
Fields
caseIds[]

string (int64 format)

Optional. The case ids.

Response body

The GetSyncCasesResponse message.

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

JSON representation
{
  "payload": [
    {
      object (ApiSyncCase)
    }
  ]
}
Fields
payload[]

object (ApiSyncCase)

The sync cases.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

ApiSyncCase

The ApiSyncCase message.

JSON representation
{
  "id": string,
  "environment": string,
  "stage": string,
  "externalCaseId": string,
  "title": string,
  "priority": enum (ApiSyncCasePriority),
  "status": enum (ApiSyncCaseStatus)
}
Fields
id

string (int64 format)

The case id.

environment

string

The environment.

stage

string

The stage.

externalCaseId

string

The external case id.

title

string

The title.

priority

enum (ApiSyncCasePriority)

The priority.

status

enum (ApiSyncCaseStatus)

The status.

ApiSyncCasePriority

ApiSyncCasePriority message.

Enums
INFORMATIVE The case priority is unspecified.
UNCHANGED The case priority is unchanged.
LOW The case priority is low.
MEDIUM The case priority is medium.
HIGH The case priority is high.
CRITICAL The case priority is critical.

ApiSyncCaseStatus

ApiSyncCaseStatus message.

Enums
OPENED The case status is unspecified.
CLOSED The case status is closed.
ALL The case status is all.
MERGED The case status is merged.
CREATION_PENDING The case status is creation pending.