Closed dlangenk closed 5 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.
The people from Ifremer started to use the API and would find this useful.
I implemented an endpoint to store up to 100 annotations in a single request (biigle/core@b1c081e3a4a4edef9ad613716e64a89e33ddbc0d).
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.