API文档 V2

跳转到: 导航, 搜索
第51行: 第51行:
 
==微博==
 
==微博==
 
===读取接口===
 
===读取接口===
*[[2/statuses/public_timeline|statuses/public_timeline]] 获取最新的公共微博<span class="wikiapi_beta"></span>
+
*[[2/statuses/public_timeline|statuses/public_timeline]] 获取最新的公共微博
*[[2/statuses/friends_timeline|statuses/friends_timeline]] 获取当前登录用户及其所关注用户的最新微博<span class="wikiapi_new"></span>
+
*[[2/statuses/friends_timeline|statuses/friends_timeline]] 获取当前登录用户及其所关注用户的最新微博
*[[2/statuses/home_timeline|statuses/home_timeline]] 获取当前登录用户及其所关注用户的最新微博<span class="wikiapi_dep"></span>
+
*[[2/statuses/home_timeline|statuses/home_timeline]] 获取当前登录用户及其所关注用户的最新微博
*[[2/statuses/user_timeline|statuses/user_timeline]] 获取用户发布的微博<span class="wikiapi_adv"></span>
+
*[[2/statuses/user_timeline|statuses/user_timeline]] 获取用户发布的微博
*[[2/statuses/timeline_batch|statuses/timeline_batch]] 批量获取指定的一批用户的timeline<span class="wikiapi_adv"></span>
+
*[[2/statuses/timeline_batch|statuses/timeline_batch]] 批量获取指定的一批用户的timeline {{Icon_adv}}
*[[2/statuses/repost_timeline|statuses/repost_timeline]] 返回一条原创微博的最新转发微博<span class="wikiapi_adv"></span>
+
*[[2/statuses/repost_timeline|statuses/repost_timeline]] 返回一条原创微博的最新转发微博
 
*[[2/statuses/repost_by_me|statuses/repost_by_me]] 返回用户转发的最新微博
 
*[[2/statuses/repost_by_me|statuses/repost_by_me]] 返回用户转发的最新微博
 
*[[2/statuses/mentions|statuses/mentions]] 获取@当前用户的最新微博
 
*[[2/statuses/mentions|statuses/mentions]] 获取@当前用户的最新微博
 
*[[2/statuses/show|statuses/show]] 根据ID获取单条微博信息
 
*[[2/statuses/show|statuses/show]] 根据ID获取单条微博信息
*[[2/statuses/show_batch|statuses/show_batch]] 批量获取微博信息
+
*[[2/statuses/show_batch|statuses/show_batch]] 批量获取微博信息 {{Icon_adv}}
 
*[[2/statuses/querymid|statuses/querymid]] 通过id获取mid
 
*[[2/statuses/querymid|statuses/querymid]] 通过id获取mid
 
*[[2/statuses/queryid|statuses/queryid]] 通过mid获取id
 
*[[2/statuses/queryid|statuses/queryid]] 通过mid获取id
第72行: 第72行:
 
*[[2/statuses/destroy|statuses/destroy]] 删除微博信息
 
*[[2/statuses/destroy|statuses/destroy]] 删除微博信息
 
*[[2/statuses/update|statuses/update]] 发布一条微博信息
 
*[[2/statuses/update|statuses/update]] 发布一条微博信息
*[[2/statuses/upload_url_text|statuses/upload_url_text]] 发布一条微博同时指定上传的图片或图片url
 
 
*[[2/statuses/upload|statuses/upload]] 上传图片并发布一条微博
 
*[[2/statuses/upload|statuses/upload]] 上传图片并发布一条微博
 +
*[[2/statuses/upload_url_text|statuses/upload_url_text]] 发布一条微博同时指定上传的图片或图片url {{Icon_adv}}
 
*[[2/emotions|emotions]] 获取官方表情
 
*[[2/emotions|emotions]] 获取官方表情
  
第97行: 第97行:
 
*[[2/users/show|users/show]] 获取用户信息
 
*[[2/users/show|users/show]] 获取用户信息
 
*[[2/users/domain_show|users/domain_show]] 通过个性域名获取用户信息
 
