We noted that before we can properly implement endpoints for APIv2 for the radios, we probably need to have some proper planning of the feature. I am therefore starting to collect information I find while investigating the topic.
At first a class diagram for the radios we have:
[upl-image-preview url=https://forum.funkwhale.audio/assets/files/2023-07-05/1688550360-756732-classes-radios.png]
This was generated using poetry run pyreverse -o png -p radios funkwhale_api/radios/radios.py
Please note that all the different radios are inheriting from the SimpleRadio
and the SessionRadio
. A first good step might be to unify SimpleRadio
and SessionRadio
into one class called BaseRadio
which is providing the interface for all the radios.