1535 lines
48 KiB
YAML
1535 lines
48 KiB
YAML
# Generated with protoc-gen-openapi
|
|
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
|
|
|
|
openapi: 3.0.3
|
|
info:
|
|
title: ""
|
|
version: 0.0.1
|
|
paths:
|
|
/api/bilibili/get_dash_pgc_url:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetDashPGCURL
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetDashPGCURLReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetDashPGCURLResp'
|
|
/api/bilibili/get_dash_video_url:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetDashVideoURL
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetDashVideoURLReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetDashVideoURLResp'
|
|
/api/bilibili/get_live_streams:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetLiveStreams
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetLiveStreamsReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetLiveStreamsResp'
|
|
/api/bilibili/get_pgc_url:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetPGCURL
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetPGCURLReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.VideoURL'
|
|
/api/bilibili/get_subtitles:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetSubtitles
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetSubtitlesReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetSubtitlesResp'
|
|
/api/bilibili/get_video_url:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_GetVideoURL
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.GetVideoURLReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.VideoURL'
|
|
/api/bilibili/login_with_qrcode:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_LoginWithQRCode
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.LoginWithQRCodeReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.LoginWithQRCodeResp'
|
|
/api/bilibili/login_with_sms:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_LoginWithSMS
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.LoginWithSMSReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.LoginWithSMSResp'
|
|
/api/bilibili/match:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_Match
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.MatchReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.MatchResp'
|
|
/api/bilibili/new_captcha:
|
|
get:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_NewCaptcha
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.NewCaptchaResp'
|
|
/api/bilibili/new_qrcode:
|
|
get:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_NewQRCode
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.NewQRCodeResp'
|
|
/api/bilibili/new_sms:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_NewSMS
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.NewSMSReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.NewSMSResp'
|
|
/api/bilibili/parse_live_page:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_ParseLivePage
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.ParseLivePageReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.VideoPageInfo'
|
|
/api/bilibili/parse_pgc_page:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_ParsePGCPage
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.ParsePGCPageReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.VideoPageInfo'
|
|
/api/bilibili/parse_video_page:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_ParseVideoPage
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.ParseVideoPageReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.VideoPageInfo'
|
|
/api/bilibili/user_info:
|
|
post:
|
|
tags:
|
|
- Bilibili
|
|
operationId: Bilibili_UserInfo
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.UserInfoReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.bilibili.UserInfoResp'
|
|
/auth/login:
|
|
post:
|
|
tags:
|
|
- Alist
|
|
operationId: Alist_Login
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.alist.LoginReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.alist.LoginResp'
|
|
/emby/DeleteActiveEncodeing:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_DeleteActiveEncodeings
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.DeleteActiveEncodeingsReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.Empty'
|
|
/emby/FileSystem/Paths:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_FsList
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.FsListReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.FsListResp'
|
|
/emby/Items:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_GetItems
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.GetItemsReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.GetItemsResp'
|
|
/emby/Items/{itemId}:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_GetItem
|
|
parameters:
|
|
- name: itemId
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: string
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.GetItemReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.Item'
|
|
/emby/Login:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_Login
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.LoginReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.LoginResp'
|
|
/emby/Playback/Info:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_PlaybackInfo
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.PlaybackInfoReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.PlaybackInfoResp'
|
|
/emby/Sessions/Logout:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_Logout
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.LogoutReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.Empty'
|
|
/emby/System/Info:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_GetSystemInfo
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.SystemInfoReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.SystemInfoResp'
|
|
/emby/Users/Me:
|
|
post:
|
|
tags:
|
|
- Emby
|
|
operationId: Emby_Me
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.MeReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.emby.MeResp'
|
|
/fs/get:
|
|
post:
|
|
tags:
|
|
- Webdav
|
|
operationId: Webdav_FsGet
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsGetReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsGetResp'
|
|
/fs/list:
|
|
post:
|
|
tags:
|
|
- Webdav
|
|
operationId: Webdav_FsList
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsListReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsListResp'
|
|
/fs/other:
|
|
post:
|
|
tags:
|
|
- Alist
|
|
operationId: Alist_FsOther
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.alist.FsOtherReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.alist.FsOtherResp'
|
|
/fs/search:
|
|
post:
|
|
tags:
|
|
- Webdav
|
|
operationId: Webdav_FsSearch
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsSearchReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsSearchResp'
|
|
/fs/test:
|
|
post:
|
|
tags:
|
|
- Webdav
|
|
operationId: Webdav_FsTest
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.FsTestReq'
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.webdav.Empty'
|
|
/me:
|
|
get:
|
|
tags:
|
|
- Alist
|
|
operationId: Alist_Me
|
|
parameters:
|
|
- name: host
|
|
in: query
|
|
schema:
|
|
type: string
|
|
- name: token
|
|
in: query
|
|
schema:
|
|
type: string
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/api.alist.MeResp'
|
|
components:
|
|
schemas:
|
|
api.alist.FsGetReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
path:
|
|
type: string
|
|
password:
|
|
type: string
|
|
userAgent:
|
|
type: string
|
|
api.alist.FsGetResp:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
size:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
modified:
|
|
type: string
|
|
created:
|
|
type: string
|
|
sign:
|
|
type: string
|
|
thumb:
|
|
type: string
|
|
type:
|
|
type: string
|
|
hashinfo:
|
|
type: string
|
|
rawUrl:
|
|
type: string
|
|
readme:
|
|
type: string
|
|
provider:
|
|
type: string
|
|
related:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.alist.FsGetResp_FsGetRelated'
|
|
api.alist.FsGetResp_FsGetRelated:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
size:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
modified:
|
|
type: string
|
|
created:
|
|
type: string
|
|
sign:
|
|
type: string
|
|
thumb:
|
|
type: string
|
|
type:
|
|
type: string
|
|
hashinfo:
|
|
type: string
|
|
api.alist.FsListReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
path:
|
|
type: string
|
|
password:
|
|
type: string
|
|
page:
|
|
type: string
|
|
perPage:
|
|
type: string
|
|
refresh:
|
|
type: boolean
|
|
api.alist.FsListResp:
|
|
type: object
|
|
properties:
|
|
content:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.alist.FsListResp_FsListContent'
|
|
total:
|
|
type: string
|
|
readme:
|
|
type: string
|
|
write:
|
|
type: boolean
|
|
provider:
|
|
type: string
|
|
api.alist.FsListResp_FsListContent:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
size:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
modified:
|
|
type: string
|
|
sign:
|
|
type: string
|
|
thumb:
|
|
type: string
|
|
type:
|
|
type: string
|
|
api.alist.FsOtherReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
path:
|
|
type: string
|
|
method:
|
|
type: string
|
|
password:
|
|
type: string
|
|
api.alist.FsOtherResp:
|
|
type: object
|
|
properties:
|
|
driveId:
|
|
type: string
|
|
fileId:
|
|
type: string
|
|
videoPreviewPlayInfo:
|
|
$ref: '#/components/schemas/api.alist.FsOtherResp_VideoPreviewPlayInfo'
|
|
api.alist.FsOtherResp_VideoPreviewPlayInfo:
|
|
type: object
|
|
properties:
|
|
category:
|
|
type: string
|
|
liveTranscodingSubtitleTaskList:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.alist.VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList'
|
|
liveTranscodingTaskList:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.alist.VideoPreviewPlayInfo_LiveTranscodingTaskList'
|
|
meta:
|
|
$ref: '#/components/schemas/api.alist.VideoPreviewPlayInfo_Meta'
|
|
api.alist.FsSearchReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
parent:
|
|
type: string
|
|
keywords:
|
|
type: string
|
|
scope:
|
|
type: string
|
|
page:
|
|
type: string
|
|
perPage:
|
|
type: string
|
|
password:
|
|
type: string
|
|
api.alist.FsSearchResp:
|
|
type: object
|
|
properties:
|
|
content:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.alist.FsSearchResp_FsSearchContent'
|
|
total:
|
|
type: string
|
|
api.alist.FsSearchResp_FsSearchContent:
|
|
type: object
|
|
properties:
|
|
parent:
|
|
type: string
|
|
name:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
size:
|
|
type: string
|
|
type:
|
|
type: string
|
|
api.alist.LoginReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
hashed:
|
|
type: boolean
|
|
api.alist.LoginResp:
|
|
type: object
|
|
properties:
|
|
token:
|
|
type: string
|
|
api.alist.MeResp:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
basePath:
|
|
type: string
|
|
role:
|
|
type: string
|
|
disabled:
|
|
type: boolean
|
|
permission:
|
|
type: string
|
|
ssoId:
|
|
type: string
|
|
otp:
|
|
type: boolean
|
|
api.alist.VideoPreviewPlayInfo_LiveTranscodingSubtitleTaskList:
|
|
type: object
|
|
properties:
|
|
language:
|
|
type: string
|
|
status:
|
|
type: string
|
|
url:
|
|
type: string
|
|
api.alist.VideoPreviewPlayInfo_LiveTranscodingTaskList:
|
|
type: object
|
|
properties:
|
|
stage:
|
|
type: string
|
|
status:
|
|
type: string
|
|
templateHeight:
|
|
type: string
|
|
templateId:
|
|
type: string
|
|
templateName:
|
|
type: string
|
|
templateWidth:
|
|
type: string
|
|
url:
|
|
type: string
|
|
api.alist.VideoPreviewPlayInfo_Meta:
|
|
type: object
|
|
properties:
|
|
duration:
|
|
type: number
|
|
format: double
|
|
height:
|
|
type: string
|
|
width:
|
|
type: string
|
|
api.bilibili.GetDashPGCURLReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
epid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
api.bilibili.GetDashPGCURLResp:
|
|
type: object
|
|
properties:
|
|
mpd:
|
|
type: string
|
|
hevcMpd:
|
|
type: string
|
|
api.bilibili.GetDashVideoURLReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
aid:
|
|
type: string
|
|
bvid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
api.bilibili.GetDashVideoURLResp:
|
|
type: object
|
|
properties:
|
|
mpd:
|
|
type: string
|
|
hevcMpd:
|
|
type: string
|
|
api.bilibili.GetLiveStreamsReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
hls:
|
|
type: boolean
|
|
api.bilibili.GetLiveStreamsResp:
|
|
type: object
|
|
properties:
|
|
liveStreams:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.bilibili.LiveStream'
|
|
api.bilibili.GetPGCURLReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
epid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
quality:
|
|
type: string
|
|
api.bilibili.GetSubtitlesReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
aid:
|
|
type: string
|
|
bvid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
api.bilibili.GetSubtitlesResp:
|
|
type: object
|
|
properties:
|
|
subtitles:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
api.bilibili.GetVideoURLReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
aid:
|
|
type: string
|
|
bvid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
quality:
|
|
type: string
|
|
api.bilibili.LiveStream:
|
|
type: object
|
|
properties:
|
|
quality:
|
|
type: string
|
|
urls:
|
|
type: array
|
|
items:
|
|
type: string
|
|
desc:
|
|
type: string
|
|
api.bilibili.LoginWithQRCodeReq:
|
|
type: object
|
|
properties:
|
|
key:
|
|
type: string
|
|
api.bilibili.LoginWithQRCodeResp:
|
|
type: object
|
|
properties:
|
|
status:
|
|
type: integer
|
|
format: enum
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
api.bilibili.LoginWithSMSReq:
|
|
type: object
|
|
properties:
|
|
phone:
|
|
type: string
|
|
code:
|
|
type: string
|
|
captchaKey:
|
|
type: string
|
|
api.bilibili.LoginWithSMSResp:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
api.bilibili.MatchReq:
|
|
type: object
|
|
properties:
|
|
url:
|
|
type: string
|
|
api.bilibili.MatchResp:
|
|
type: object
|
|
properties:
|
|
type:
|
|
type: string
|
|
id:
|
|
type: string
|
|
api.bilibili.NewCaptchaResp:
|
|
type: object
|
|
properties:
|
|
token:
|
|
type: string
|
|
gt:
|
|
type: string
|
|
challenge:
|
|
type: string
|
|
api.bilibili.NewQRCodeResp:
|
|
type: object
|
|
properties:
|
|
url:
|
|
type: string
|
|
key:
|
|
type: string
|
|
api.bilibili.NewSMSReq:
|
|
type: object
|
|
properties:
|
|
phone:
|
|
type: string
|
|
token:
|
|
type: string
|
|
challenge:
|
|
type: string
|
|
validate:
|
|
type: string
|
|
api.bilibili.NewSMSResp:
|
|
type: object
|
|
properties:
|
|
captchaKey:
|
|
type: string
|
|
api.bilibili.ParseLivePageReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
roomID:
|
|
type: string
|
|
api.bilibili.ParsePGCPageReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
ssid:
|
|
type: string
|
|
epid:
|
|
type: string
|
|
api.bilibili.ParseVideoPageReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
aid:
|
|
type: string
|
|
bvid:
|
|
type: string
|
|
sections:
|
|
type: boolean
|
|
api.bilibili.UserInfoReq:
|
|
type: object
|
|
properties:
|
|
cookies:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
api.bilibili.UserInfoResp:
|
|
type: object
|
|
properties:
|
|
isLogin:
|
|
type: boolean
|
|
username:
|
|
type: string
|
|
face:
|
|
type: string
|
|
isVip:
|
|
type: boolean
|
|
api.bilibili.VideoInfo:
|
|
type: object
|
|
properties:
|
|
bvid:
|
|
type: string
|
|
cid:
|
|
type: string
|
|
epid:
|
|
type: string
|
|
name:
|
|
type: string
|
|
coverImage:
|
|
type: string
|
|
live:
|
|
type: boolean
|
|
api.bilibili.VideoPageInfo:
|
|
type: object
|
|
properties:
|
|
title:
|
|
type: string
|
|
actors:
|
|
type: string
|
|
videoInfos:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.bilibili.VideoInfo'
|
|
api.bilibili.VideoURL:
|
|
type: object
|
|
properties:
|
|
acceptDescription:
|
|
type: array
|
|
items:
|
|
type: string
|
|
acceptQuality:
|
|
type: array
|
|
items:
|
|
type: string
|
|
currentQuality:
|
|
type: string
|
|
url:
|
|
type: string
|
|
api.emby.DeleteActiveEncodeingsReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
palySessionId:
|
|
type: string
|
|
api.emby.Empty:
|
|
type: object
|
|
properties: {}
|
|
api.emby.FsListReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
path:
|
|
type: string
|
|
startIndex:
|
|
type: string
|
|
limit:
|
|
type: string
|
|
searchTerm:
|
|
type: string
|
|
userId:
|
|
type: string
|
|
api.emby.FsListResp:
|
|
type: object
|
|
properties:
|
|
paths:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.Path'
|
|
items:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.Item'
|
|
total:
|
|
type: string
|
|
api.emby.GetItemReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
itemId:
|
|
type: string
|
|
api.emby.GetItemsReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
parentId:
|
|
type: string
|
|
searchTerm:
|
|
type: string
|
|
userId:
|
|
type: string
|
|
api.emby.GetItemsResp:
|
|
type: object
|
|
properties:
|
|
items:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.Item'
|
|
totalRecordCount:
|
|
type: string
|
|
api.emby.Item:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
id:
|
|
type: string
|
|
type:
|
|
type: string
|
|
parentId:
|
|
type: string
|
|
seriesName:
|
|
type: string
|
|
seriesId:
|
|
type: string
|
|
seasonName:
|
|
type: string
|
|
seasonId:
|
|
type: string
|
|
isFolder:
|
|
type: boolean
|
|
mediaSourceInfo:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.MediaSourceInfo'
|
|
collectionType:
|
|
type: string
|
|
api.emby.LoginReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
api.emby.LoginResp:
|
|
type: object
|
|
properties:
|
|
token:
|
|
type: string
|
|
userId:
|
|
type: string
|
|
serverId:
|
|
type: string
|
|
api.emby.LogoutReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
api.emby.MeReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
userId:
|
|
type: string
|
|
api.emby.MeResp:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
name:
|
|
type: string
|
|
serverId:
|
|
type: string
|
|
api.emby.MediaSourceInfo:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
name:
|
|
type: string
|
|
path:
|
|
type: string
|
|
container:
|
|
type: string
|
|
protocol:
|
|
type: string
|
|
defaultSubtitleStreamIndex:
|
|
type: string
|
|
defaultAudioStreamIndex:
|
|
type: string
|
|
mediaStreamInfo:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.MediaStreamInfo'
|
|
directPlayUrl:
|
|
type: string
|
|
transcodingUrl:
|
|
type: string
|
|
api.emby.MediaStreamInfo:
|
|
type: object
|
|
properties:
|
|
codec:
|
|
type: string
|
|
language:
|
|
type: string
|
|
type:
|
|
type: string
|
|
title:
|
|
type: string
|
|
displayTitle:
|
|
type: string
|
|
displayLanguage:
|
|
type: string
|
|
isDefault:
|
|
type: boolean
|
|
index:
|
|
type: string
|
|
protocol:
|
|
type: string
|
|
api.emby.Path:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
path:
|
|
type: string
|
|
api.emby.PlaybackInfoReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
userId:
|
|
type: string
|
|
itemId:
|
|
type: string
|
|
mediaSourceId:
|
|
type: string
|
|
audioStreamIndex:
|
|
type: integer
|
|
format: int32
|
|
subtitleStreamIndex:
|
|
type: integer
|
|
format: int32
|
|
maxStreamingBitrate:
|
|
type: string
|
|
api.emby.PlaybackInfoResp:
|
|
type: object
|
|
properties:
|
|
playSessionID:
|
|
type: string
|
|
mediaSourceInfo:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.emby.MediaSourceInfo'
|
|
api.emby.SystemInfoReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
token:
|
|
type: string
|
|
api.emby.SystemInfoResp:
|
|
type: object
|
|
properties:
|
|
systemUpdateLevel:
|
|
type: string
|
|
operatingSystemDisplayName:
|
|
type: string
|
|
packageName:
|
|
type: string
|
|
hasPendingRestart:
|
|
type: boolean
|
|
isShuttingDown:
|
|
type: boolean
|
|
supportsLibraryMonitor:
|
|
type: boolean
|
|
webSocketPortNumber:
|
|
type: integer
|
|
format: int32
|
|
canSelfRestart:
|
|
type: boolean
|
|
canSelfUpdate:
|
|
type: boolean
|
|
canLaunchWebBrowser:
|
|
type: boolean
|
|
programDataPath:
|
|
type: string
|
|
itemsByNamePath:
|
|
type: string
|
|
cachePath:
|
|
type: string
|
|
logPath:
|
|
type: string
|
|
internalMetadataPath:
|
|
type: string
|
|
transcodingTempPath:
|
|
type: string
|
|
httpServerPortNumber:
|
|
type: integer
|
|
format: int32
|
|
supportsHttps:
|
|
type: boolean
|
|
httpsPortNumber:
|
|
type: integer
|
|
format: int32
|
|
hasUpdateAvailable:
|
|
type: boolean
|
|
supportsAutoRunAtStartup:
|
|
type: boolean
|
|
hardwareAccelerationRequiresPremiere:
|
|
type: boolean
|
|
localAddress:
|
|
type: string
|
|
wanAddress:
|
|
type: string
|
|
serverName:
|
|
type: string
|
|
version:
|
|
type: string
|
|
operatingSystem:
|
|
type: string
|
|
id:
|
|
type: string
|
|
api.webdav.Empty:
|
|
type: object
|
|
properties: {}
|
|
api.webdav.FsGetReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
path:
|
|
type: string
|
|
api.webdav.FsGetResp:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
size:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
modified:
|
|
type: string
|
|
api.webdav.FsListReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
path:
|
|
type: string
|
|
page:
|
|
type: string
|
|
perPage:
|
|
type: string
|
|
api.webdav.FsListResp:
|
|
type: object
|
|
properties:
|
|
content:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.webdav.FsListResp_FsListContent'
|
|
total:
|
|
type: string
|
|
api.webdav.FsListResp_FsListContent:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
size:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
modified:
|
|
type: string
|
|
api.webdav.FsSearchReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
path:
|
|
type: string
|
|
keywords:
|
|
type: string
|
|
page:
|
|
type: string
|
|
perPage:
|
|
type: string
|
|
api.webdav.FsSearchResp:
|
|
type: object
|
|
properties:
|
|
content:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/api.webdav.FsSearchResp_FsSearchContent'
|
|
total:
|
|
type: string
|
|
api.webdav.FsSearchResp_FsSearchContent:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
isDir:
|
|
type: boolean
|
|
size:
|
|
type: string
|
|
api.webdav.FsTestReq:
|
|
type: object
|
|
properties:
|
|
host:
|
|
type: string
|
|
username:
|
|
type: string
|
|
password:
|
|
type: string
|
|
tags:
|
|
- name: Alist
|
|
- name: Bilibili
|
|
- name: Emby
|
|
- name: Webdav
|