createFolder

abstract fun createFolder(parentFolderId: Long, folderName: String): Call<RemoteFolder>

Create a new folder.

Create a new folder in the specified folder

For more information, see the related documentation page.

Return

Call resulting in the metadata for the new folder

Parameters

parentFolderId

The id of the parent folder for the newly created folder

folderName

The new folder name

Throws

on a null or empty path argument.


abstract fun createFolder(parentFolder: RemoteFolder, folderName: String): Call<RemoteFolder>

Create a folder.

Same as calling createFolder with parentFolderId taken from folderId.

Return

Call

Parameters

parentFolder

The parent RemoteFolder for the newly created folder. Must not be null.

folderName

The new folder name

Throws

on a null folderName argument.


abstract fun createFolder(path: String): Call<RemoteFolder>

Create a new folder.

Create a new folder in the specified folder

For more information, see the related documentation page.

Return

Call resulting in the metadata for the new folder

Parameters

path

The complete path of the new folder

Throws

on a null or empty path argument.