[[TOC]] 获取指定 forum 主题列表 || URL || http://mrobot.pcauto.com.cn/proxy/bbs/forums/$forum_ID || || Method || GET || == Params == || name || required || value || desc || || pageSize || n || unsigned || 每页有多少个帖子 || || pageNo || n || unsigned || 第几页 || || filter || n || pick || 精华贴 || == Note == {{{ HTTP/1.1 200 OK Server: nginx/0.8.42 Date: Wed, 04 May 2011 10:19:44 GMT Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked Connection: keep-alive X-Page: 1,91 }}} || X-Page || 当前第几页,共有多少个帖子 || 客户端分页时,必须要作如下设置 {{{ PAGINATION_SIZE 10 # 每页里面有多少个 posts splits = X-Page.split(",") current_page_num = splits[0] total_posts = splits[1] total_page = total_posts / PAGINATION_SIZE; # 一共有多少页 }}} == Examples == {{{ #!sh curl http://mrobot.pcauto.com.cn/proxy/bbs/forums/16300 curl http://mrobot.pcauto.com.cn/proxy/bbs/forums/16300?pageSize=10&pageNo=2 curl http://mrobot.pcauto.com.cn/proxy/bbs/forums/16300?filter=pick }}} response {{{ #!python { "forum": { "bbs": 8, "forumId": 587012, "name": "手机综合讨论区", "parentId": 8 }, "pageNo": 1, "pageSize": 30, "topicList": [ { "author": { "name": "太监仔", "nickname": "冭ūムㄣ監仔", "userId": 989601 }, "createAt": 1300244061000, "flag": "精", "lastPoster": { "name": "1584404", "nickname": "1584404", "userId": 21896233 }, "replyCount": 242, "title": "首吃螃蟹,我是黑莓帝!太平洋首部个人破解黑莓8830直插CDMA卡上3G网!", "topicId": 12743451, "uri": "http://itbbs.pconline.com.cn/mobile/12743451.html", "view": 33552 }, # .... ], "total": 18927 } }}} name 是用户登录的帐号名,不可修改 nickname 是你昵称,可修改,topic 作者均使用 nickname