API change history
The current REST version of the Yandex Disk API is Version 1. The API is fully backward-compatible.
Address for sending requests to Version 1:
`https://cloud-api.yandex.net/v1/`
Changes to the API are listed below from latest to earliest.
December 16, 2015
What changed
- Removed the restriction on the
Originheader when uploading a file to Yandex Disk. Now you can pass this header with any value when uploading a file to storage directly.
January 27, 2015
What's new
-
For all requests that return a link to an image file preview: the reduced image can now be automatically cropped to a square using the
preview_cropparameter. -
Custom string attributes can be added to the meta information of a file or folder.
-
The API can be used for downloading a file from the internet to Yandex Disk.
-
Data about the user's Yandex Disk now includes system folder paths.
What changed
- The
preview_sizeparameter can now specify the exact dimensions of image preview files in pixels in addition to the preset preview sizes previously available (S, XL, and so on).
December 2, 2014
What's new
-
In requests for resource meta information, you can set the preview size for image files (in the
preview_sizeparameter):
What changed
-
You can now request lists of multiple types of files at once. All required file types can now be listed in a single request (in the
media_typeparameter). Changed requests:
November 7, 2014
What's new
- Request for a flat list of files that can be filtered by type.
What changed
- In all requests, you can now specify a list of keys to return. Use the
fieldsparameter to do that.