Topic: [Feature] E621 API for Pools - request header information by pool ID

Posted under Site Bug Reports & Feature Requests

Requested feature overview description
Send a pool ID (or even multiple ones) to the corresponding pool API URL via GET/POST and receive the pools header information only (like the one from the 'List Pools' interface).

Why would it be useful?
When you have a bulk of pool IDs and want to request their header information only (title, created by, last updated at, etc.), you would either have to request all of them through the 'List Pools' interface by their title (which is prone to errors, and also you don't necessarily have the titles), or load them through the 'List Posts' interface, which sends you all the pool contents as well which would by highly inefficient. With the requested feature this could be achieved easily and effectively.
IMHO a good solution would be to add a 'header only' parameter to the 'List Posts' interface which defaults to false/0, and when true/1, it only sends the top-level <pool> tag with its attributes (maybe the description too?).

What part(s) of the site page(s) are affected?
API / Pool listing

Updated

I just found out about the rate limiting... means there have to be multiple IDs sent at once I guess.

Updated by anonymous

  • 1