Overview
Using API to export task level annotations not works on v2.14.3 but works on v2.14.0. I have not tested versions after 2.14.0 to find closest version which introduced this fault.
Spin up v2.14.3 of CVAT services.
Have a task with a job and some annotations in it ( more than 1 )
Use API to export all annotations in the tasks using https://<url>/api/tasks/<TaskID>/annotations?action=download&format=Datumaro+1.0
The request returns Bad Request 404. Below are the cvat_server logs
I was able to run my unit-test with 2.14.0 and it passes the test.
### Expected Behavior
Should only send 400, in case whether task/annotation not exists. But returns 400, with 2 annotations. Ideally, first response should be 200 ( meaning task annotations export started ), and in subsequent requests should receive 202 ( meaning task exported ), and the raw binary will be response contents.
### Possible Solution
_No response_
### Context
_No response_
### Environment
_No response_
Actions before raising this issue
Steps to Reproduce
Overview Using API to export task level annotations not works on
v2.14.3
but works onv2.14.0
. I have not tested versions after2.14.0
to find closest version which introduced this fault.https://<url>/api/tasks/<TaskID>/annotations?action=download&format=Datumaro+1.0
Bad Request 404
. Below are thecvat_server
logsExport task annotations
works, on the same task from CVAT UI. Here's the server output2024-06-18 00:29:29,423 DEBG 'uvicorn-1' stdout output: INFO: 10.58.42.1:0 - "GET /api/projects/186 HTTP/1.0" 200 OK
2024-06-18 00:29:29,443 DEBG 'uvicorn-0' stdout output: INFO: 10.58.42.1:0 - "GET /api/tasks/449/annotations?org=&use_default_location=true&format=Datumaro+1.0&action=download HTTP/1.0" 200 OK