-
-
Notifications
You must be signed in to change notification settings - Fork 165
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: Query Tag Parent/Child Relationships #921
Comments
I think a more general tag information API would be appropriate. Something where you can query a tag or array of tags and get it's parents, children, siblings, and display information at once. It may be useful to expose actual tag IDs in the file metadata API and use those here as well. |
Sorry, late response I'll support anything as long as it is functionally equivalent to what I described. The example above is just an example of what it could look like, but not what it has to look like. |
This has been added in https://github.com/hydrusnetwork/hydrus/releases/tag/v541 with |
API path to grab the current parent/child tag relations
What I have in mind is something to the effect of (using somewhat contrived examples)
get_tags/get_children?parent=dress
which returns
and,
get_tags/get_parents?child=red dress
which returns
But there are dozens of ways to probably go about this, so anything functionally equivalent works
(Sorry if this is a duplicate, I searched for this and didn't find this already. I'll move this to a comment of the pre-existing issue if it is)
The text was updated successfully, but these errors were encountered: