Add API endpoint for Clips

This commit is contained in:
ChunkyProgrammer
2023-11-14 23:35:11 -05:00
parent 8c22e6a640
commit b344d98c25
4 changed files with 67 additions and 13 deletions

View File

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