# /api/folder/list

**`GET`** Get the list of folders of the current library.

**Sample Code:**

```javascript
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:**

```javascript
{
    "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"
            ]
        }
    ]
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.eagle.cool/folder/list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
