Download file
Downloads an attached file.
To access the file, the user must have the change_survey or viewfile_survey role, or be the user who uploaded the file.
An anonymous user can download the file by passing the hash parameter in the request.
The hash parameter is returned when uploading a file.
Parameters:
- path: path for downloading the file
- download: adds the
Content-Dispositionheader with the file name to the response - hash: allows downloading the file if access to it cannot be verified
Request
GET
https://api.forms.yandex.net/v1/files
Query parameters
|
Name |
Description |
|
path |
Type: string Example: `` |
|
download |
Type: boolean Default: |
|
hash |
Type: string Example: `` |
Responses
200 OK
OK
Was the article helpful?
Previous
Next