CommentsForPullRequest - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CommentsForPullRequest

Returns information about comments on a pull request.

Contents

afterBlobId

The full blob ID of the file on which you want to comment on the source commit.

Type: String

Required: No

afterCommitId

The full commit ID of the commit that was the tip of the source branch at the time the comment was made.

Type: String

Required: No

beforeBlobId

The full blob ID of the file on which you want to comment on the destination commit.

Type: String

Required: No

beforeCommitId

The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.

Type: String

Required: No

comments

An array of comment objects. Each comment object contains information about a comment on the pull request.

Type: Array of Comment objects

Required: No

location

Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).

Type: Location object

Required: No

pullRequestId

The system-generated ID of the pull request.

Type: String

Required: No

repositoryName

The name of the repository that contains the pull request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [\w\.-]+

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: