GetChangeRequesCommentList
get change request comment list
Path Parameters
- owner required
The owner of the repository, generally called "username". The name is not case sensitive.
- repo required
repository name, the name is not case sensitive
- pull_number required
The number of the change request (short ID within the repo).
Query Parameters
- page
Page num (default is 1)
- per_page
Page size (default 30, max 100)
Header Parameters
- Authorization required
Oauth2 token or private token (needs to start with Bearer plus a space)
- 200
- 403
- 404
- responseBody
success
forbidden
404 not found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string
The business ID of the comment.
- pull_request_review_id string
The business ID of the change request to which the comment belongs.
- path string
file path corresponding to the comment
- commit_id string
The corresponding commit sha value of the file to be commented, and the corresponding patchset submitted.
- in_reply_to_id string
The business ID of the reply comment.
- body string
The content of the comment.
- line integer
The line number of the file corresponding to the comment.
- created_at string
Creation time. Follow ISO 8601 time format: YYYY-MM-DDTHH:MM:SSZ"
- updated_at string
Update time. Follow ISO 8601 time format: YYYY-MM-DDTHH:MM:SSZ"
- ]
[
{
"id": "string",
"pull_request_review_id": "string",
"path": "string",
"commit_id": "string",
"in_reply_to_id": "string",
"body": "string",
"line": 0,
"created_at": "string",
"updated_at": "string"
}
]