I ran head-first into this when I was POST
ing stuff to SocialHub (sort of a manual reverse topic backfill) a couple months back.
I just tested this and found that Discourse will still send a 429 if ~15 connections are made within the span of maybe a minute.
If we’re looking to do topic backfill this could be problematic if NodeBB tries to query Discourse > 15 times via AP. We’d likely do this in parallel and fire off all the calls at once (or as fast as the systems lets us wrt open connections).
I don’t think there’s anything specified in the AP protocol about querying multiple endpoints and having results batched, unfortunately