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?
Can't find a movie or TV show? Login to create it.
Vil du vurdere eller legge til dette elementet i en liste?
Ikke et medlem?
Svar av Travis Bell
den 21 Januar 2024 kl. 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?
Svar av UnityGaming
den 21 Januar 2024 kl. 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.
Svar av Travis Bell
den 21 Januar 2024 kl. 3:33 PM
If it works, go for it. It’s your list.
Svar av UnityGaming
den 21 Januar 2024 kl. 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?
Svar av Travis Bell
den 21 Januar 2024 kl. 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.
Svar av UnityGaming
den 21 Januar 2024 kl. 3:50 PM
Ok, thank you for the quick replies and permission!