Skip to content

Client API: Query Tag Parent/Child Relationships #921

Closed
@cinnamon-rolls

Description

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

{
  "children": [ "red dress", "orange dress", "yellow dress", "..." ] 
}

and,

get_tags/get_parents?child=red dress

which returns

{
  "parents": [ "dress", "red clothing", "..." ] 
}

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)

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions