Amagi API 文档 - v5.13.0
正在准备搜索索引...
ApiErrorEventData
接口 ApiErrorEventData
API 错误事件数据
Description
api:error
事件的数据结构
interface
ApiErrorEventData
{
platform
:
"bilibili"
|
"douyin"
|
"kuaishou"
|
"xiaohongshu"
;
methodType
:
string
;
errorCode
?:
string
|
number
;
errorMessage
:
string
;
url
?:
string
;
duration
?:
number
;
timestamp
:
Date
;
}
索引
属性
platform
method
Type
error
Code?
error
Message
url?
duration?
timestamp
属性
platform
platform
:
"bilibili"
|
"douyin"
|
"kuaishou"
|
"xiaohongshu"
请求平台
method
Type
methodType
:
string
调用的 API 方法
可选
error
Code
errorCode
?:
string
|
number
错误代码
error
Message
errorMessage
:
string
错误消息
可选
url
url
?:
string
请求 URL
可选
duration
duration
?:
number
请求耗时 (毫秒)
timestamp
timestamp
:
Date
事件时间戳
显示设置
成员可见性
受保护
私有
继承
外部
配色
自动
浅色
深色
目录
属性
platform
method
Type
error
Code
error
Message
url
duration
timestamp
Amagi API 文档 - v5.13.0
加载中……
API 错误事件数据
Description
api:error事件的数据结构