|Description:||For some context, I am using Gelbooru API to repost Gelbooru posts to Telegram channel. With every repost I am providing a link to Gelbooru post and it's source, and also a link to artist's tag.|
API provides list of tags for every post but not their types, to retrieve the types I am currently supplying a list of all unique tags from loaded batch to Tags endpoint, then filter them by type on my side and match to the posts I have loaded.
The problem here is that for 100 posts I load in one request, there is about 1000 unique tags, which leads to 10 requests to Tags endpoint to load them all, which I find kinda suboptimal and unhealthy for server.
My suggestions are to include tags metadata with posts, or at least split list of tags by type, or to add parameter to Tags endpoint to filter results by type.