vrc_video_api (1.0)

Download OpenAPI specification:Download

Youtubeチャンネル登録API

Youtubeチャンネル登録
本APIで登録したチャンネルが取得APIで取得可能になる

登録補助用のUnity拡張
https://aki-lua87.booth.pm/items/3443008
https://aki-lua87.booth.pm/items/3271864

Request Body schema: application/json
channel_id
required
string

YoutubeチャンネルID

Responses

Request samples

Content type
application/json
{
  • "channel_id": "string"
}

Response samples

Content type
application/json
{
  • "result": "string",
  • "auther": "string"
}

Youtube動画取得API

Youtube動画取得API
動画サイトのBodyを返却
VRChatの動画プレイヤーよりコールされることを前提としている

path Parameters
channel_id
required
string

登録済みYoutubeチャンネルID

query Parameters
n
string

動画リストのn番目を取得する、省略した場合は0

Responses

Response samples

Content type
text/html
{}

Youtube動画取得API

Youtube動画取得API
対象のYoutubeの動画のURLを302リダイレクトする
VRChatの動画プレイヤーよりコールされることを前提としている

path Parameters
channel_id
required
string

登録済みYoutubeチャンネルID

query Parameters
n
string

動画リストのn番目を取得する、省略した場合は0

Responses

Youtube動画リスト取得API

Youtube動画リスト取得API
取得可能な動画のリストの動画のURLを302リダイレクトする

path Parameters
channel_id
required
string

登録済みYoutubeチャンネルID

Youtube動画リスト取得API

Youtube動画リスト取得API
取得可能な動画のリストの動画のURLを302リダイレクトする

path Parameters
channel_id
required
string

登録済みYoutubeチャンネルID

Responses

TVer動画取得API

TVer動画取得API
対象のTVerの動画のURLを302リダイレクトする
VRChatの動画プレイヤーよりコールされることを前提としている

設定可能な属性は下記(2022/1/1現在)
ranking
drama
variety
documentary
anime
sport
other
c
short
area-kanto
area-kansai
area-chubu
area-hokkaido-tohoku
area-chugoku-shikoku
area-kyusyu-okinawa

path Parameters
attribute
required
string

属性

query Parameters
n
string

動画リストのn番目を取得する、省略した場合は0

search
string

検索キーワード、本パラメータを設定した場合'n'の値は無視される。 対象の動画が存在しない場合はエラーとなる

Responses

TVer動画取得API

TVer動画取得API
対象のTVerの動画のURLを302リダイレクトする
VRChatの動画プレイヤーよりコールされることを前提としている

設定可能な属性は下記(2022/1/1現在)
ranking
drama
variety
documentary
anime
sport
other
c
short
area-kanto
area-kansai
area-chubu
area-hokkaido-tohoku
area-chugoku-shikoku
area-kyusyu-okinawa

path Parameters
attribute
required
string

属性

query Parameters
n
string

動画リストのn番目を取得する、省略した場合は0

search
string

検索キーワード、本パラメータを設定した場合'n'の値は無視される。対象の動画が存在しない場合はエラーとなる

Responses