mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add channel country and external links to API
This commit is contained in:
parent
8fad19d805
commit
a566a45571
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue