tag:help.tenderapp.com,2008-11-12:/discussions/questions/14133-discussions-api-comments_count-field-is-misleadingTender: Discussion 2018-10-18T06:27:46Ztag:help.tenderapp.com,2008-11-12:Comment/394531732016-03-23T04:19:11Z2016-03-23T04:19:11ZDiscussions API; comments_count field is misleading<div><p>Hi, sorry for the delay.</p>
<p>I think the simplest thing is a variant on what you suggested -
for page size x, where it returns x comments, retrieve another
page. This will only result in a second call in a very small number
of cases. The page size is 50 for discussion comments.</p>
<p>While I can appreciate the desire for perfection here,
unfortunately this comments_count is entrenched pretty firmly in
the API involving multiple caching layers, db fields, etc, and
would involve a whole dev cycle to modify; and we have much more
exciting stuff to focus on for what can be solved with a
client-side numeric check. :)</p></div>Courtenay