mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
Add History API
This commit is contained in:
@@ -257,6 +257,11 @@ module Invidious::Routing
|
||||
get "/api/v1/auth/export/invidious", {{namespace}}::Authenticated, :export_invidious
|
||||
post "/api/v1/auth/import/invidious", {{namespace}}::Authenticated, :import_invidious
|
||||
|
||||
get "/api/v1/auth/history", {{namespace}}::Authenticated, :get_history
|
||||
post "/api/v1/auth/history/:id", {{namespace}}::Authenticated, :mark_watched
|
||||
delete "/api/v1/auth/history/:id", {{namespace}}::Authenticated, :mark_unwatched
|
||||
delete "/api/v1/auth/history", {{namespace}}::Authenticated, :clear_history
|
||||
|
||||
get "/api/v1/auth/feed", {{namespace}}::Authenticated, :feed
|
||||
|
||||
get "/api/v1/auth/subscriptions", {{namespace}}::Authenticated, :get_subscriptions
|
||||
|
||||
Reference in New Issue
Block a user