Expand get-menu #39
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Endpoints:
Also, in settings, return the default root category (available in database) for given language(s).
/get-menu changed to /get-category-tree: added new error (if category tree has circular dependencies, in reality it is caused by wrong root id, and it prevents stack overflow)
/get-breadcrumb returns breadcrumb, in order starting from root category.
added CATEGORY_TREE_ROOT_ID into /settings endpoint. This value is hardcoded as 2, and is defined in constdata.