Skip to main content
added 39 characters in body; edited tags; edited title
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Can I retrieve question comment count as part of a search query?

I just missI'm looking for a comment_count propproperty in the results of /search/advanced to get a count of comments under a question. 

Is there an undocumented q for /search/advanced to havethat gives a comment_count property for returned question objects? 

Or is making a new request, with gathered question id's, to /questions/{ids}/comments and then looping and counting comments based onper question id the only option?

Can I retrieve question comment count as part of search query?

I just miss comment_count prop in results of /search/advanced to get count of comments under question. Is there undocumented q for /search/advanced to have comment_count property for returned question objects? Or making new request with gathered question id's to /questions/{ids}/comments and then looping and counting comments based on question id only option?

Can I retrieve question comment count as part of a search query?

I'm looking for a comment_count property in the results of /search/advanced to get a count of comments under a question. 

Is there an undocumented q for /search/advanced that gives a comment_count property for returned question objects? 

Or is making a new request, with gathered question id's, to /questions/{ids}/comments and then looping and counting comments per question id the only option?

Source Link
mkungla
  • 133
  • 5

Can I retrieve question comment count as part of search query?

I just miss comment_count prop in results of /search/advanced to get count of comments under question. Is there undocumented q for /search/advanced to have comment_count property for returned question objects? Or making new request with gathered question id's to /questions/{ids}/comments and then looping and counting comments based on question id only option?