Provides information on file comments made on a review request.
The list of comments cannot be modified from this resource. It’s meant
purely as a way to see existing comments that were made on a file. These
comments will span all public reviews.
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.
{"file_attachment_comments":[{"diff_against_file_attachment":null,"extra_data":{},"id":1,"issue_opened":false,"issue_status":"","link_text":"Example Attachment","links":{"delete":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/file-attachment-comments/1/","method":"DELETE"},"file_attachment":{"href":"https://reviews.example.com/api/review-requests/8/file-attachments/1/","method":"GET","title":"Example Attachment"},"self":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/file-attachment-comments/1/","method":"GET"},"update":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/file-attachment-comments/1/","method":"PUT"},"user":{"href":"https://reviews.example.com/api/users/admin/","method":"GET","title":"admin"}},"public":true,"review_url":"/r/8/#fcomment1","text":"A fantastic comment on a fantastic file!","text_type":"plain","thumbnail_html":null,"timestamp":"2011-08-26T02:49:32Z"},{"diff_against_file_attachment":null,"extra_data":{},"id":2,"issue_opened":false,"issue_status":"","link_text":"Example Attachment","links":{"delete":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/file-attachment-comments/2/","method":"DELETE"},"file_attachment":{"href":"https://reviews.example.com/api/review-requests/8/file-attachments/1/","method":"GET","title":"Example Attachment"},"reply_to":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/file-attachment-comments/1/","method":"GET","title":"A fantastic comment on a fantastic file!"},"self":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/file-attachment-comments/2/","method":"GET"},"update":{"href":"https://reviews.example.com/api/review-requests/8/reviews/8/replies/10/file-attachment-comments/2/","method":"PUT"},"user":{"href":"https://reviews.example.com/api/users/admin/","method":"GET","title":"admin"}},"public":true,"review_url":"/r/8/#fcomment2","text":"A reply to a fantastic comment.","text_type":"plain","thumbnail_html":null,"timestamp":"2011-08-26T02:52:57Z"}],"links":{"self":{"href":"https://reviews.example.com/api/review-requests/8/file-attachments/1/file-attachment-comments/","method":"GET"}},"stat":"ok","total_results":2}
File Attachment Comment List Resource¶
Added in 1.6
Provides information on file comments made on a review request.
The list of comments cannot be modified from this resource. It’s meant purely as a way to see existing comments that were made on a file. These comments will span all public reviews.
Details¶
file_attachment_comments
/api/review-requests/{review_request_id}/file-attachments/{file_attachment_id}/file-attachment-comments/
file_attachment_comment
GET - Returns the list of comments on a file attachment.
File Attachment Resource
None
Links¶
Name
Method
Resource
GET
File Attachment Comment List Resource
HTTP GET¶
Returns the list of comments on a file attachment.
This list of comments will cover all comments made on this file from all reviews.
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¶
Examples¶
application/vnd.reviewboard.org.file-attachment-comments+json¶