Feature/channel view content (#150)

* ChannelView feeds

* Fixes for web app

* Add request id to error message
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-09-22 17:52:53 -04:00
1 parent e2df0b524a
commit dab6dc5bc4
20 files changed
+414 -133

No files matched your search

@@ -62,7 +62,7 @@
name: "search",
displayName: "Search",
url: "/api/v1/search",
pagination: true,
paginationType: "Pages",
queryParams: {
q: {
required: true,
@@ -122,7 +122,7 @@
default: 20,
},
},
pagination: true,
paginationType: "Pages",
},
{
name: "playlists",
@@ -135,13 +135,14 @@
displayName: "Playlist",
url: "/api/v1/playlists/{plid}",
responseHandler: "PlaylistHandler",
pagination: true,
paginationType: "Pages",
},
{
name: "channel",
displayName: "Channel",
url: "/api/v1/channels/videos/{ucid}",
responseHandler: "ChannelHandler",
name: "channel_videos",
displayName: "Channel videos",
url: "/api/v1/channels/{ucid}/videos",
responseHandler: "ChannelVideosHandler",
paginationType: "Continuation",
queryParams: {
sort_by: {
required: false,
@@ -149,5 +150,46 @@
},
},
},
{
name: "channel_playlists",
displayName: "Channel playlists",
url: "/api/v1/channels/{ucid}/playlists",
responseHandler: "ChannelPlaylistsHandler",
paginationType: "Continuation",
queryParams: {
sort_by: {
required: false,
type: ["newest", "oldest", "last"],
},
},
},
{
name: "channel_shorts",
displayName: "Channel shorts",
url: "/api/v1/channels/{ucid}/shorts",
responseHandler: "ChannelVideosHandler",
paginationType: "Continuation",
},
{
name: "channel_streams",
displayName: "Channel livestreams",
url: "/api/v1/channels/{ucid}/streams",
responseHandler: "ChannelVideosHandler",
paginationType: "Continuation",
},
{
name: "channel_podcasts",
displayName: "Channel podcasts",
url: "/api/v1/channels/{ucid}/podcasts",
responseHandler: "ChannelPlaylistsHandler",
paginationType: "Continuation",
},
{
name: "channel_channels",
displayName: "Related channels",
url: "/api/v1/channels/{ucid}/channels",
responseHandler: "ChannelRelatedChannelsHandler",
paginationType: "Continuation",
},
],
}