/api/folder/listRecent
GET Get the list of folders recently used by the user.
Sample Code:
1
var requestOptions = {
2
method: 'GET',
3
redirect: 'follow'
4
};
5
6
fetch("http://localhost:41595/api/folder/listRecent", requestOptions)
7
.then(response => response.json())
8
.then(result => console.log(result))
9
.catch(error => console.log('error', error));
Copied!
Results Returned:
1
{
2
"status": "success",
3
"data": [
4
{
5
"id": "KBCB8BK86WIW1",
6
"name": "Industrial",
7
"description": "",
8
"children": [],
9
"modificationTime": 1591972345736,
10
"tags": [],
11
"password": "",
12
"passwordTips": "",
13
"images": [],
14
"isExpand": true,
15
"newFolderName": "Industrial",
16
"imagesMappings": {},
17
"imageCount": 11,
18
"descendantImageCount": 11,
19
"pinyin": "GONGYEFENG",
20
"extendTags": []
21
},
22
{
23
"id": "KBBPIOY46SRWP",
24
"name": "Scandinavian",
25
"description": "",
26
"children": [],
27
"modificationTime": 1591773342438,
28
"tags": [],
29
"password": "",
30
"passwordTips": "",
31
"images": [],
32
"isExpand": true,
33
"newFolderName": "Scandinavian",
34
"imagesMappings": {},
35
"imageCount": 72,
36
"descendantImageCount": 72,
37
"pinyin": "BEIOUFENGGE",
38
"extendTags": []
39
}
40
]
41
}
Copied!
Copy link