From 87c021fc31ee496ad1a308ee05bc49e47ae9cacb Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 14 Mar 2017 22:34:36 +0000 Subject: [PATCH] Updated Design: Library Sidebar (markdown) --- Design:-Library-Sidebar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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": [ {