4

Up until now, /questions hasn't given the answers to the questions by default - you'd have to get the question ID and then use that to get the answers to the question. This means the size of the JSON file has increased quite a lot. Also, this change does not follow the pattern of leaving out non-question data - now, comments and bodies are not included, but answers are.

I think the details of the answers should not be included in the questions page unless deliberately asked for by using a parameter like ?answers=true.

Also, the documentation is not helpful. The sample in the "returns" section looks nothing like what is actually returned; it looks more like the JSON version of the help page.

Ultimately the answers need to be able to be turned off using parameters, even if it's opt-out (though personally I think it should be opt-in, as you accessed /questions and therefore asked for questions).

Jonathan.
  • 3,128
  • 2
  • 20
  • 28
  • This kind of needs to be sorted because ever since this changed my app now takes 3 times longer to load the data – Jonathan. Jun 01 '10 at 11:24

1 Answers1

5

It is supposed to include answers (probably first page only), and documented (look for "answers" in return json), but there was a bug, and it has been fixed recently.

But yes, I also think answer=true option would be nice.

YOU
  • 5,022
  • 18
  • 18