API methods
The Yandex Disk features that are accessible using the API include uploading and downloading files, viewing the file structure, and managing the files and directories on Yandex Disk.
All of these features are implemented using the methods of the WebDAV protocol:
-
Getting properties of files and directories (PROPFIND), including:
- The amount of free and used space on Yandex Disk.
- The contents of directories.
In addition to the above, the service nominally supports the LOCK and UNLOCK methods; the server returns a response that a file is either locked or unlocked, but in actuality, this does not affect the state of the file.