biigle / annotations

:m: BIIGLE module to create, edit and explore image annotations
0 stars 1 forks source link

Batch create annotations #104

Closed dlangenk closed 5 years ago

dlangenk commented 6 years ago

It would be great to have an api endpoint which takes an array instead of a single annotation. Creating 30k annotations took roughly 6 hours.

mzur commented 6 years ago

The last few times we used the CLI import command with the JSON import files for this. I just imported 150k annotations in a few seconds via the CLI. But I agree that a new API endpoint could be useful. We should implement some kind of rate limiting here, though, so users can't (accidentally) bombard BIIGLE with a huge number of new annotations.

mzur commented 5 years ago

The people from Ifremer started to use the API and would find this useful.

mzur commented 5 years ago

I implemented an endpoint to store up to 100 annotations in a single request (biigle/core@b1c081e3a4a4edef9ad613716e64a89e33ddbc0d).