mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-29 19:40:19 +05:30
Add channel country and external links to API
This commit is contained in:
parent
8fad19d805
commit
a566a45571
@ -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 New Issue
Block a user