Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client API: Apply siblings on retrieved tags #389

Closed
walramb opened this issue Jul 16, 2020 · 2 comments
Closed

Client API: Apply siblings on retrieved tags #389

walramb opened this issue Jul 16, 2020 · 2 comments
Labels

Comments

@walramb
Copy link

walramb commented Jul 16, 2020

For some use cases I want a "normalized" tag list where it applies siblings like it does in the main tag sidebar, but right now the API only returns the literal stored tags.

My use cases mostly involve counting and comparing tags between different files where I, for example, don't want female and gender:female to be counted separately.

I imagine this would either be a boolean argument on GET /get_files/file_metadata to have it apply siblings before sending,
or a command similar to GET /add_tags/clean_tags where you can pass in a batch of tags, this would be more flexible but probably slow since it needs a lot more back-and-forth through the API.

@floogulinc
Copy link
Collaborator

This would also be nice for Hydrus Web to be able to display the same tags the client does.

@imtbl imtbl added the system:api API related issues label Jul 16, 2020
Repository owner deleted a comment from DonaldTsang Aug 1, 2020
@floogulinc
Copy link
Collaborator

floogulinc commented Nov 26, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants