next_ad_at
String
The UTC timestamp of the broadcaster’s next scheduled ad, in RFC3339 format. Empty if the channel has no ad scheduled or is not live.
The timestamp I receive is not in RFC3339 format. I receive a unix timestamp like 1728825458 instead. Please also check the fields last_ad_at and snooze_refresh_at. Thank you!
Maybe it’s not the documentation that should be fixed here. Other API endpoints do indeed return timestamps in RFC3339 format. Would be nice if it would be consistent.
#961 describes exactly my issue and is NOT a duplicate of #857
I don’t know how much this endpoint is really used but I do understand. Still - the two issues are not really duplicates. One is about some fields having the wrong type. The other one is about other fields (of the same endpoint) delivering the wrong format. Even if only the documentation can be changed, then the two issues still talk about different fields that need fixing in the documentation.
Appreciate the quick replies. Thank you very much. I’ll rely on the unix timestamps in this endpoint then (which is weird because inconsistent) but I can live with it.