Disk
Written by
Updated at May 14, 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 |
Yes | 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 |
---|---|---|---|---|---|
content |
string |
Yes | No | Yes | Content to upload |
contentType |
BINARY |JSON |TEXT |
No | TEXT |
No | Sets how to interpret the data delivered to content : |
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:
|