Create folder
| Properties | Values |
|---|---|
| HTTP method | POST |
| Interface path | /nd/api/file/create_folder |
| Category | File API |
Interface description
Interface path: /nd/api/file/create_folder
HTTP method: POST
HTTP method: POST
POST request body parameters
| Parameter | Type | Description (source requirements, defaults and scope) |
|---|---|---|
parent_id |
string |
target folder id (required) |
name |
string |
file name (required) |
Scroll horizontally to view all columns
Return field description
| Field | Type | Description |
|---|---|---|
file |
Object |
File information { id, name, …} |
success |
boolean |
Success flag |
code |
int |
Error code; 0 indicates success |
Scroll horizontally to view all columns
Call instructions
- Before calling, you need to complete Get token or the corresponding login-free authentication, and carry
Authorization: Bearer <access_token>in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: File API.