folders

Name Resource Description
Create a folder POST api/2.0/files/folder/{folderId} Creates a new folder with the title specified in the request. The parent folder ID can be also specified.
Delete a folder DELETE api/2.0/files/folder/{folderId} Deletes a folder with the ID specified in the request.
Get a folder by ID GET api/2.0/files/{folderId} Returns the detailed list of files and folders located in the folder with the ID specified in the request.
Get filtered sections GET api/2.0/files/@root Returns all the sections matching the parameters specified in the request.
Get folder information GET api/2.0/files/folder/{folderId} Returns the detailed information about a folder with the ID specified in the request.
Get new folder items GET api/2.0/files/{folderId}/news Returns a list of all the new items from a folder with the ID specified in the request.
Get subfolders GET api/2.0/files/{folderId}/subfolders Returns a list of all the subfolders from a folder with the ID specified in the request.
Get the "My documents" section GET api/2.0/files/@my Returns the detailed list of files and folders located in the "My documents" section.
Get the "Private Room" section GET api/2.0/files/@privacy Returns the detailed list of files and folders located in the "Private Room" section.
Get the "Trash" section GET api/2.0/files/@trash Returns the detailed list of files and folders located in the "Trash" section.
Get the folder path GET api/2.0/files/folder/{folderId}/path Returns a path to the folder with the ID specified in the request.
Insert a file POST api/2.0/files/{folderId}/insert Inserts a file specified in the request to the selected folder by single file uploading.
Insert a file to the "My documents" section POST api/2.0/files/@my/insert Inserts a file specified in the request to the "My documents" section by single file uploading.
Rename a folder PUT api/2.0/files/folder/{folderId} Renames the selected folder with a new title specified in the request.
Upload a file POST api/2.0/files/{folderId}/upload Uploads a file specified in the request to the selected folder by single file uploading or standart multipart/form-data method.
Upload a file to the "My documents" section POST api/2.0/files/@my/upload Uploads a file specified in the request to the "My documents" section by single file uploading or standart multipart/form-data method.