0

stackexcange api get question answer and comments and related questions in single request ?

How to get Question Answers and Comments and Related questions in single query Possible ?

document : https://api.stackexchange.com/docs

I need get all in this link : https://api.stackexchange.com/docs/questions-by-ids#order=desc&sort=activity&ids=38692466&filter=default&site=stackoverflow&run=true

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Santhosh
  • 43
  • 7

1 Answers1

0

You can get both questions and answers with a call to /posts, and then comments for a list of question/answers from /posts/{ids}/comments. Related questions are from /questions/{ids}/related.

It would be too messy to stuff all that into one endpoint.


I'm not sure what you mean I need get all in this link : https://api.stackexchange.com/docs/questions-by-ids.... That doesn't include answers, comments, or related.


More information:

ashleedawg
  • 20,365
  • 9
  • 72
  • 105