posts

Worktile# posts

Source:
话题(post)接口

Methods

(static) addComment(params)

Source:
See:
添加评论
Parameters:
Name Type Description
params object 参数
Properties
Name Type Attributes Description
pid string 项目pid
post_id string 话题post_id
message string 评论内容
fids array <optional>
文件fid集合

(static) create(params)

Source:
See:
发起话题
Parameters:
Name Type Description
params object 参数
Properties
Name Type Attributes Description
pid string 项目pid
name string 话题名称
content string <optional>
话题内容

(static) get(params)

Source:
See:
获取话题详情
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id

(static) list(params)

Source:
See:
获取话题列表
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid

(static) listComments(params)

Source:
See:
获取话题的评论列表
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id

(static) remove(params)

Source:
See:
删除话题
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id

(static) removeComment(params)

Source:
See:
删除评论
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id
cid string 评论的cid

(static) unwatch(params)

Source:
See:
取消关注话题
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id
uid string 项目成员uid的集合

(static) update(params)

Source:
See:
修改话题
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id

(static) watch(params)

Source:
See:
添加关注话题
Parameters:
Name Type Description
params object 参数
Properties
Name Type Description
pid string 项目pid
post_id string 话题post_id
uids array 项目成员uid的集合