API Request: Item Comments (not search) & Item Reviews

I would like to suggest 2 new API calls.

get item/comments - Gets recent comments of an item (similar to get search/comment without the filter, or just accept those with no filters). With parameters for:

  • item_id - The item ID. Required
  • page_size - Number of comments per page. Default: what get search/comment has
  • page - Comment page. Default: 1
  • no_reply - Show only those with no replies. Default: false
  • sort_by - newest/oldest

get item/reviews - Gets recent reviews of an item. With parameters for:

  • item - The item ID. Required
  • page_size - Number of reviews per page. Default: what get search/comment has
  • page - Review page. Default: 1
  • sort_by - newest/oldest
3 Likes

I agree… Please add this

+1 for these APIs

(+1), It really needs.

+1

+1

Would you be able to clarify whether https://build.envato.com/api/#search_GET_search_comment_json covers what are proposing here? Initial investigation looks like this already allows majority of what you’re after here (it doesn’t really make sense to duplicate an endpoint if it’s identical). The only thing missing is the no_reply parameter which would require some work but should be possible for the search system to be aware of.

Item reviews aren’t currently something we expose via our search endpoints in any form but I’m happy to submit a note that this is something you’d like to see.