1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Design: Library Sidebar (markdown)

Nick O'Leary 2017-03-14 22:34:36 +00:00
parent 63f94c9fc5
commit 87c021fc31

@ -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": [
{