Try 30 days of free premium.

Does anybody have a list of optional properties from the public API endpoints?

deleted wrote 6 years ago: 1

I am currently in the process of moving the Episode Guide codebase to Kotlin, and with that comes null safety.

Looking at the current documentation I can't see if a property will be optional or required. Does anybody have a list or some guidance on this, eg for this endpoint:

http://api.tvmaze.com/shows/82


david wrote 6 years ago: 1

Yeah, this isn't currently documented anywhere. Almost every show property can theoretically be empty (null, or an empty array for array types); only id, name, status and type are guaranteed to be set.

deleted wrote 6 years ago: 1

david wrote:
Yeah, this isn't currently documented anywhere. Almost every show property can theoretically be empty (null, or an empty array for array types); only id, name, status and type are guaranteed to be set.

Thanks for the info David.

Try 30 days of free premium.