Changes between Version 45 and Version 46 of pcauto_4.5.0/interface


Ignore:
Timestamp:
09/18/2014 10:46:43 AM (12 years ago)
Author:
chenziyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.5.0/interface

    v45 v46  
    318318=== 2.2.1 [=#point2.2.1 帖子列表] === 
    319319{{{ 
    320     请求url:http://mrobot.pcauto.com.cn/v3/bbs/newForums/16856?pageNo=1&pageSize=19&orderby=replyat 
     320    请求url:http://mrobot.pcauto.com.cn/v3/bbs/newForumsv45/14637?pageNo=1&pageSize=19&orderby=replyat 
    321321    HTTP请求方式:GET 
    322322    是否需要登录:false 
     
    327327    出精华帖和提问帖时,不需要出指定帖 
    328328    请求参数: 
    329 id:论坛ID或者车系id 
    330 idType:表示该url上的id类型,如果是serial为车系id,如果是forum则为论坛id 
    331 pageNo:页码 
    332 pageSize:一页条数 
    333 orderby=postat:最新帖,orderby=replyat:最热帖 
    334 type:   1全部帖子,2精华帖,3提问帖 
     329    id:论坛ID或者车系id 
     330    idType:表示该url上的id类型,如果是serial为车系id,如果是forum则为论坛id 
     331    pageNo:页码 
     332    pageSize:一页条数 
     333    orderby=postat:最新发表,orderby=replyat:最近回复 
     334    filter: 不传filter出全部贴,filter=pick出精华贴,filter=question出提问贴 
    335335    返回结果: 
    336336{ 
    337   "tops": { 
    338     "title": "置顶消息", 
    339     "topics": [ 
    340       { 
    341         "authorId": 22393072, 
    342         "authorName": "hkitty", 
    343         "authorPhoto": "http://i1.3conline.com/images/upload/upc/face/22/39/30/72/22393072_50x50", 
    344         "forumId": 19017, 
    345         "forumName": "内部测试", 
    346         "images": [ 
    347           { 
    348             "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611290_1406089561207.jpg", 
    349             "width": 100, 
    350             "height": 200 
    351           }, 
    352           { 
    353             "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611294_1406089563340.jpg", 
    354             "width": 100, 
    355             "height": 200 
    356           }, 
    357           { 
    358             "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611296_1406089565044.jpg", 
    359             "width": 100, 
    360             "height": 200 
    361           } 
    362         ], 
    363         "postCount": 1, 
    364         "pubTime": 1406166953000, 
    365         "topicId": 5098712, 
    366         "topicTitle": "又来啦早晨" 
    367       } 
    368     ] 
    369   }, 
    370   "topics": [ 
    371     { 
    372       "authorId": 22393072, 
    373       "authorName": "hkitty", 
    374       "authorPhoto": "http://i1.3conline.com/images/upload/upc/face/22/39/30/72/22393072_50x50", 
    375       "contribution": 0, 
    376       "forumId": 19017, 
    377       "forumName": "内部测试", 
    378       "images": [ 
     337    "forum": { 
     338        "bbs": 19, 
     339        "favoriteId": -1, 
     340        "forumId": 14637, 
     341        "name": "福克斯论坛", 
     342        "parentId": 298 
     343    }, 
     344    "pageNo": 1, 
     345    "pageSize": 2, 
     346    "topTopics": [ 
    379347        { 
    380           "url": "http://imgrt.pconline.com.cn/images/upload/upc/tx/bbs6/1407/23/c0/spcgroup/bbs/center/36611290_1406089561207.jpg", 
    381           "width": 100, 
    382           "height": 200 
     348            "author": "岚", 
     349            "downs": 26, 
     350            "image": "http://img.pconline.com.cn/images/upload/upc/tx/bbs6/1310/08/c12/27106565_1381225461103_240x160.jpg", 
     351            "lastpostAt": 1382889600000, 
     352            "pubDate": "2013-10-28", 
     353            "replyCount": 242, 
     354            "seq": 5, 
     355            "title": "参加纽博格林挑战赛(长沙站)赢德国赛名额", 
     356            "topicId": 4122923, 
     357            "updateAt": 1382889600000, 
     358            "ups": 26, 
     359            "view": 95498 
     360        }, 
     361        { 
     362            "author": { 
     363                "name": "岚", 
     364                "nickname": "岚", 
     365                "userId": 769104 
     366            }, 
     367            "createAt": 1409821112000, 
     368            "downs": 0, 
     369            "flag": "图", 
     370            "image": "", 
     371            "lastPoster": "", 
     372            "replyCount": 41, 
     373            "title": "升级有礼 福特全系车友会1星奖励", 
     374            "topicId": 5267415, 
     375            "ups": 0, 
     376            "uri": "http://bbs.pcauto.com.cn/topic-5267415.html", 
     377            "view": 1270 
     378        }, 
     379        { 
     380            "author": { 
     381                "name": "岚", 
     382                "nickname": "岚", 
     383                "userId": 769104 
     384            }, 
     385            "createAt": 1378955022000, 
     386            "downs": 0, 
     387            "flag": "", 
     388            "image": "", 
     389            "lastPoster": "", 
     390            "replyCount": 254, 
     391            "title": "关于新老福漏油问题统计帖", 
     392            "topicId": 4065385, 
     393            "ups": 26, 
     394            "uri": "http://bbs.pcauto.com.cn/topic-4065385.html", 
     395            "view": 85774 
     396        }, 
     397        { 
     398            "author": { 
     399                "name": "岚", 
     400                "nickname": "岚", 
     401                "userId": 769104 
     402            }, 
     403            "createAt": 1341219694000, 
     404            "downs": 0, 
     405            "flag": "精", 
     406            "image": "", 
     407            "lastPoster": "", 
     408            "replyCount": 265, 
     409            "title": "经典福克斯 一看就会【维护秘笈】连载16篇 作者:路边花草[2014.5.11更新]", 
     410            "topicId": 3201819, 
     411            "ups": 39, 
     412            "uri": "http://bbs.pcauto.com.cn/topic-3201819.html", 
     413            "view": 106969 
     414        }, 
     415        { 
     416            "author": { 
     417                "name": "秋楓落葉", 
     418                "nickname": "秋楓落葉", 
     419                "userId": 24994960 
     420            }, 
     421            "createAt": 1344519070000, 
     422            "downs": 39, 
     423            "flag": "", 
     424            "image": "", 
     425            "lastPoster": "", 
     426            "replyCount": 635, 
     427            "title": "【福克斯】各地车友购车价格、礼品、油耗汇总贴(2014.1.13更新)", 
     428            "topicId": 3258772, 
     429            "ups": 78, 
     430            "uri": "http://bbs.pcauto.com.cn/topic-3258772.html", 
     431            "view": 550165 
     432        }, 
     433        { 
     434            "author": { 
     435                "name": "马克威廉", 
     436                "nickname": "马克威廉", 
     437                "userId": 5533884 
     438            }, 
     439            "createAt": 1268379259000, 
     440            "downs": 13, 
     441            "flag": "精", 
     442            "image": "", 
     443            "lastPoster": "", 
     444            "replyCount": 2188, 
     445            "title": "开个帖子,本人保险公司的,愿意为广大福友提供和保险相关的咨询", 
     446            "topicId": 2084149, 
     447            "ups": 65, 
     448            "uri": "http://bbs.pcauto.com.cn/topic-2084149.html", 
     449            "view": 175490 
    383450        } 
    384       ], 
    385       "postCount": 1, 
    386       "pubTime": 1406166953000, 
    387       "topicId": 5098712, 
    388       "topicTitle": "普通帖子", 
    389       "answerCount":12提问帖中回答的人数,非提问帖可以不用这个 
    390     } 
    391   ], 
    392   "pageNo": 1, 
    393   "pageSize": 20, 
    394   "total": 10 
     451    ], 
     452    "topicList": [ 
     453        { 
     454            "author": { 
     455                "name": "fit10", 
     456                "nickname": "sdffdsfdsf", 
     457                "userId": 826717 
     458            }, 
     459            "createAt": 1410933846000, 
     460            "downs": 0, 
     461            "floor": 1, 
     462            "image": "http://www1.pcauto.com.cn/app/20131101/img/loading.png", 
     463            "images": [], 
     464            "isContainImage": false, 
     465            "isPick": false, 
     466            "isRecommend": false, 
     467            "lastpostAt": 1410933846000, 
     468            "replyCount": 0, 
     469            "title": "testaaaaaaaaaaaaaaaaaaaaaa", 
     470            "topicId": 4822355, 
     471            "ups": 0, 
     472            "uri": "http://dev11.pcauto.com.cn/bbs7/topic-4822355.html", 
     473            "view": 1 
     474        }, 
     475        { 
     476            "author": { 
     477                "name": "fit10", 
     478                "nickname": "sdffdsfdsf", 
     479                "userId": 826717 
     480            }, 
     481            "createAt": 1410933754000, 
     482            "downs": 0, 
     483            "floor": 1, 
     484            "image": "http://www1.pcauto.com.cn/app/20131101/img/loading.png", 
     485            "images": [], 
     486            "isContainImage": false, 
     487            "isPick": false, 
     488            "isRecommend": false, 
     489            "lastpostAt": 1410933754000, 
     490            "replyCount": 0, 
     491            "title": "testttttttt", 
     492            "topicId": 4822354, 
     493            "ups": 0, 
     494            "uri": "http://dev11.pcauto.com.cn/bbs7/topic-4822354.html", 
     495            "view": 1 
     496        } 
     497    ], 
     498    "total": 73670 
    395499} 
    396500}}}