Provides information on replies to diff comments made on a review reply.
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.
interdiff-revisionInteger
The second revision in an interdiff revision range. The comments will be limited to this range.
lineInteger
The line number that each comment must start on.
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.
order-byString
Comma-separated list of fields to order by.
Added in 1.7.10
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.
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.
Review Reply Diff Comment List Resource¶
Added in 1.6
Provides information on replies to diff comments made on a review reply.
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¶
diff_comments
/api/review-requests/{review_request_id}/reviews/{review_id}/replies/{reply_id}/diff-comments/
review_reply_diff_comment
GET - Returns the list of replies to comments made on a review reply.
POST - Creates a new reply to a diff comment on the parent review.
Review Reply Resource
Links¶
Name
Method
Resource
POST
Review Reply Diff Comment List Resource
GET
Review Reply Diff Comment List Resource
HTTP GET¶
Returns the list of replies to comments made on a review reply.
This list can be filtered down by using the
?line=
and?interdiff-revision=
.To filter for comments that start on a particular line in the file, using
?line=
.To filter for comments that span revisions of diffs, you can specify the second revision in the range using
?interdiff-revision=
.Request Parameters¶
If specified, a single
count
field is returned with the number of results, instead of the results themselves.The second revision in an interdiff revision range. The comments will be limited to this range.
The line number that each comment must start on.
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.
Comma-separated list of fields to order by.
Added in 1.7.10
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 new reply to a diff comment on the parent review.
This will create a new diff comment as part of this reply. The reply must be a draft reply.
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-diff-comments+json¶