Closed mzur closed 3 years ago
The people at GEOMAR are currently evaluating Elements as media asset management system. This is a candidate system to which BIIGLE could establish compatibility.
A connection to Elements might be possible using the Elements API. Authorization is done with a token in the request header. The token can be stored in the user settings. API endpoints to explore are:
/media/assets
/media/files
/media/files/{id}/contents
/media/roots
/volumes
/workspaces
All further work requires an Elements instance to use for testing.
The GEOMAR Elements instance is now available. Work on this issue can proceed.
I asked the Elements developers for assistance (elements-storage/elements-sdk-python#1).
This could work in two alternative ways:
Elements is able to create public URLs for directories that can be used with the existing remote volume feature of BIIGLE. No issues here.
We implement a new storage disk adapter for Elements. Elements users can share directories with a special Elements user for the BIIGLE instance. The storage disk is configured with an API token of the special Elements user. New volumes are created e.g. with the elements://
disk prefix.
A read-only adapter for Elements is now implemented in biigle/laravel-elements-storage.
The Elements adapter is functional. #268 needs to be resolved to fix performance issues with large videos (this affects any storage disk).
Make BIIGLE compatible with a central marine image/video repository that might become available in the future. If the repository can be used for remote volumes/videos, integrate it to make creation of volumes/videos easier. Otherwise, implement an interface to the repository.