|
@@ -8,7 +8,8 @@ get:
|
|
|
只列话题(不含回复),删除了但还有回复的话题以墓碑出现(deleted_at 有值、内容为空)。
|
|
只列话题(不含回复),删除了但还有回复的话题以墓碑出现(deleted_at 有值、内容为空)。
|
|
|
未登录看不到不公开的话题(discussion);basic 角色在自己无权管理的对象上只看得到
|
|
未登录看不到不公开的话题(discussion);basic 角色在自己无权管理的对象上只看得到
|
|
|
自己发起的不公开话题。各状态的数量与「能发起哪些类型」见 `GET /v3/discussions/summary`。
|
|
自己发起的不公开话题。各状态的数量与「能发起哪些类型」见 `GET /v3/discussions/summary`。
|
|
|
- 不传 type 时只列评论线程(discussion / qa / help / issue),批注要显式 type=note / commentary。
|
|
|
|
|
|
|
+ 不传 type 时只列评论线程(discussion / qa / help / issue / glossary),批注要显式 type=note / commentary。
|
|
|
|
|
+ 要一段经文(一章、一段段落区间)里的全部话题,用 `GET /v3/tipitaka-discussions/{channel}`。
|
|
|
|
|
|
|
|
实现:`V3\DiscussionController@index`
|
|
实现:`V3\DiscussionController@index`
|
|
|
security:
|
|
security:
|
|
@@ -156,6 +157,10 @@ get:
|
|
|
reply_count:
|
|
reply_count:
|
|
|
type: integer
|
|
type: integer
|
|
|
description: 仅在部分查询口径下返回。
|
|
description: 仅在部分查询口径下返回。
|
|
|
|
|
+ sentence:
|
|
|
|
|
+ type: object
|
|
|
|
|
+ properties: { book: { type: integer }, paragraph: { type: integer }, word_start: { type: integer }, word_end: { type: integer } }
|
|
|
|
|
+ description: 仅在部分查询口径下返回。
|
|
|
editor:
|
|
editor:
|
|
|
type: object
|
|
type: object
|
|
|
properties: { id: { type: string }, nickName: { type: string }, userName: { type: string }, realName: { type: string }, sn: { type: integer }, avatar: { type: string }, roles: { type: array, items: { type: string } } }
|
|
properties: { id: { type: string }, nickName: { type: string }, userName: { type: string }, realName: { type: string }, sn: { type: integer }, avatar: { type: string }, roles: { type: array, items: { type: string } } }
|
|
@@ -331,6 +336,14 @@ post:
|
|
|
reply_count:
|
|
reply_count:
|
|
|
type: integer
|
|
type: integer
|
|
|
description: 仅在部分查询口径下返回。
|
|
description: 仅在部分查询口径下返回。
|
|
|
|
|
+ sentence:
|
|
|
|
|
+ type: object
|
|
|
|
|
+ properties:
|
|
|
|
|
+ book: { type: integer }
|
|
|
|
|
+ paragraph: { type: integer }
|
|
|
|
|
+ word_start: { type: integer }
|
|
|
|
|
+ word_end: { type: integer }
|
|
|
|
|
+ description: 仅在部分查询口径下返回。
|
|
|
editor:
|
|
editor:
|
|
|
type: object
|
|
type: object
|
|
|
properties:
|
|
properties:
|
|
@@ -428,6 +441,14 @@ post:
|
|
|
reply_count:
|
|
reply_count:
|
|
|
type: integer
|
|
type: integer
|
|
|
description: 仅在部分查询口径下返回。
|
|
description: 仅在部分查询口径下返回。
|
|
|
|
|
+ sentence:
|
|
|
|
|
+ type: object
|
|
|
|
|
+ properties:
|
|
|
|
|
+ book: { type: integer }
|
|
|
|
|
+ paragraph: { type: integer }
|
|
|
|
|
+ word_start: { type: integer }
|
|
|
|
|
+ word_end: { type: integer }
|
|
|
|
|
+ description: 仅在部分查询口径下返回。
|
|
|
editor:
|
|
editor:
|
|
|
type: object
|
|
type: object
|
|
|
properties:
|
|
properties:
|