Getting invalid Next Sibling Count from Threaded Forum Replies REST endpoint

Former Member
Former Member

Hi,

We are getting wrong values from the following API request,

Request : --location --request GET 'mycommunity.com/.../threaded.json
Screenshot: 
Highlighted children array having only one object but in the Next sibling count its showing one, it suppose to show 0 because here we have only one children, there is no Next sibling.
Parents Reply Children
No Data