Changes between Version 2 and Version 3 of API/BBS/Reply-The-Topic


Ignore:
Timestamp:
04/28/2011 04:38:34 PM (15 years ago)
Author:
lee
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • API/BBS/Reply-The-Topic

    v2 v3  
    1919== Example == 
    2020 
     21 
     22request 
     23 
    2124{{{ 
    2225#!sh 
     
    2629-d "message=MessageText?" 
    2730}}} 
     31 
     32response body 
     33 
     34{{{ 
     35#!py 
     36 
     37{ 
     38  "pageNo": 1, 
     39  "pageSize": 10, 
     40  "postList": [ 
     41    { 
     42      "author": { 
     43        "name": "ddd", 
     44        "nickname": "ddd", 
     45        "userId": 32726 
     46      }, 
     47      "createAt": 1303455249000, 
     48      "floor": 1, 
     49      "message": "1234567890", 
     50      "postId": 23260153, 
     51      "status": 0 
     52    }, 
     53    { 
     54      "author": { 
     55        "name": "ddd", 
     56        "nickname": "ddd", 
     57        "userId": 32726 
     58      }, 
     59      "createAt": 1303455898000, 
     60      "floor": 2, 
     61      "message": "1234567890", 
     62      "postId": 23260154, 
     63      "status": 0 
     64    }, 
     65    { 
     66      "author": { 
     67        "name": "ddd", 
     68        "nickname": "ddd", 
     69        "userId": 32726 
     70      }, 
     71      "createAt": 1303455958000, 
     72      "floor": 3, 
     73      "message": "1234567890", 
     74      "postId": 23260155, 
     75      "status": 0 
     76    }, 
     77    { 
     78      "author": { 
     79        "name": "ddd", 
     80        "nickname": "ddd", 
     81        "userId": 32726 
     82      }, 
     83      "createAt": 1303456255000, 
     84      "floor": 4, 
     85      "message": "1234567890", 
     86      "postId": 23260156, 
     87      "status": 0 
     88    }, 
     89    { 
     90      "author": { 
     91        "name": "ddd", 
     92        "nickname": "ddd", 
     93        "userId": 32726 
     94      }, 
     95      "createAt": 1303456277000, 
     96      "floor": 5, 
     97      "message": "1234567890", 
     98      "postId": 23260157, 
     99      "status": 0 
     100    }, 
     101    { 
     102      "author": { 
     103        "name": "ddd", 
     104        "nickname": "ddd", 
     105        "userId": 32726 
     106      }, 
     107      "createAt": 1303456278000, 
     108      "floor": 6, 
     109      "message": "1234567890", 
     110      "postId": 23260158, 
     111      "status": 0 
     112    } 
     113  ], 
     114  "topic": { 
     115    "author": { 
     116      "name": "ddd", 
     117      "nickname": "ddd", 
     118      "userId": 32726 
     119    }, 
     120    "createAt": 1303455249000, 
     121    "lastPostAt": 1303456278000, 
     122    "lastPoster": { 
     123      "name": "ddd", 
     124      "nickname": "ddd", 
     125      "userId": 32726 
     126    }, 
     127    "replyCount": 5, 
     128    "title": "12345678", 
     129    "uri": "http://localhost.pcauto.com.cn/bbs6/topic-2479944.html", 
     130    "view": 1 
     131  }, 
     132  "total": 6 
     133} 
     134}}}