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:41:08 +00:00
parent 87c021fc31
commit 65d64ee0b2

@ -117,4 +117,43 @@ The format of the listing response should be made clearer.
If an entry has no `children` property, it is a file. Otherwise it is a directory.
The previous example becomes:
```
{
"path": "/",
"name": "/",
"children": [
{
"path": "/one",
"name": "one",
"children": [
{
"path": "/one/example1",
"name": "example1"
}
]
},
{
"path": "/two",
"name": "two",
"children": [
{
"path": "/two/three",
"name": "three",
"children": [
{
"path": "/two/three/example2",
"name": "example2",
}
]
}
]
}
]
}
```
---