渠道管理/账号

接口说明:分页获取当前用户的渠道账号列表。

get/api/v2/channels/accounts

Request

  • Base URL
    https://aitoearn.cn
  • Auth
    API key in header X-Api-Key

Query parameters

idsstring[]

账号 ID 数组

typesstring[]

平台类型数组。取值为各平台的枚举标识,先调用「平台列表」接口(GET /api/v2/channels/platforms),使用其返回的 data[n].platform。

statusnumber

账号状态:1 正常(可用),0 异常(不可用)。

Response

请求已被服务处理。业务是否成功以响应体 code === 0 为准。

codeinteger

业务状态码。0 表示成功,非 0 表示业务错误。

messagestring

响应消息。

requestIdstring

请求 ID。

timestampinteger

错误响应时间戳,Unix 毫秒。

Changes

    • breaking

      the response property code became optional for the status

    • breaking

      the response property data/list became optional for the status

    • breaking

      the response property data/list/items/groupId became optional for the status

    29 more changes in this revision