Add a Folder
Creates a new empty folder at the specified path.
Endpoint
POST https://mysite.files.com/api/v2/resources
Replace mysite.files.com with your site address.
Request Parameters
| Name | Data Type | Description |
|---|---|---|
path | string | The full path to the new folder, including the name of the new folder. |
name | string | The name of the folder to create. This parameter is required when path is not present, and is ignored when path is present. |
parentResource | string | The folder in which to create the new folder. Specify it either as the complete path (e.g. my/folder/) or as a resource ID (e.g. id:31415926535). This parameter is required when path is not present, and is ignored when path is present. |