文档
测试

push_topic

GET
/viewer/push_topic

接口描述

获取推送的topic

Request Header

参数名
类型
描述
必填
X-Avatoon-Token
string
用户访问token
必填

Query Params

参数名
类型
描述
必填
time_zone
int
用户时区偏移单位秒(例如东八区是 28800)
必填

Response

参数名
类型
描述
必填
contents
list
内容列表
必填
item0
dict
必填
battle_id
string
battle id
必填
belong
string
所属比赛id
必填
works_a
string
works id
必填
works_b
string
works id
必填
works_url_a
string
works url
必填
works_url_b
string
works url
必填
author_a
string
author user id
必填
author_b
string
author user id
必填
author_name_a
string
author user name
必填
author_name_b
string
author user name
必填
author_portrait_a
string
author portrait url
必填
author_portrait_b
string
author portrait url
必填
votes_a
int
votes count
必填
votes_b
int
votes count
必填
title
string
比赛标题
必填
question
string
问题
必填
type
string
可能的值 challenge photo pose topic pgc push_topic
必填
count
int
内容数量
必填
push_title
string
通知标题
必填
push_content
string
通知内容
必填
push_button
string
通知按钮文案
必填
push_id
string
通知ID
必填