Forum Discussion
Hi MattDe
Issue 1: The problem here is that the nested based calls aren't supported when calling /threads/. The confusion there is our documentation states it's supported, but that's an error we're working on correcting (unless it's already been corrected SuzieH ?). You'll need to remove the nested.page and nested.page_size parameters from the call if you want to get the different content returned.
Issue 2: When you query threads it will return data regardless of the page (if there's enough pages of threads on the board), but the linear node ('linear' in the response) is also leveraging the page and page size parameters. This means that linear node is looking for page 2 (or higher) at 1,000 posts per page for the thread when the thread in fact does not have 1,000 messages which results in the linear node being blank.
Normally this is handled by calling /posts/recent because that gives you every post (root messages + replies) and includes the root message ID for the purpose of mapping replies to their root message.
DougS are there any ways to get root messages + replies outside of using posts/recent when using V1? V2 does this but in this specific example we're looking for options when using V1.
Related Content
- 13 years agoInactive User
- 13 years ago
- 12 years ago
- 11 months ago