*[[2/users/domain_show|users/domain_show]] 通过个性域名获取用户信息
*[[2/users/show_batch|users/show_batch]] 批量获取用户信息
+
*[[2/users/show_batch|users/show_batch]] 批量获取用户信息 {{Icon_adv}}
  
  
第107行: 第107行:
 
*[[2/friendships/friends/bilateral/ids|friendships/friends/bilateral/ids]] 获取双向关注UID列表
 
*[[2/friendships/friends/bilateral/ids|friendships/friends/bilateral/ids]] 获取双向关注UID列表
 
*[[2/friendships/friends/ids|friendships/friends/ids]] 获取用户关注对象UID列表
 
*[[2/friendships/friends/ids|friendships/friends/ids]] 获取用户关注对象UID列表
*[[2/friendships/friends/remark_batch|friendships/friends/remark_batch]] 批量获取关注人备注
+
*[[2/friendships/friends/remark_batch|friendships/friends/remark_batch]] 批量获取关注人备注 {{Icon_adv}}
  
 
===粉丝读取接口===
 
===粉丝读取接口===
第122行: 第122行:
 
===写入接口===
 
===写入接口===
 
*[[2/friendships/create|friendships/create]] 关注某用户
 
*[[2/friendships/create|friendships/create]] 关注某用户
*[[2/friendships/create_batch|friendships/create_batch]] 批量关注用户
+
*[[2/friendships/create_batch|friendships/create_batch]] 批量关注用户 {{Icon_adv}}
 
*[[2/friendships/destroy|friendships/destroy]] 取消关注某用户
 
*[[2/friendships/destroy|friendships/destroy]] 取消关注某用户
*[[2/friendships/remark/update|friendships/remark/update]] 更新关注人备注
+
*[[2/friendships/remark/update|friendships/remark/update]] 更新关注人备注 {{Icon_adv}}
  
  
 
==私信==
 
==私信==
 
===读取接口===
 
===读取接口===
*[[2/direct_messages|direct_messages]] 获取当前用户最新私信列表
+
*[[2/direct_messages|direct_messages]] 获取当前用户最新私信列表 {{Icon_adv}}
*[[2/direct_messages/sent|direct_messages/sent]] 获取当前用户发送的最新私信列表
+
*[[2/direct_messages/sent|direct_messages/sent]] 获取当前用户发送的最新私信列表 {{Icon_adv}}
*[[2/direct_messages/user_list|direct_messages/user_list]] 获取私信往来用户列表
+
*[[2/direct_messages/user_list|direct_messages/user_list]] 获取私信往来用户列表 {{Icon_adv}}
*[[2/direct_messages/conversation|direct_messages/conversation]] 获取与指定用户的往来私信列表
+
*[[2/direct_messages/conversation|direct_messages/conversation]] 获取与指定用户的往来私信列表 {{Icon_adv}}
*[[2/direct_messages/show_batch|direct_messages/show_batch]] 批量获取私信内容
+
*[[2/direct_messages/show_batch|direct_messages/show_batch]] 批量获取私信内容 {{Icon_adv}}
  
 
===写入接口===
 
===写入接口===
*[[2/direct_messages/new|direct_messages/new]] 发送一条私信
+
*[[2/direct_messages/new|direct_messages/new]] 发送一条私信 {{Icon_adv}}
*[[2/direct_messages/destroy|direct_messages/destroy]] 删除一条私信
+
*[[2/direct_messages/destroy|direct_messages/destroy]] 删除一条私信 {{Icon_adv}}
*[[2/direct_messages/destroy_batch|direct_messages/destroy_batch]] 批量删除私信
+
*[[2/direct_messages/destroy_batch|direct_messages/destroy_batch]] 批量删除私信 {{Icon_adv}}
  
  
 
==通知==
 
==通知==
 
===写入接口===
 
===写入接口===
*[[2/notice/app/send|notice/app/send]] 发送一条新的或已有的第三方应用通知
+
*[[2/notice/app/send|notice/app/send]] 发送一条新的或已有的第三方应用通知 {{Icon_adv}}
  
  
 
==账号==
 
==账号==
 
===读取接口===
 
