FolderModel Data Type

A folder.

Properties
name data type description
children array of FileModel An array of sub folders and documents in this folder.
Properties inherited from FileModel
path string The path to this file.
link LinkModel The link to this file.
bytes number The size of the file in bytes.

Example

{
  "children" : [ {
    "path" : "...",
    "link" : {
      "rel" : "...",
      "href" : "..."
    },
    "bytes" : 12345
  }, {
    "path" : "...",
    "link" : {
      "rel" : "...",
      "href" : "..."
    },
    "bytes" : 12345
  } ],
  "path" : "...",
  "link" : {
    "rel" : "...",
    "href" : "..."
  },
  "bytes" : 12345
}