没有合适的资源?快使用搜索试试~ 我知道了~
139平台上开放MIOPAPI V1.doc
试读
64页
需积分: 0 1 下载量 7 浏览量
更新于2011-02-23
收藏 4.44MB DOC 举报
MIOPAPI,全称为 Mobile Internet Open Platform API,是139平台对外开放的一种接口服务,旨在为开发者提供接入139平台数据和业务功能的能力。139平台是中国移动推出的一个移动互联网服务平台,它允许第三方开发者利用其丰富的资源和功能来构建自己的应用和服务。
**REST规范接口**
MIOPAPI遵循REST(Representational State Transfer)架构风格,这是一种网络应用程序的设计风格和开发方式,基于HTTP协议,以JSON或XML格式交换数据。RESTful API设计原则强调资源的定位、无状态性以及统一的接口,使得开发者能够更简单地进行接口调用和数据交互。
**API函数**
1. **users.isAppUser**:此函数用于检查指定的用户是否是139平台的应用用户。这可以帮助开发者识别用户是否已经注册并授权了应用。
2. **users.getInfo**:获取用户的个人信息,如用户名、头像、昵称等,用于展示或个性化服务。
3. **users.getLoggedInUser**:获取当前登录的用户信息,对于提供个性化服务的应用来说,这是一个非常实用的接口。
4. **users.getEdu**:可能用于获取用户的教育信息,这在特定类型的社交应用或者教育类应用中可以提供更精准的服务。
**好友**
1. **friends.get**:获取用户的好友列表,这对于社交类应用来说是基础功能,可以帮助用户找到并联系他们的朋友。
2. **friends.getAppUsers**:查询应用内的其他用户,这有助于推广应用内社交网络和互动。
3. **friends.areFriends**:验证两个用户之间是否为好友关系,可以用于确认消息发送权限或者好友推荐等功能。
**新鲜事**
1. **feed.publishTemplatizedAction**(需要特殊授权):发布模板化动作,通常用于分享动态、活动参与等,需要特定权限才能使用。
2. **feed.send**(需要特殊授权):发送自定义内容到用户的新鲜事流中,例如分享状态、图片或链接,同样需要特殊权限。
3. **feed.getList**:获取用户的新鲜事列表,用于显示用户的动态更新,提供社交体验。
通过139平台提供的SDK(Software Development Kit),开发者可以方便地在不同语言环境下集成这些API,简化开发过程,快速实现与139平台的交互。SDK通常包含示例代码、错误处理机制和必要的工具,以帮助开发者更高效地使用MIOPAPI。
139平台开放的MIOPAPI V1为开发者提供了丰富的用户管理、社交网络以及内容分享功能,使得开发者能够在移动互联网领域创建具有深度交互和个性化服务的应用。同时,通过严格的权限控制,确保了数据的安全性和用户隐私的保护。开发者应当仔细阅读和理解这些API的使用说明,以充分利用139平台提供的资源,创建出满足用户需求的高质量应用。
139 平台上开放 MIOPAPI
本文是关于 MIOPAPI 的描述文档。通过这些 API,您的应用程序可以获得 139 平台上开
放的数据和业务功能。139 移动互联提供访问 API 的多语言客户端 SDK,通过 SDK,能够
帮助开发者访问 API 的接口。
目录
REST 规范接口................................................................................................................................16
API 函数............................................................................................................................................16
用户...........................................................................................................................................16
users.isAppUser................................................................................................................16
users.getInfo......................................................................................................................17
users.getLoggedInUser.....................................................................................................17
users.getEdu......................................................................................................................17
好友...........................................................................................................................................17
friends.get..........................................................................................................................17
friends.getAppUsers..........................................................................................................18
friends.areFriends..............................................................................................................18
新鲜事.......................................................................................................................................18
feed.publishTemplatizedAction (需要特殊授权).......................................................18
feed.send (需要特殊授权)..........................................................................................18
feed.getList........................................................................................................................18
feed.comment....................................................................................................................18
feed.getTemplate...............................................................................................................19
feed.delete(需要特殊授权).........................................................................................19
feed.forward......................................................................................................................19
feed.getCommentList........................................................................................................19
feed.getId...........................................................................................................................19
feed.getByIds.....................................................................................................................19
通知...........................................................................................................................................20
notifications.send(需要特殊授权)..............................................................................20
短信...........................................................................................................................................20
sms.send(需要特殊授权)............................................................................................20
sms.register(需要特殊授权).......................................................................................20
内容管理...................................................................................................................................20
content.filter......................................................................................................................20
支付平台...................................................................................................................................21
pay.getOrder(需要特殊授权)......................................................................................21
pay4Test.getOrder(需要特殊授权).............................................................................21
圈子...........................................................................................................................................21
groups.getAppGroup.........................................................................................................21
groups.getTopics...............................................................................................................21
groups.getPictures.............................................................................................................21
groups.get..........................................................................................................................22
相册...........................................................................................................................................22
photos.getAlbums..............................................................................................................22
photos.get..........................................................................................................................22
photos.getPictureInfo........................................................................................................22
photos.delete(需要特殊授权).....................................................................................22
说客...........................................................................................................................................23
italk.send...........................................................................................................................23
italk.getTalks.....................................................................................................................23
italk.getReplys...................................................................................................................23
italk.forward......................................................................................................................23
italk.comment....................................................................................................................23
italk.delete(需要特殊授权).........................................................................................24
italk.sendPic......................................................................................................................24
联系人.......................................................................................................................................24
contact.getLists(需要特殊授权).................................................................................24
contact.getMaybeKnownList............................................................................................24
contact.follow(需要特殊授权)....................................................................................24
contact.listFollowing.........................................................................................................24
contact.listFollowed..........................................................................................................25
contact.listFollowFlag.......................................................................................................25
contact.getFollowCount....................................................................................................25
邮件...........................................................................................................................................25
mail.getList(需要特殊授权).......................................................................................25
mail.get(需要特殊授权)..............................................................................................25
mail.send(需要特殊授权)...........................................................................................25
mail.setStatus(需要特殊授权)....................................................................................26
mail.getCount(需要特殊授权)....................................................................................26
mail.getReply(需要特殊授权)....................................................................................26
Connect......................................................................................................................................26
connect.getSession(需要特殊授权)............................................................................26
connect.isRegister(需要特殊授权).............................................................................26
connect.register(需要特殊授权).................................................................................26
connect.unRegister(需要特殊授权)............................................................................27
网盘...........................................................................................................................................27
netdisk.upload(需要特殊授权)...................................................................................27
netdisk.mkdir(需要特殊授权)....................................................................................27
netdisk.listfiles(需要特殊授权)..................................................................................27
netdisk.getParent(需要特殊授权)...............................................................................27
netdisk.getFreeSpace(需要特殊授权)........................................................................27
netdisk.rm(需要特殊授权)..........................................................................................28
netdisk.rename(需要特殊授权)..................................................................................28
netdisk.getFileInfo(需要特殊授权)............................................................................28
netdisk.mv(需要特殊授权).........................................................................................28
netdisk.cp(需要特殊授权)..........................................................................................28
netdisk.getFileUrl(需要特殊授权).............................................................................28
netdisk.downLoadToDisk(需要特殊授权).................................................................29
netdisk.shareFile(需要特殊授权)...............................................................................29
netdisk.unshareFile(需要特殊授权)...........................................................................29
API 函数详细说明............................................................................................................................29
Users.isAppUser........................................................................................................................29
参数...................................................................................................................................29
返回参数...........................................................................................................................30
返回 XML 范例................................................................................................................30
返回 JSON 范例................................................................................................................30
调用范例...........................................................................................................................30
错误代码...........................................................................................................................31
Users.getInfo.............................................................................................................................31
描述...................................................................................................................................31
参数...................................................................................................................................31
返回参数...........................................................................................................................32
返回 XML 范例................................................................................................................32
返回 JSON 范例................................................................................................................33
调用范例...........................................................................................................................33
错误代码...........................................................................................................................33
参数说明...........................................................................................................................34
Users.getLoggedInUser.............................................................................................................34
描述...................................................................................................................................34
参数...................................................................................................................................35
返回参数...........................................................................................................................35
返回 XML 范例................................................................................................................35
返回 JSON 范例................................................................................................................35
调用范例...........................................................................................................................36
错误代码...........................................................................................................................36
Users.getEdu.............................................................................................................................36
描述...................................................................................................................................36
参数...................................................................................................................................36
返回参数...........................................................................................................................37
返回 XML 范例................................................................................................................37
返回 JSON 范例................................................................................................................38
调用范例...........................................................................................................................38
错误代码...........................................................................................................................38
备注...................................................................................................................................38
Friends.get.................................................................................................................................39
描述...................................................................................................................................39
参数...................................................................................................................................39
返回参数...........................................................................................................................39
返回 XML 范例................................................................................................................40
返回 JSON 范例................................................................................................................40
调用范例...........................................................................................................................40
错误代码...........................................................................................................................40
Friends.getAppUsers.................................................................................................................41
描述...................................................................................................................................41
参数...................................................................................................................................41
返回参数...........................................................................................................................41
返回 XML 范例................................................................................................................42
返回 JSON 范例................................................................................................................42
调用范例...........................................................................................................................42
错误代码...........................................................................................................................42
Friends.areFriends.....................................................................................................................43
描述...................................................................................................................................43
参数...................................................................................................................................43
返回参数...........................................................................................................................43
返回 XML 范例................................................................................................................44
返回 JSON 范例................................................................................................................44
调用范例...........................................................................................................................44
错误代码...........................................................................................................................44
Feed.publishTemplatizedAction...............................................................................................45
描述...................................................................................................................................45
参数...................................................................................................................................45
返回参数...........................................................................................................................46
返回 XML 范例................................................................................................................46
返回 JSON 范例................................................................................................................46
调用范例...........................................................................................................................46
错误代码...........................................................................................................................47
Feed.send...................................................................................................................................47
描述...................................................................................................................................47
参数...................................................................................................................................47
返回参数...........................................................................................................................48
返回 XML 范例................................................................................................................48
返回 JSON 范例................................................................................................................48
调用范例...........................................................................................................................49
错误代码...........................................................................................................................49
Feed.getList...............................................................................................................................50
描述...................................................................................................................................50
参数...................................................................................................................................50
返回参数...........................................................................................................................50
返回 XML 范例................................................................................................................51
返回 JSON 范例................................................................................................................52
调用范例...........................................................................................................................53
错误代码...........................................................................................................................54
Feed.comment...........................................................................................................................54
描述...................................................................................................................................54
参数...................................................................................................................................54
返回参数...........................................................................................................................55
返回 XML 范例................................................................................................................55
返回 JSON 范例................................................................................................................56
调用范例...........................................................................................................................56
错误代码...........................................................................................................................56
Feed.getTemplate......................................................................................................................56
描述...................................................................................................................................56
参数...................................................................................................................................57
返回参数...........................................................................................................................57
返回 XML 范例................................................................................................................57
返回 JSON 范例................................................................................................................58
调用范例...........................................................................................................................58
错误代码...........................................................................................................................59
Feed.delete.................................................................................................................................59
描述...................................................................................................................................59
参数...................................................................................................................................59
返回参数...........................................................................................................................60
返回 XML 范例................................................................................................................60
返回 JSON 范例................................................................................................................60
调用范例...........................................................................................................................60
错误代码...........................................................................................................................61
Feed.forward.............................................................................................................................61
描述...................................................................................................................................61
参数...................................................................................................................................61
返回参数...........................................................................................................................62
返回 XML 范例................................................................................................................62
返回 JSON 范例................................................................................................................62
调用范例...........................................................................................................................63
错误代码...........................................................................................................................63
Feed.getCommentList...............................................................................................................63
描述...................................................................................................................................63
参数...................................................................................................................................63
返回参数...........................................................................................................................64
返回 XML 范例................................................................................................................64
返回 JSON 范例................................................................................................................65
调用范例...........................................................................................................................65
错误代码...........................................................................................................................65
Feed.getId..................................................................................................................................66
描述...................................................................................................................................66
参数...................................................................................................................................66
返回参数...........................................................................................................................67
返回 XML 范例................................................................................................................67
返回 JSON 范例................................................................................................................67
调用范例...........................................................................................................................67
剩余63页未读,继续阅读
资源推荐
资源评论
163 浏览量
182 浏览量
资源评论
cutemouse
- 粉丝: 321
- 资源: 79
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【无人机】四旋翼飞行器目标分配、全局路径规划和局部路径规划附Matlab代码.rar
- 【无人机三维路径规划】基于PSO无人机路径规划3D城市附Matlab代码.rar
- 【无人机路径规划】粒子群优化和遗传算法实现有效的水陆两栖无人机任务规划和执行Matlab实现.rar
- 基于mediapipe和KNN分类算法的健身计数器引体向上-深蹲-俯卧撑计数器源码+项目文档说明.zip
- 【无人机路径规划】用于无人机路径规划的多目标 PSO实现Matlab代码.rar
- 【无线传感器】基于 Mamdani 模糊推理系统改进无线传感器网络路由和数据包传递附Matlab代码.rar
- 【物理应用】基于Matlab计算并绘制一维量子和经典谐振子的波函数和概率分布.rar
- 【物理应用】使用提升算子计算量子谐振子的激发态研究附Matlab代码.rar
- 【物理】弹簧-质量-阻尼器系统行为分析附Matlab代码.rar
- 【物理应用】基于Zernike 多项式在圆形、六边形、椭圆形、矩形或环形瞳孔上应用Matlab代码实现.rar
- 【物理应用】基于物理场的动态模式分解(piDMD)研究附Matlab代码.rar
- 【信号处理】天线分集与空时编码技术——空时格码matlab代码.rar
- 【信道估计】基于鲸鱼优化算法的5G信道估计Matlab代码.rar
- 【物流选址】基于免疫优化算法的物流配送中心选址规划研究Matlab实现.rar
- proteus图,重庆邮电大学,单片机实验
- 【信号去噪】基于马氏距离和EDF统计IEE-TSP小波的多元信号去噪方法研究附Matlab代码.rar
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功