All,
Is there any way to get all comments for a review in Crucible without having to recursively iterate over each comment looking for replies ?
From what I can tell, the structure seems to be nested infinitely deep in the JSON / XML that I get back from /reviews-v1/REVIEW/comments/versioned or /reviews-v1/REVIEW/comments/general
(comment ... (replies (comment... (replies (comment...) ) ) ) )
Thanks,
Community moderators have prevented the ability to post new answers.
Hi Anonymouslemming.
All the available comment resources return a hierarchical list of comments, as you've noticed.
It should be easy to convert them to a flat list on the client side, if that's what you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.