Amagi API 文档 - v5.13.0
    正在准备搜索索引...

    接口 ApiErrorEventData

    API 错误事件数据

    api:error 事件的数据结构

    interface ApiErrorEventData {
        platform: "bilibili" | "douyin" | "kuaishou" | "xiaohongshu";
        methodType: string;
        errorCode?: string | number;
        errorMessage: string;
        url?: string;
        duration?: number;
        timestamp: Date;
    }
    索引

    属性

    platform: "bilibili" | "douyin" | "kuaishou" | "xiaohongshu"

    请求平台

    methodType: string

    调用的 API 方法

    errorCode?: string | number

    错误代码

    errorMessage: string

    错误消息

    url?: string

    请求 URL

    duration?: number

    请求耗时 (毫秒)

    timestamp: Date

    事件时间戳