Hi Every one,
I would to like bring my few of doubts to this group. Please help me on
this.
1) I need to get all the review comments in one shot and print it on the
console or a file. Please provide me sample snippet for this.
I tried to use this below API, But I couldn't get any details.
/api/review-requests/{review_request_id}/reviews/,
I tried get function to get the details, But I didn't get any details.
I think there is some other way to get those review comments.
https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-list/
If one one is having sample snippet , plz provide me the same.
2) From the link
"https://www.reviewboard.org/docs/manual/dev/webapi/2.0/resources/review-diff-comment-list/#webapi2.0-review-diff-comment-list-resource"
this is also used to get the comments.
Even I thought of using this, but this API requires to arguments, But I
have only request request id what is the other argument review-id ?
API:
/api/review-requests/{review_request_id}/reviews/{review_id}/diff-comments/
Please provide me code snippet for this as well on how to use this and get
the diff comments.
sample snippet which I am using :
url1 = '/api/review-requests/19/reviews/19/diff-comments/'
<<<<< Here I have used review id and review request id same, But I don't
know why 2 args.
datareviews1 = rb_server.api_get( url1 )
print datareviews1
I got some data, but doesn't have review comments.
Thanks for helping me in advance!!!
Regards
Vijay
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.