Closed SamantazFox closed 2 weeks ago
Why remove them tho? The "deprecated" api routes won't be replaced by another routes so deleting them will just force everyone to change the route in their program.
This is to follow the same syntax that YouTube channels have right?
@Fijxu This doesn't add any new routes, it just removes undocumented routes. The old routes were removed from the documentation in this commit on the 14th of January 2023 https://github.com/iv-org/documentation/commit/dca939835c8a5909b450440be29006360d682eae, that is almost 2 years ago, which should be more than enough time for people to switch to the correct endpoints, especially considering that the "new" endpoints have existed for even longer than that.
Deprecate the following routes:
/api/v1/channels/videos/:ucid
/api/v1/channels/latest/:ucid
/api/v1/channels/playlists/:ucid
/api/v1/channels/community/:ucid
/api/v1/channels/search/:ucid
in favor of:
/api/v1/channels/:ucid/videos
/api/v1/channels/:ucid/latest
/api/v1/channels/:ucid/playlists
/api/v1/channels/:ucid/community
/api/v1/channels/:ucid/search