/api/folder/list

GET Get the list of folders of the current library.

Sample Code:

var requestOptions = {
  method: 'GET',
  redirect: 'follow'
};

fetch("http://localhost:41595/api/folder/list", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

Results Returned:

{
    "status": "success",
    "data": [
        {
            "id": "JMHB2Y3Y3AA75",
            "name": "UI Design",
            "description": "",
            "children": [],
            "modificationTime": 1537854867502,
            "tags": [],
            "imageCount": 33,
            "descendantImageCount": 33,
            "pinyin": "UI Design",
            "extendTags": []
        },
        {
            "id": "JMHB2Y3Y3AA76",
            "name": "Post Design",
            "description": "",
            "children": [],
            "modificationTime": 1487586362384,
            "tags": [],
            "imageCount": 2800,
            "descendantImageCount": 2800,
            "pinyin": "Post Design",
            "extendTags": []
        },
        {
            "id": "JMHB2Y3Y3AA77",
            "name": "Movie Post Design",
            "description": "",
            "children": [],
            "modificationTime": 1487586529221,
            "tags": [],
            "imageCount": 449,
            "descendantImageCount": 449,
            "pinyin": "Movie Post Design",
            "extendTags": []
        },
        {
            "id": "JMHB2Y3Y3AA78",
            "name": "Business Card Design",
            "description": "",
            "children": [],
            "modificationTime": 1494390324202,
            "tags": [
                "Business Card"
            ],
            "imageCount": 1236,
            "descendantImageCount": 1236,
            "pinyin": "Business Card Design",
            "extendTags": [
                "Business Card"
            ]
        }
    ]
}

Last updated