From a566a455719e8dbee3d7cf1135759e76719a3903 Mon Sep 17 00:00:00 2001 From: syeopite Date: Sat, 17 Apr 2021 04:06:24 -0700 Subject: [PATCH] Add channel country and external links to API --- src/invidious.cr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/invidious.cr b/src/invidious.cr index a91b74642..135f5c8c7 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2203,6 +2203,8 @@ get "/api/v1/channels/:ucid" do |env| json.field "descriptionHtml", channel.description_html json.field "allowedRegions", channel.allowed_regions + json.field "external_links", channel.links + json.field "country", channel.country json.field "latestVideos" do json.array do