Description

Returns the file list in a specified folder.

Call (METHOD = GET)

http://tool-cloud2.renesas.com/system/api/?key=[API_KEY]&module=structure&action=list&project=[PROJECT_NAME]&path=[FOLDER_PATH]

PROJECT_NAME: Specify PROJECT_NAME obtained as project information.

FOLDER_PATH: Specify FOLDER_PATH obtained as path information. / indicates root.

Result


{
    "structure": [
        {
            "path": "[OBJECT_PATH]",
            "name": "[OBJECT_NAME]",
            "type": "[OBJECT_TYPE]"
        },
        ...
    ]
}

OBJECT_PATH: Indicates object path.

OBJECT_NAME: Indicates file or folder name.

OBJECT_TYPE: 1 in case folder, 2 in case file, null in case no file and folder.