Spa Serializer removes fields
If I read the spa manifest from the frontend directly, I get the following:
{
"name": "Funkwhale",
"short_name": "Funkwhale",
"display": "standalone",
"background_color": "#ffffff",
"lang": "en",
"categories": [
"music",
"entertainment"
],
"description": "Your free and federated audio platform",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"prefer_related_applications": true,
"related_applications": [
{
"platform": "play",
"url": "https://play.google.com/store/apps/details?id=audio.funkwhale.ffa",
"id": "audio.funkwhale.ffa"
},
{
"platform": "f-droid",
"url": "https://f-droid.org/en/packages/audio.funkwhale.ffa/",
"id": "audio.funkwhale.ffa"
}
],
"shortcuts": [
{
"name": "Search",
"url": "/search",
"icons": []
},
{
"name": "Library",
"url": "/library",
"icons": []
},
{
"name": "Channels",
"url": "/subscriptions",
"icons": []
}
]
}
This gets read by the backend and maybe overwritten. But the return is:
{
"name": "Funkwhale",
"short_name": "Funkwhale",
"display": "standalone",
"background_color": "#ffffff",
"lang": "en",
"description": "Your free and federated audio platform"
}