Add API endpoint for fetching transcripts from YouTube (#4788)

This commit is contained in:
syeopite
2025-02-26 13:56:39 -08:00
3 changed files with 122 additions and 0 deletions

View File

@@ -236,6 +236,7 @@ module Invidious::Routing
get "/api/v1/annotations/:id", {{namespace}}::Videos, :annotations
get "/api/v1/comments/:id", {{namespace}}::Videos, :comments
get "/api/v1/clips/:id", {{namespace}}::Videos, :clips
get "/api/v1/transcripts/:id", {{namespace}}::Videos, :transcripts
# Feeds
get "/api/v1/trending", {{namespace}}::Feeds, :trending