Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

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).

share|improve this question
    
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 1 '10 at 11:24

1 Answer 1

up vote 5 down vote accepted

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.

share|improve this answer
    
Well as I have said the comments and body are opt-in so it follows that answers should be as well. –  Jonathan. Jun 1 '10 at 10:23
1  
++ for answer=true. seems a no brainer. –  Sky Sanders Jun 1 '10 at 14:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .