Upload evidence
POST/file-system/upload
Uploads a file and links it to a run or a step:
entity | idEntity | Where it appears |
|---|---|---|
run_progress | Step id, returned by start-component | Step screenshot, in the run timeline |
dataset_run_resource | Run id | Run attachment |
dataset_run_video | Run id | Run video |
- The step or the run must belong to the organization of the token.
- Up to 200 MB per file.
- The file extension has up to 4 characters (
png,jpg,mp4,pdf,json).
Permission: Runs: update.
Request
Responses
- 200
- 400
- 401
- 403
- 404
File stored
Entity not in the list, invalid idEntity, or file missing or larger than 200 MB
Missing, invalid or expired token
Missing permission, or failure writing the file to storage
The step or the run does not belong to the organization