Create Net Disk Directory API
# Description
Create a net disk directory (folder)
# Request Specification
Request Method: POST + application/json
Request Path: https://${Enter cloud domain}/cgi/crm/v2/special/netDisk/addFolder?thirdTraceId=${Random String}
Request Headers: Refer to Common Parameters
# Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | Map | Yes | Data set |
| folderPath | String | Yes | Folder path, segments separated by '/' |
| category | String | Yes | 1. Company files 2. Personal files |
# Request Example
{
"data": {
"folderPath": "hello",
"category": "hello"
}
}
# Response Parameters
| Parameter | Type | Description |
|---|---|---|
| traceId | string | Unique request ID |
| errorDescription | string | Error description |
| errorMessage | string | Error message |
| errorCode | Int | View Error Codes |
# Response Example
{
"traceId": "E-O.827xxxxxx",
"errorDescription": "success",
"errorMessage": "OK",
"errorCode": 0
}
# Notes
- Do not use the
messagefield in the response for logical judgment, aserrorMessagemay change;