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

GET /categories/hierarchy #43

Open
waynekoepcke opened this issue Oct 20, 2023 · 1 comment
Open

GET /categories/hierarchy #43

waynekoepcke opened this issue Oct 20, 2023 · 1 comment
Assignees

Comments

@waynekoepcke
Copy link
Contributor

waynekoepcke commented Oct 20, 2023

Migrate GET /categories/hierarchy to GO
This endpoint queries the 'categories' table and where top_level=true, a nested query to the 'category-relationships' table finds child categories. The response body is an object with the "categories" prefix, followed by an array of empty slices for categories with no children, and sub-arrays of child objects if they exist, ordered (optionally) by rank.

@zen-gineer
Copy link
Contributor

zen-gineer commented Jan 10, 2024

I understand this endpoint is not to be migrated. Okay to close this issue?

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

No branches or pull requests

2 participants