I am making my own web app to store which TV shows and movies i have watched. I would like to store additional data about each show or movie. Am I allowed to use the comments in a list to store JSON data?
Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.
Norite įvertinti ar įtraukti šį elementą į sąrašą?
Nesate narys?
Atsakė Travis Bell
2024 sausio 21, 3:28 PM
There’s some assumption that the text in comments should be parsable as Markdown but there’s probably nothing stopping you from storing some JSON.
Have you tried it, does it work?
Atsakė UnityGaming
2024 sausio 21, 3:31 PM
I have a small proof of concept, yes. I request the list through the v4 endpoint and just parse all the comments as JSON.
Atsakė Travis Bell
2024 sausio 21, 3:33 PM
If it works, go for it. It’s your list.
Atsakė UnityGaming
2024 sausio 21, 3:36 PM
All right, thank you. Would this also be ok if, at a later date, I allowed users to authenticate with their TMDB accounts and would store things in their lists?
Atsakė Travis Bell
2024 sausio 21, 3:48 PM
In theory, sure. You’ll have to balance that in practice though.
The new list layout is being launched soon which has the ability to show and hide comments so in theory at least these users could hide all the gibberish JSON from polluting their displays.
Atsakė UnityGaming
2024 sausio 21, 3:50 PM
Ok, thank you for the quick replies and permission!