Mastodon API: Context pagination
Sister issue: https://github.com/tootsuite/mastodon/issues/11029
Contexts should have some form of pagination. Anytime descendants or ancestors get over ~ 20, there should be link headers set to fetch the rest.
Some threads can get rather long and can even make the request time out if long enough. Even if they don't, waiting 5 seconds for a thread to load seems like a bad idea. As this would be a breaking change for contexts (suddenly clients will get less information returned) I'd suggest either doing that under the /v2 endpoints or adding a parameter ?paginated=true to enable this paginated mode.