mirror of
https://github.com/iv-org/invidious.git
synced 2024-09-06 01:22:11 +00:00
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