I am finding plenty of examples of getting child folders using the rest API with the following command -
Code: Select all
However I want to navigate down the tree but can't seem to find anything that will give me back the documents contained within a folder. In fact when a folder is returned by the above GET request it always indicates that the returned folders have no children even though there are a number of documents in each?http://localhost:8080/OpenKM/services/rest/folder/getChildren?fldId=ea949a7f-79b4-410f-a2d3-48103cd46ff4
Code: Select all
Any help would be much appreciated.{
"folder": [
{
"author": "Joe",
"created": "2017-06-06T16:47:02Z",
"path": "/okm:root/Joes Folder",
"permissions": 15,
"subscribed": false,
"uuid": "a84d147b-e9e4-4b5c-aa36-221461d1d5cd",
[color=#FF0000] [b] "hasChildren": false[/b][/color]
},
....
]
}