Disk
Written by
Updated at April 24, 2025
Interacting with files on Yandex Disk. The upload
and download
fields are mutually exclusive: you can use only one of them.
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
oauthToken |
string |
Yes | No | Yes | OAuth token for authorization when accessing Yandex Disk |
path |
string |
No | "" |
Yes | Path to the file to upload or download |
upload |
DiskUpload | No | No | No | upload configuration: uploading a file to Yandex Disk |
download |
DiskDownload | No | No | No | download configuration: downloading a file from Yandex Disk |
DiskUpload object
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
contentType |
TEXT | BINARY | JSON |
No | BINARY |
No | Defines how to interpret the content: |
content |
TEXT |JSON |BINARY |
Yes | No | Yes | Content to upload |
DiskDownload object
Field name | Type | Required | Default value | Templating is supported | Description |
---|---|---|---|---|---|
contentType |
TEXT | BINARY | JSON | CSV | EXCEL |
No | BINARY |
No | Defines how to interpret the content:
|