/api/folder/listRecent

GET Get the list of folders recently used by the user.

Sample Code:

var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("http://localhost:41595/api/folder/listRecent", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Results Returned:

{
"status": "success",
"data": [
{
"id": "KBCB8BK86WIW1",
"name": "Industrial",
"description": "",
"children": [],
"modificationTime": 1591972345736,
"tags": [],
"password": "",
"passwordTips": "",
"images": [],
"isExpand": true,
"newFolderName": "Industrial",
"imagesMappings": {},
"imageCount": 11,
"descendantImageCount": 11,
"pinyin": "GONGYEFENG",
"extendTags": []
},
{
"id": "KBBPIOY46SRWP",
"name": "Scandinavian",
"description": "",
"children": [],
"modificationTime": 1591773342438,
"tags": [],
"password": "",
"passwordTips": "",
"images": [],
"isExpand": true,
"newFolderName": "Scandinavian",
"imagesMappings": {},
"imageCount": 72,
"descendantImageCount": 72,
"pinyin": "BEIOUFENGGE",
"extendTags": []
}
]
}