diff --git a/Design:-Library-Sidebar.md b/Design:-Library-Sidebar.md index 5b44930..5a8826e 100644 --- a/Design:-Library-Sidebar.md +++ b/Design:-Library-Sidebar.md @@ -97,13 +97,13 @@ This reveals two different approaches of what gets returned: This suggests the desired consistent approach is: - `/library/[type]` : return a full listing - - `/library/[type]/path` : if resolves to an entry, return the entry. Otherwise return the full listing rooted at this point + - `/library/[type]/path` : if it resolves to an entry, return the entry. Otherwise return the full listing rooted at this point The format of the listing response should be made clearer. ``` { - "path": "the full path at this level represents", + "path": "the full path this level represents", "name": "the name of this entity" "children": [ {