| Version 3 (modified by lee, 15 years ago) (diff) |
|---|
Table of Contents
回复某主题
| URL | http://dev85.pcauto.com.cn/proxy/bbs/topics/$TOPIC_ID |
Headers
仅用于开发环境。
| key | value |
| Cookie | common_session_id1=1E206769DF2AC93174ACCA2C04D86B60B43FD0351F1331A8 |
Form Field
| name | required | desc |
| message | y | 回复内容正文 |
Example
request
curl http://dev85.pcauto.com.cn/proxy/bbs/topics/2479944 -H "Cookie:common_session_id1=1E206769DF2AC93174ACCA2C04D86B60B43FD0351F1331A8" -d "message=MessageText?"
response body
{
"pageNo": 1,
"pageSize": 10,
"postList": [
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303455249000,
"floor": 1,
"message": "1234567890",
"postId": 23260153,
"status": 0
},
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303455898000,
"floor": 2,
"message": "1234567890",
"postId": 23260154,
"status": 0
},
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303455958000,
"floor": 3,
"message": "1234567890",
"postId": 23260155,
"status": 0
},
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303456255000,
"floor": 4,
"message": "1234567890",
"postId": 23260156,
"status": 0
},
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303456277000,
"floor": 5,
"message": "1234567890",
"postId": 23260157,
"status": 0
},
{
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303456278000,
"floor": 6,
"message": "1234567890",
"postId": 23260158,
"status": 0
}
],
"topic": {
"author": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"createAt": 1303455249000,
"lastPostAt": 1303456278000,
"lastPoster": {
"name": "ddd",
"nickname": "ddd",
"userId": 32726
},
"replyCount": 5,
"title": "12345678",
"uri": "http://localhost.pcauto.com.cn/bbs6/topic-2479944.html",
"view": 1
},
"total": 6
}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)