(frontend) serialize recording key for frontend download links

Add recording key to serialized API response to enable frontend to generate
proper download links without additional backend calls. Simplifies media
access workflow across the application.
This commit is contained in:
lebaudantoine
2025-04-17 15:31:35 +02:00
committed by aleb_the_flash
parent 2092d586ab
commit b927be9f16
3 changed files with 4 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ class RecordingSerializer(serializers.ModelSerializer):
class Meta:
model = models.Recording
fields = ["id", "room", "created_at", "updated_at", "status", "mode"]
fields = ["id", "room", "created_at", "updated_at", "status", "mode", "key"]
read_only_fields = fields