You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MRuecklCC opened this issue
Aug 9, 2022
· 0 comments
Labels
APIChanges that require modifications of the REST APIqualityImprovements in code quality and organization that do not have a visible effect to the enduser
Currently, the "/collections/{node_id}/tree endpoint returns a list of Nodes:
There are two issues with that:
The parent_id fields of child nodes are null.
They should either hold the uuid of their respective parent, or even better, we could just remvove the field, as it is redundant in the first place.
Instead of returning a List[Node] we should simply return a singular Node.
This makes it more clear, that all returned elements form a subtree of the queried toplevel node and unifies the datastructures.
The text was updated successfully, but these errors were encountered:
MRuecklCC
changed the title
"/collections/{node_id}/tree endpoint structure improvement."/collections/{node_id}/tree endpoint structure improvement
Aug 11, 2022
MRuecklCC
added
quality
Improvements in code quality and organization that do not have a visible effect to the enduser
API
Changes that require modifications of the REST API
labels
Aug 16, 2022
APIChanges that require modifications of the REST APIqualityImprovements in code quality and organization that do not have a visible effect to the enduser
Currently, the
"/collections/{node_id}/tree
endpoint returns a list of Nodes:There are two issues with that:
The parent_id fields of child nodes are null.
They should either hold the uuid of their respective parent, or even better, we could just remvove the field, as it is redundant in the first place.
Instead of returning a List[Node] we should simply return a singular Node.
This makes it more clear, that all returned elements form a subtree of the queried toplevel node and unifies the datastructures.
The text was updated successfully, but these errors were encountered: