{"endpoints":{"/subtitles":{"method":"GET","description":"Get video subtitles","parameters":{"videoId":"YouTube video ID","lang":"Optional language code"}},"/langs":{"method":"GET","description":"Get available languages for a video","parameters":{"videoId":"YouTube video ID"}},"/video":{"method":"GET","description":"Get video information","parameters":{"videoId":"YouTube video ID","lang":"Optional language code"}},"/playlist":{"method":"GET","description":"Get channel playlists using YouTubei.js library","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","lang":"Optional language code"}},"/validate-video":{"method":"GET","description":"Validate if a video meets specific criteria","parameters":{"videoId":"YouTube video ID","lang":"Optional language code (default: en)","debug":"Optional debug mode (default: false)"}},"/channel/videos":{"method":"GET","description":"Get channel videos with limit and sorting","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","limit":"Optional number of videos to return (default: 10, max: 50)","sort":"Optional sort order ('latest' or 'popular', default: 'latest')","lang":"Optional language code (default: en)"}},"/channel/videos/save":{"method":"POST","description":"Get channel videos and save them to GitLab","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","limit":"Optional number of videos to return (default: 5)","sort":"Optional sort order ('latest' or 'popular')","lang":"Optional language code (default: en)"}},"/youtube/channel/vetch":{"method":"GET","description":"Get channel videos with validation and sorting","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","limit":"Optional number of videos to return (default: 5)","sort":"Optional sort order ('latest' or 'popular')","lang":"Optional language code (default: en)"}},"/youtube/channel/persist":{"method":"POST","description":"Get channel videos and save them to GitLab","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","limit":"Optional number of videos to return (default: 5)","sort":"Optional sort order ('latest' or 'popular')","lang":"Optional language code (default: en)"}},"/youtube/channels/:channelId/videos":{"methods":{"GET":{"description":"Get channel videos with validation and sorting","parameters":{"channelId":"YouTube channel ID","channelHandle":"YouTube channel handle (e.g. @TalkUkCom)","limit":"Optional number of videos to return (default: 5)","sort":"Optional sort order ('latest' or 'popular')","lang":"Optional language code (default: en)"}},"POST":{"description":"Save channel videos to GitLab","parameters":{"channelId":"YouTube channel ID","channelName":"Channel name for GitLab file","videos":"Array of videos to save"}}}}}}