onemoreanonymous said:
https://e621.net/pools/6004.json?limit=10
This doesn't work, I assume you expect to only get the first 10 posts that are part of the pool, but that is not implemented. Just slice the array instead.
onemoreanonymous said:
https://e621.net/pools.json?search[id=6004]&limit=10
This is working as intended. You are getting back one pool, since you searched by id. https://e621.net/pools.json?search[id=6004,6005,6006]&limit=2 only returns two pools, even though 3 ids are specified.