Closed db0 closed 11 months ago
is there an endpoint to retrieve all possible tags, potentially along with the amount of instances using that tag? would be cool to add a filtering thing with it too
i'll see about adding the tags under the instance details.
No, but it should be pretty easy to add an endpoint to see all existing tags, sure. Created https://github.com/Fediseer/fediseer/issues/46
is there any specific order to the tags?
I can definitely add them all to the instance-view page (and make a new sub-page for the rest of the fediseer data!), i wonder how I could display them on the main page (other than adding a filter)
No, they're unordered (so basically the order they're pulled by postgres)
GET on /v1/tags added
OoOoo, I can use that to find the most popular tags, and maybe just show them on the main page.. I'll have a play
ok, i'm getting the data from /tags
and getting 119 results
i've mapped them into an array where i can use the count to rank them
i noticed that there are several tags that are applied to instances that do not show up in /tags
api...
it would be nice to have standard tags for the hosting location, or a separate field perhaps? that way I can parse that too.
few more discoveries:
/v1/whitelist
byy software
?/v1/tags
instead of fetching it (and the few missing tags 🤷♂️) - I'll be using a merged set of tags from fediseer, and my own tags - for cloudflare
and cors-permissive
instances.you now have 2k+ "instances" on fediseer, I'm guessing there's other non-lemmy instances in there? would it be possible to filter /v1/whitelist byy software?
Sure. Can you open a feature request?
i noticed that there are several tags that are applied to instances that do not show up in /tags api...
This is because the tags api is converting all tags to lowercase in order to combine them
I'll open a feature request for the filtering, thanks 👍
What do you want to see? The Fediseer recently added self-tagging functionality, where instance admins can specify some tags that represent their instance
The lemmy explorer could utilize these tags to allow for easier filtering and finding appropriate communities
For example, all the
ttrpg
instancesThe
/api/v1/whitelist
endpoint allows to filter by one of more tags