webknossos-libs
webknossos-libs copied to clipboard
Accessing list of available remote annotations through Python API
I'ts possible that this feature already exists and I've not found it in the documentation.
I'd like to programatically access the list of Annotations that are currently available to my account, the way that I do it at the moment is by directly sending a request to /api/annotations/readable to get the same list I have on the web frontend.
Looking at https://github.com/scalableminds/webknossos-libs/blob/e7ed52e298d37692e014e9db643453346b9135de/webknossos/webknossos/client/api_client/wk_api_client.py I suspect that this feature is not already included.
We don't have an API for that at the moment. For some context, why would you need to list all annotations in your workflows?
I want to be able to select which Annotations i want to download based on tags and statuses and not having to rely on the web interface to manually copy the ID of the annotations I want to use.
In the docs I couldn't find a way of doing what I wanted to do using the python client.