I am a Stack Overflow for Teams app developer, and given this recent announcement that API v3 is being extended to the public platform, I am hoping we can start asking API v3 questions here.
Given a set of tags, I need to fetch all questions and their answers for those tags.
Fetching the questions with the /questions route with the tagId array is reasonably performant, as it returned paged results.
But fetching the answers for those questions is problematic. The questions do not include the answers, and thus the answers must be fetched question-by-question with the /questions/{questionId}/answers route. This is slow and quota-intensive when there are thousands of questions.
I tried using the /search route with the following queries:
[tag1] or [tag2] or [tag3] is:question[tag1] or [tag2] or [tag3] is:answer
but these return QuestionSearchResultModel and AnswerSearchResultModel objects, which are much less detailed than Question and Answer objects and lack the information we need.
Has anyone else run into this challenge with API v3?