Getting invalid child count from List Threaded Forum Replies REST Endpoint

Former Member
Former Member

Hi,

We have attached two examples in which the response we got from API,

Can any one please clarify that why the child count is different?

Request: curl --location --request GET 'mycommunity.com/.../threaded.json

Example 1: Index (0) gives 10 children in the array but child count it says that 12 which is wrong and we getting confused what to take?

Example 2:  Index (1) gives 1 children in the array and also child count it says one which is correct 



Refining the description
[edited by: Aravind Eriventy at 9:09 AM (GMT 0) on Tue, Apr 20 2021]