Yandex Disk integration is no longer supported by Toloka and is only available to those who connected it earlier.
To upload images, we recommend that you use wampi, imgbb, ImageShack, or imgur photo hosting services. This way you can quickly get direct links to your images to add them to the task file or instructions.
To use files from Yandex Disk in tasks:
To add a file to the task interface:
Select the component type. For example, "view.image"
— to insert a picture, "view.audio"
— for audio files, "view.video"
— for video files.
In the "url"
property, select the "@toloka/helper.proxy"
type.
In the "path"
property, enter the structure /<proxy name>/<file name>.<type>
with your data.
View an example with image classification
An example where files have been added from Yandex Disk in Template Builder:
{ "type": "view.image", "url": { "type": "@toloka/helper.proxy", "path": "/my-proxy/example.jpg" }}
You can also add links to files in the /<proxy name>/<file name>.<type>
format to the input data and refer to them in the configuration.
Set the access rights for the folder with instructions to “Public”.
To add an image to the project instructions:
Upload files to the Applications/Toloka/<folder name>
folder using the web interface or Yandex Disk app.
Select a method of adding the file to the instructions.
In the Instructions for Tolokers field on the toolbar, click .
Insert /api/proxy/<proxy name>/<file name>.<type>
in the field that appears. For example: /api/proxy/my-proxy/example.jpg
.
Press Enter.
Last updated: June 22, 2023