I was in the middle of converting my twitch bot over from v3 to v5 when I made a made a dumb assumption. In the documentation for v5, I read that _links was removed across the board. When it was time to update my stream/channel_id endpoint wrapper I assumed that since _links was no longer part of the returned JSON blob, that the stream object would no longer be nested. To my ignorance and after a little debug session and actually fully reading the documentation, I realized the stream object was still nested inside the JSON blob. Is there a reason why the returned JSON blob is this, instead of this:
TLDR:
Is there a reaosn why the stream object is still nested when requesting a stream by channel id even when there’s nothing returned in the blob at the same level?