===读取接口===
*[[2/account/profile/basic|account/profile/basic]] 获取用户基本信息
+
*[[2/account/profile/basic|account/profile/basic]] 获取用户基本信息 {{Icon_adv}}
*[[2/account/profile/education|account/profile/education]] 获取教育信息
+
*[[2/account/profile/education|account/profile/education]] 获取教育信息 {{Icon_adv}}
*[[2/account/profile/education_batch|account/profile/education_batch]] 批量获取教育信息
+
*[[2/account/profile/education_batch|account/profile/education_batch]] 批量获取教育信息 {{Icon_adv}}
*[[2/account/profile/career|account/profile/career]] 获取职业信息
+
*[[2/account/profile/career|account/profile/career]] 获取职业信息 {{Icon_adv}}
*[[2/account/profile/career_batch|account/profile/career_batch]] 批量获取职业信息
+
*[[2/account/profile/career_batch|account/profile/career_batch]] 批量获取职业信息 {{Icon_adv}}
 
*[[2/account/get_privacy|account/get_privacy]] 获取隐私设置信息
 
*[[2/account/get_privacy|account/get_privacy]] 获取隐私设置信息
 
*[[2/account/profile/school_list|account/profile/school_list]] 获取所有学校列表
 
*[[2/account/profile/school_list|account/profile/school_list]] 获取所有学校列表
第158行: 第158行:
  
 
===写入接口===
 
===写入接口===
*[[2/account/profile/basic_update|account/profile/basic_update]] 更新用户基本信息
+
*[[2/account/profile/basic_update|account/profile/basic_update]] 更新用户基本信息 {{Icon_adv}}
*[[2/account/profile/edu_update|account/profile/edu_update]] 更新用户教育信息
+
*[[2/account/profile/edu_update|account/profile/edu_update]] 更新用户教育信息 {{Icon_adv}}
*[[2/account/profile/edu_destroy|account/profile/edu_destroy]] 删除用户教育信息
+
*[[2/account/profile/edu_destroy|account/profile/edu_destroy]] 删除用户教育信息 {{Icon_adv}}
*[[2/account/profile/car_update|account/profile/car_update]] 更新用户职业信息
+
*[[2/account/profile/car_update|account/profile/car_update]] 更新用户职业信息 {{Icon_adv}}
*[[2/account/profile/car_destroy|account/profile/car_destroy]] 删除用户职业信息
+
*[[2/account/profile/car_destroy|account/profile/car_destroy]] 删除用户职业信息 {{Icon_adv}}
*[[2/account/avatar/upload|account/avatar/upload]] 上传头像
+
*[[2/account/avatar/upload|account/avatar/upload]] 上传头像 {{Icon_adv}}
*[[2/account/update_privacy|account/update_privacy]] 更新隐私设置
+
*[[2/account/update_privacy|account/update_privacy]] 更新隐私设置 {{Icon_adv}}
  
  
第226行: 第226行:
  
 
===搜索内容接口===
 
===搜索内容接口===
*[[2/search/statuses|search/statuses]] 微博搜索
+
*[[2/search/statuses|search/statuses]] 微博搜索 {{Icon_adv}}
*[[2/search/geo/statuses|search/geo/statuses]] 搜索指定范围内的微博
+
*[[2/search/geo/statuses|search/geo/statuses]] 搜索指定范围内的微博 {{Icon_adv}}
  
 
===搜索用户接口===
 
===搜索用户接口===
*[[2/search/users|search/users]] 搜索用户
+
*[[2/search/users|search/users]] 搜索用户 {{Icon_adv}}
  
  

2011年6月8日 (三) 16:47的版本


微博

读取接口

写入接口


评论

读取接口

写入接口


用户

读取接口


关系

关注读取接口

粉丝读取接口

关系链读取接口

关系状态读取接口

写入接口


私信

读取接口

写入接口


通知

写入接口


账号

读取接口

写入接口


收藏

读取接口

写入接口


话题

读取接口

写入接口


标签

读取接口

写入接口


注册

读取接口


搜索

搜索联想接口

搜索内容接口

搜索用户接口


推荐

读取接口

写入接口


提醒

读取接口


短链

转换接口

统计接口