Queries the information of the child folders of a specified folder.

Note You can view only the information of the first-level child folders of the specified folder.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListFoldersForParent

The operation that you want to perform. Set the value to ListFoldersForParent.

ParentFolderId String Yes r-b1****

The ID of the parent folder.

QueryKeyword String No rdFolder

The keyword used for the query, such as a folder name.

Fuzzy match is supported.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Valid values: 1 to 100. Default value: 10.

Response parameters

Parameter Type Example Description
Folders Array

The information of the folders.

CreateTime String 2015-01-23T12:33:18Z

The time when the folder was created.

FolderId String rd-evic31****

The ID of the folder.

FolderName String project-1

The name of the folder.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 5

The number of entries returned per page.

RequestId String 7B8A4E7D-6CFF-471D-84DF-195A7A241ECB

The ID of the request.

TotalCount Integer 2

The total number of returned entries.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "7B8A4E7D-6CFF-471D-84DF-195A7A241ECB",
    "PageNumber": 1,
    "PageSize": 5,
    "TotalCount": 2,
    "Folders": {
      "Folder": [
            "FolderId": "rd-evic31****",
            "Name": "project-1",
            "CreateDate": "2015-01-23T12:33:18Z"
            "FolderId": "fd-evic31****",
            "Name": "project-2",
            "CreateDate": "2015-01-23T12:33:18Z"

Error codes

HTTP status code Error code Error message Description
400 InvalidParameter.ParentFolderId The ParentFolderId is invalid. The error message returned because the value of the ParentFolderId parameter is invalid. The value must start with r- followed by 6 characters or start with fd- followed by 10 characters. Valid characters are letters and digits.
404 EntityNotExists.ResourceDirectory The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. The error message returned because the resource directory for the account is not enabled. Enable the resource directory for the account.
404 EntityNotExists.Folder The resource directory folder does not exist. The error message returned because the folder does not exist. Create the folder first.

For a list of error codes, visit the API Error Center.