论坛 RESTful Api 接口
发布帖子讨论
接口地址: https://3yya.com/u/{rel_key}/bbs/app/posts/<post_id>/discussions
- post_id: 帖子的 id。
请求方式: post
请求消息头:
协议头 | 必填 | 描述 |
---|---|---|
Authorization | 是 | 登录时返回的 token。 |
请求参数:
参数名 | 类型 | 必填 | 说明 |
---|---|---|---|
content | string | 是 | 讨论的内容。 |
返回参数:
参数名 | 类型 | 描述 |
---|---|---|
discussion_id | int | 帖子讨论的 id。 |
JSON 返回示例:
{
"discussion_id": 6
}