Changes between Version 2 and Version 3 of ucapi/1.0


Ignore:
Timestamp:
04/15/2015 06:14:53 PM (11 years ago)
Author:
zhouruxuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ucapi/1.0

    v2 v3  
    105105 
    106106 
     107==== 1.2.2 动态详情接口 ==== 
     108{{{ 
     109说明:获取动态 
     110接口:/usercenter/1.0/dyna/getDynaDetail.do [GET] 
     111请求参数 
     112        *dynaInfoId:动态id 
     113        *createBy:动态创建者id 
     114 
     115是否登录:否 
     116缓存时间:无 
     117是否分页:否 
     118 
     119返回 
     120{ 
     121        code:0成功,-1失败 
     122        message:提示信息 
     123        version: 接口版本号如1.0,1.0(latest)表示最新版本 
     124 
     125        dynaDetail:[ 
     126                { 
     127            postCount:回复数 
     128            pubTime: 发布时间,  
     129            authorId: 作者ID,  
     130            forumId: 16160,  
     131            authorName: 作者名称,  
     132            nickname:作者昵称, 
     133            contribution: 贡献油值,  
     134            dynaInfoId,动态ID 
     135            authorPhoto: 作者头像,  
     136            isRecommend: 是否是推荐, 
     137            content:动态内容 
     138            isVip:是否认证  (0:未认证,1:已认证) 
     139            praiseCount:点赞数, 
     140            images:[ 
     141                { 
     142                url:http://xxxx.jpg, 
     143                //真实宽度 
     144                width:960, 
     145                //真实高度 
     146                height:1000, 
     147                //质量参数,默认为0,10月上线 
     148                qua:80 
     149                }, 
     150                { 
     151                url:http://xxxx.jpg, 
     152                //真实宽度 
     153                width:960, 
     154                //真实高度 
     155                height:1000, 
     156                //质量参数,默认为0,10月上线 
     157                qua:80 
     158                }                
     159           ] 
     160        } 
     161    ] 
     162} 
     163}}} 
     164 
     165 
    107166{{{ 
    108167#!html