Provides information on replies to general comments.
If the reply is a draft, then comments can be added, deleted, or
changed on this list. However, if the reply is already published,
then no changed can be made.
If specified, a single count field is returned with the number of results, instead of the results themselves.
max-resultsInteger
The maximum number of results to return in this list. By default, this is 25. There is a hard limit of 200; if you need more than 200 results, you will need to make more than one request, using the “next” pagination link.
startInteger
The 0-based index of the first result in the list. The start index is usually the previous start index plus the number of previous results. By default, this is 0.
This will create a reply to a general comment on a review.
The new comment will contain the same dimensions of the comment
being replied to, but may contain new text.
The text type, if any, to force for returned text fields. The contents will be converted to the requested type in the payload, but will not be saved as that type.
Added in 2.0.9
text_typeOne of plain, markdown
The content type for the comment text field. The default is plain.
{"general_comments":[{"extra_data":{},"id":2,"issue_opened":false,"issue_status":"","links":{"delete":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/general-comments/2/","method":"DELETE"},"reply_to":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/general-comments/1/","method":"GET","title":"This is a general comment"},"self":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/general-comments/2/","method":"GET"},"update":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/general-comments/2/","method":"PUT"},"user":{"href":"https://reviews.example.com/api/users/admin/","method":"GET","title":"admin"}},"public":true,"text":"This is a reply to a general comment","text_type":"plain","timestamp":"2017-10-03T09:02:43Z"}],"links":{"create":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/general-comments/","method":"POST"},"self":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/general-comments/","method":"GET"}},"stat":"ok","total_results":1}
Review Reply General Comment List Resource¶
Added in 1.6
Provides information on replies to general comments.
If the reply is a draft, then comments can be added, deleted, or changed on this list. However, if the reply is already published, then no changed can be made.
Details¶
general_comments
/api/review-requests/{review_request_id}/reviews/{review_id}/replies/{reply_id}/general-comments/
reviews.general_comments
review_reply_general_comment
GET - Returns the list of replies to general comments made on a review.
POST - Creates a reply to a general comment on a review.
Review Reply Resource
Links¶
Name
Method
Resource
POST
Review Reply General Comment List Resource
GET
Review Reply General Comment List Resource
HTTP GET¶
Returns the list of replies to general comments made on a review.
Request Parameters¶
If specified, a single
count
field is returned with the number of results, instead of the results themselves.The maximum number of results to return in this list. By default, this is 25. There is a hard limit of 200; if you need more than 200 results, you will need to make more than one request, using the “next” pagination link.
The 0-based index of the first result in the list. The start index is usually the previous start index plus the number of previous results. By default, this is 0.
Errors¶
HTTP POST¶
Creates a reply to a general comment on a review.
This will create a reply to a general comment on a review. The new comment will contain the same dimensions of the comment being replied to, but may contain new text.
Extra data can be stored later lookup. See Storing/Accessing Extra Data for more information.
Request Parameters¶
The ID of the comment being replied to.
The comment text.
Added in 2.0
plain
,markdown
,html
The text type, if any, to force for returned text fields. The contents will be converted to the requested type in the payload, but will not be saved as that type.
Added in 2.0.9
plain
,markdown
The content type for the comment text field. The default is
plain
.Added in 2.0
Errors¶
Examples¶
application/vnd.reviewboard.org.review-reply-general-comments+json¶