POST
/
v1
/
projects
/
{project}
/
issues:search
{
  "issues": [
    {
      "approval": {
        "approvalTemplates": [
          {
            "flow": {
              "steps": [
                {
                  "type": "TYPE_UNSPECIFIED",
                  "nodes": [
                    {
                      "type": "<any>",
                      "role": "<any>"
                    }
                  ]
                }
              ]
            },
            "title": "<string>",
            "description": "<string>"
          }
        ],
        "approvers": [
          {
            "status": "STATUS_UNSPECIFIED",
            "principalId": 123
          }
        ],
        "approvalFindingDone": true,
        "approvalFindingError": "<string>",
        "riskLevel": "RISK_LEVEL_UNSPECIFIED"
      },
      "grantRequest": {
        "role": "<string>",
        "user": "<string>",
        "condition": {
          "id": "<string>",
          "constExpr": {
            "nullValue": "NULL_VALUE",
            "boolValue": true,
            "int64Value": "<string>",
            "uint64Value": "<string>",
            "doubleValue": 123,
            "stringValue": "<string>",
            "bytesValue": "<string>",
            "durationValue": "<string>",
            "timestampValue": "2023-11-07T05:31:56Z"
          },
          "identExpr": {
            "name": "<string>"
          },
          "selectExpr": {
            "operand": {},
            "field": "<string>",
            "testOnly": true
          },
          "callExpr": {
            "target": {},
            "function": "<string>",
            "args": [
              {}
            ]
          },
          "listExpr": {
            "elements": [
              {}
            ],
            "optionalIndices": [
              123
            ]
          },
          "structExpr": {
            "messageName": "<string>",
            "entries": [
              {
                "id": "<string>",
                "fieldKey": "<string>",
                "mapKey": {},
                "value": {},
                "optionalEntry": true
              }
            ]
          },
          "comprehensionExpr": {
            "iterVar": "<string>",
            "iterVar2": "<string>",
            "iterRange": {},
            "accuVar": "<string>",
            "accuInit": {},
            "loopCondition": {},
            "loopStep": {},
            "result": {}
          }
        },
        "expiration": "<string>"
      },
      "labels": [
        "<string>"
      ]
    }
  ],
  "nextPageToken": "<string>"
}

Path Parameters

project
string
required

The project id.

Body

application/json
parent
string
required

The parent, which owns this collection of issues. Format: projects/{project} Use "projects/-" to list all issues from all projects.

pageSize
integer

The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 10 issues will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

A page token, received from a previous SearchIssues call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchIssues must match the call that provided the page token.

filter
string

Filter is used to filter issues returned in the list. Check the filter field in the ListIssuesRequest message.

query
string

Query is the query statement.

Response

OK

issues
object[]

The issues from the specified request.

nextPageToken
string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.