CreateChangeRequestComment
Create Change Request Comment
Path Parameters
- owner required
The owner of the repository, generally called "username". The name is not case sensitive.
- repo required
repository name, not case sensitive
Header Parameters
- Authorization required
Oauth2 token or private token (needs to start with Bearer plus a space)
- application/json
Request Body
- body string
comment content
- commit_id string
The corresponding commit sha value of the file to be commented, and the corresponding patchset submitted.
- path string
Relative path to the file to comment (value omitted if global comment).
- line integer
line number
- 201
- 403
- 404
- responseBody
created
No Access
404 not Found
- application/json
- Schema
Schema
- 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
The business ID of the change request to which the comment belongs.
- commit_id string
The business ID of the change request to which the comment belongs.
- in_reply_to_id string
The business ID of the change request to which the comment belongs.
- body string
comment content
- line integer
line number
- 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"