Open Brookke opened 5 years ago
Passing a true/false for a URL get param eg https://ury.org.uk/api/v2/podcast/allpodcasts?api_key={{api_key}}&includeSuspended=false doesn't work and instead a 1 or 0 has to be used.
Points of interest: https://github.com/UniversityRadioYork/MyRadio/blob/6ab919704ee682192a8385c56c060c24df7b176d/src/Classes/ServiceAPI/MyRadio_Podcast.php#L859
https://github.com/UniversityRadioYork/MyRadio/blob/6ab919704ee682192a8385c56c060c24df7b176d/src/Classes/ServiceAPI/MyRadio_Swagger.php#L89-L91
Probably related to #477
Passing a true/false for a URL get param eg https://ury.org.uk/api/v2/podcast/allpodcasts?api_key={{api_key}}&includeSuspended=false doesn't work and instead a 1 or 0 has to be used.
Points of interest: https://github.com/UniversityRadioYork/MyRadio/blob/6ab919704ee682192a8385c56c060c24df7b176d/src/Classes/ServiceAPI/MyRadio_Podcast.php#L859
https://github.com/UniversityRadioYork/MyRadio/blob/6ab919704ee682192a8385c56c060c24df7b176d/src/Classes/ServiceAPI/MyRadio_Swagger.php#L89-L91