Warning: The plugin is currently in alpha and still is a work in progress. It may have (even for sure does đ) bugs. Play around with it, and let us know if you encounter any bugs!
mv-source/mv-storage/mv-init value.OR
mv-source/mv-storage/mv-init value.Done!
https://disk.yandex.com/client/disk/baz.jsonâprivate file in the root of the diskhttps://disk.yandex.com/client/disk/foo/bar/baz.jsonâprivate file in a nested folderhttps://disk.yandex.com/client/diskâprivate file named APP_ID.json (where APP_ID is the name of your app) in the mv-data folderhttps://disk.yandex.com/d/ahNF6_YRiAkeZAâpublic (shared) filehttps://disk.yandex.com/d/RJJgoQNFJlWO9Q/baz.jsonâfile in a public (shared) folderhttps://disk.yandex.com/d/RJJgoQNFJlWO9Q/foo/bar/baz.jsonâfile in a subfolder of a public folderhttps://disk.yandex.com/d/RJJgoQNFJlWO9Q/foo/barâfile named APP_ID.json (where APP_ID is the name of your app) in a subfolder of a public folderNote: URLs starting with https://disk.yandex.ru are also supported.
Warning: Public files have download limits. The plugin will return the 404 (Not Found) error when you are out of limits.
Note: You must log in to your Yandex account to save data and upload files.
In most cases, if you read data from the existing file (optionally located in a folder on your Yandex disk), the plugin will store your data in the same file (in the same folder).
However, there might be cases when you donât have a file with data on your Yandex disk yet. The plugin will try to create the file on saving for you in those cases.
Suppose you provided https://disk.yandex.com/client/disk as the mv-storage value. And you donât have a default mv-data folder on your Yandex disk with the file APP_ID.json, where APP_ID is the name of your app, in it. On saving data, the plugin will automatically create the mv-data folder with the APP_ID.json file to store your data in. Similarly, the plugin will create folder foo with the bar.json file if they donât exist and you provided https://disk.yandex.com/client/disk/foo/bar.json as the mv-storage value.
Warning: If you try to store your data in the baz.json file inside the bar subfolder of the foo folder (i.e., you provided https://disk.yandex.com/client/disk/foo/bar/baz.json as the mv-storage value), and foo doesnât exist, youâll get an error. The plugin can not create nested folders. That might change in the future, though. đ
The same rules are applied when you try to upload your files.
| Parameter | Example |
|---|---|
filepath |
foo/bar |
filename |
baz.json |
path |
foo/bar/baz.json |
| id | Value |
|---|---|
yandex-log-in |
Please log in to your account to store your data and upload files. |