Skip to content

Commit d2866d1

Browse files
Update src/main.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ea2e176 commit d2866d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ lazy_static::lazy_static! {
3030
path = "/get/{id}",
3131
params(
3232
("id" = String, Path, description = "YouTube channel or playlist ID"),
33-
("type" = Option<String>, Query, description = "Type filter (shorts/short, live/lives/stream/streams, videos/video/long/longs, all)"),
33+
("type" = Option<String>, Query, description = r#"Type filter.
34+
35+
Aliases:
36+
- shorts, short
37+
- live, lives, stream, streams
38+
- videos, video, long, longs
39+
- all"#),
3440
("maxresults" = Option<u32>, Query, description = "Maximum results (1-50)")
3541
),
3642
responses(

0 commit comments

Comments
 (0)