TopicApi.untrashMultiple
注意:该接口需要管理员权限才能调用。
批量把话题移出回收站。
方法定义
TopicApi.untrashMultiple(param: UntrashMultipleParams): Promise<TopicsResponse>
参数
UntrashMultipleParams TopicApi.ts:222
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
include | 否 | string | 响应中需要包含的关联数据,用 |
topic_ids | 是 | string | 多个用 |
响应
TopicsResponse models.ts:1975
参数名 | 类型 | 说明 |
---|---|---|
code | number | 无任何错误时,状态码为 0 |
data | Topic[] | |
pagination | Pagination |
Topic models.ts:1866
参数名 | 类型 | 说明 |
---|---|---|
article_count | number | 文章数量 |
cover | TopicCover | |
delete_time | number | 🔐删除时间 |
description | string | 话题描述 |
follower_count | number | 关注者数量 |
name | string | 话题名称 |
question_count | number | 提问数量 |
relationships | TopicRelationship | |
topic_id | number | 话题ID |
Pagination models.ts:1426
参数名 | 类型 | 说明 |
---|---|---|
next | number | 下一页页码,为 |
page | number | 当前页码 |
pages | number | 总页数 |
per_page | number | 每页条数 |
previous | number | 上一页页码,为 |
total | number | 数据总数 |
TopicCover models.ts:1899
参数名 | 类型 | 说明 |
---|---|---|
large | string | 大型封面地址 |
middle | string | 中型封面地址 |
original | string | 封面原图地址 |
small | string | 小型封面地址 |
TopicRelationship models.ts:1945
参数名 | 类型 | 说明 |
---|---|---|
is_following | boolean | 当前登录用户是否已关注该话题 |