Method: projects.locations.repositories.issues.issueComments.list

Lists comments in an issue.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The issue in which to list the comments. Format: projects/{project_number}/locations/{locationId}/repositories/{repositoryId}/issues/{issue_id}

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

pageToken

string

Optional. A token identifying a page of results the server should return.

Request body

The request body must be empty.

Response body

The response to list issue comments.

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

JSON representation
{
  "issueComments": [
    {
      object (IssueComment)
    }
  ],
  "nextPageToken": string
}
Fields
issueComments[]

object (IssueComment)

The list of issue comments.

nextPageToken

string

A token identifying a page of results the server should return.

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 parent resource:

  • securesourcemanager.issuecomments.list

For more information, see the IAM documentation.