API文档 V2

跳转到: 导航, 搜索
第46行: 第46行:
 
</div>
 
</div>
 
</div>
 
</div>
 +
 +
 +
==微博==
 +
===读取接口===
 +
*[[2/statuses/public_timeline|statuses/public_timeline]] 获取最新的公共微博
 +
*[[2/statuses/friends_timeline|statuses/friends_timeline]] 获取当前登录用户及其所关注用户的最新微博
 +
*[[2/statuses/home_timeline|statuses/home_timeline]] 获取当前登录用户及其所关注用户的最新微博
 +
*[[2/statuses/user_timeline|statuses/user_timeline]] 获取用户发布的微博
 +
*[[2/statuses/timeline_batch|statuses/timeline_batch]] 批量获取指定的一批用户的timeline
 +
*[[2/statuses/repost_timeline|statuses/repost_timeline]] 返回一条原创微博的最新转发微博
 +
*[[2/statuses/repost_by_me|statuses/repost_by_me]] 返回用户转发的最新微博
 +
*[[2/statuses/mentions|statuses/mentions]] 获取@当前用户的最新微博
 +
*[[2/statuses/show|statuses/show]] 根据ID获取单条微博信息
 +
*[[2/statuses/show_batch|statuses/show_batch]] 批量获取微博信息
 +
*[[2/statuses/querymid|statuses/querymid]] 通过id获取mid
 +
*[[2/statuses/queryid|statuses/queryid]] 通过mid获取id
 +
*[[2/statuses/hot/repost_daily|statuses/hot/repost_daily]] 按天返回热门转发榜
 +
*[[2/statuses/hot/repost_weekly|statuses/hot/repost_weekly]] 按周返回热门转发榜
 +
*[[2/statuses/hot/comments_daily|statuses/hot/comments_daily]] 按天返回热门评论榜
 +
*[[2/statuses/hot/comments_weekly|statuses/hot/comments_weekly]] 按周返回热门评论榜
 +
 +
===写入接口===
 +
*[[2/statuses/repost|statuses/repost]] 转发一条微博信息
 +
*[[2/statuses/destroy|statuses/destroy]] 删除微博信息
 +
*[[2/statuses/update|statuses/update]] 发布一条微博信息
 +
*[[2/statuses/upload_url_text|statuses/upload_url_text]] 发布一条微博同时指定上传的图片或图片url
 +
*[[2/statuses/upload|statuses/upload]] 上传图片并发布一条微博
 +
*[[2/emotions|emotions]] 获取官方表情
 +
 +
 +
==评论==
 +
===读取接口===
 +
*[[2/comments/show|comments/show]] 获取某条微博的评论列表
 +
*[[2/comments/by_me|comments/by_me]] 我发出的评论列表
 +
*[[2/comments/to_me|comments/to_me]] 我收到的评论列表
 +
*[[2/comments/timeline|comments/timeline]] 获取用户发送及收到的评论列表
 +
*[[2/comments/mentions|comments/mentions]] 获取@到我的评论
 +
*[[2/comments/show_batch|comments/show_batch]] 批量获取评论内容
 +
 +
===写入接口===
 +
*[[2/comments/create|comments/create]] 评论一条微博
 +
*[[2/comments/destroy|comments/destroy]] 删除一条评论
 +
*[[2/comments/destroy_batch|comments/destroy_batch]] 批量删除评论
 +
*[[2/comments/reply|comments/reply]] 回复一条微博
 +
 +
 +
==用户==
 +
===读取接口===
 +
*[[2/users/show|users/show]] 获取用户信息
 +
*[[2/users/domain_show|users/domain_show]] 通过个性域名获取用户信息
 +
*[[2/users/show_batch|users/show_batch]] 批量获取用户信息
 +
 +
 +
==关系==
 +
===关注读取接口===
 +
*[[2/friendships/friends|friendships/friends]] 获取用户的关注列表
 +
*[[2/friendships/friends/in_common|friendships/friends/in_common]] 获取共同关注人列表
 +
*[[2/friendships/friends/bilateral|friendships/friends/bilateral]] 获取双向关注列表
 +
*[[2/friendships/friends/bilateral/ids|friendships/friends/bilateral/ids]] 获取双向关注UID列表
 +
*[[2/friendships/friends/ids|friendships/friends/ids]] 获取用户关注对象UID列表
 +
*[[2/friendships/friends/remark_batch|friendships/friends/remark_batch]] 批量获取关注人备注
 +
 +
===粉丝读取接口===
 +
*[[2/friendships/followers|friendships/followers]] 获取用户粉丝列表
 +
*[[2/friendships/followers/ids|friendships/followers/ids]] 获取用户粉丝UID列表
 +
*[[2/friendships/followers/active|friendships/followers/active]] 获取用户优质粉丝列表
 +
 +
===关系链读取接口===
 +
*[[2/friendships/friends_chain/followers|friendships/friends_chain/followers]] 获取我的关注人中关注了指定用户的人
 +
 +
===关系状态读取接口===
 +
*[[2/friendships/show|friendships/show]] 获取两个用户关系的详细情况
 +
 +
===写入接口===
 +
*[[2/friendships/create|friendships/create]] 关注某用户
 +
*[[2/friendships/create_batch|friendships/create_batch]] 批量关注用户
 +
*[[2/friendships/destroy|friendships/destroy]] 取消关注某用户
 +
*[[2/friendships/remark/update|friendships/remark/update]] 更新关注人备注
 +
 +
 +
==私信==
 +
===读取接口===
 +
*[[2/direct_messages|direct_messages]] 获取当前用户最新私信列表
 +
*[[2/direct_messages/sent|direct_messages/sent]] 获取当前用户发送的最新私信列表
 +
*[[2/direct_messages/user_list|direct_messages/user_list]] 获取私信往来用户列表
 +
*[[2/direct_messages/conversation|direct_messages/conversation]] 获取与指定用户的往来私信列表
 +
*[[2/direct_messages/show_batch|direct_messages/show_batch]] 批量获取私信内容
 +
 +
===写入接口===
 +
*[[2/direct_messages/new|direct_messages/new]] 发送一条私信
 +
*[[2/direct_messages/destroy|direct_messages/destroy]] 删除一条私信
 +
*[[2/direct_messages/destroy_batch|direct_messages/destroy_batch]] 批量删除私信
 +
 +
 +
==通知==
 +
===写入接口===
 +
*[[2/notice/app/send|notice/app/send]] 发送一条新的或已有的第三方应用通知
 +
 +
 +
==账号==
 +
===读取接口===
 +
*[[2/account/profile/basic|account/profile/basic]] 获取用户基本信息
 +
*[[2/account/profile/education|account/profile/education]] 获取教育信息
 +
*[[2/account/profile/education_batch|account/profile/education_batch]] 批量获取教育信息
 +
*[[2/account/profile/career|account/profile/career]] 获取职业信息
 +
*[[2/account/profile/career_batch|account/profile/career_batch]] 批量获取职业信息
 +
*[[2/account/get_privacy|account/get_privacy]] 获取隐私设置信息
 +
*[[2/account/profile/school_list|account/profile/school_list]] 获取所有学校列表
 +
*[[2/account/rate_limit|account/rate_limit]] 获取当前用户API访问频率限制
 +
 +
===写入接口===
 +
*[[2/account/profile/basic_update|account/profile/basic_update]] 更新用户基本信息
 +
*[[2/account/profile/edu_update|account/profile/edu_update]] 更新用户教育信息
 +
*[[2/account/profile/edu_destroy|account/profile/edu_destroy]] 删除用户教育信息
 +
*[[2/account/profile/car_update|account/profile/car_update]] 更新用户职业信息
 +
*[[2/account/profile/car_destroy|account/profile/car_destroy]] 删除用户职业信息
 +
*[[2/account/avatar/upload|account/avatar/upload]] 上传头像
 +
*[[2/account/update_privacy|account/update_privacy]] 更新隐私设置
 +
 +
 +
==收藏==
 +
===读取接口===
 +
*[[2/favorites|favorites]] 获取当前用户的收藏列表
 +
*[[2/favorites/show|favorites/show]] 获取单条收藏信息
 +
*[[2/favorites/by_tags|favorites/by_tags]] 获取当前用户某个标签下的收藏列表
 +
*[[2/favorites/tags|favorites/tags]] 当前登录用户的收藏标签列表
 +
*[[2/favorites/tags/common|favorites/tags/common]] 常用标签列表
 +
 +
===写入接口===
 +
*[[2/favorites/create|favorites/create]] 添加收藏
 +
*[[2/favorites/destroy|favorites/destroy]] 删除收藏
 +
*[[2/favorites/destroy_batch|favorites/destroy_batch]] 批量删除收藏
 +
*[[2/favorites/tags/update|favorites/tags/update]] 更新收藏标签
 +
*[[2/favorites/tags/update_batch|favorites/tags/update_batch]] 更新当前用户所有收藏下的指定标签
 +
*[[2/favorites/tags/destroy_batch|favorites/tags/destroy_batch]] 删除当前用户所有收藏下的指定标签
 +
 +
 +
==话题==
 +
===读取接口===
 +
*[[2/trends|trends]] 获取某人话题
 +
*[[2/trends/statuses|trends/statuses]] 获取某一话题下的微博
 +
*[[2/trends/is_follow|trends/is_follow]] 是否关注某话题
 +
*[[2/trends/hourly|trends/hourly]] 返回最近一小时内的热门话题
 +
*[[2/trends/daily|trends/daily]] 返回最近一天内的热门话题
 +
*[[2/trends/weekly|trends/weekly]] 返回最近一周内的热门话题
 +
 +
===写入接口===
 +
*[[2/trends/follow|trends/follow]] 关注某话题
 +
*[[2/trends/destroy|trends/destroy]] 取消关注的某一个话题
 +
 +
 +
==标签==
 +
===读取接口===
 +
*[[2/tags|tags]] 返回指定用户的标签列表
 +
*[[2/tags/tags_batch|tags/tags_batch]] 批量获取用户标签
 +
*[[2/tags/suggestions|tags/suggestions]] 返回系统推荐的标签列表
 +
 +
===写入接口===
 +
*[[2/tags/create|tags/create]] 添加用户标签
 +
*[[2/tags/destroy|tags/destroy]] 删除用户标签
 +
*[[2/tags/destroy_batch|tags/destroy_batch]] 批量删除用户标签
 +
 +
 +
==注册==
 +
===读取接口===
 +
*[[2/register/verify_nickname|register/verify_nickname]] 验证昵称是否可用
 +
 +
 +
==搜索==
 +
===搜索联想接口===
 +
*[[2/search/suggestions/users|search/suggestions/users]] 搜用户搜索建议
 +
*[[2/search/suggestions/statuses|search/suggestions/statuses]] 搜微博搜索建议
 +
*[[2/search/suggestions/schools|search/suggestions/schools]] 搜学校搜索建议
 +
*[[2/search/suggestions/companies|search/suggestions/companies]] 搜公司搜索建议
 +
*[[2/search/suggestions/apps|search/suggestions/apps]] 搜应用搜索建议
 +
*[[2/search/suggestions/at_users|search/suggestions/at_users]] @联想搜索
 +
*[[2/search/suggestions/integrate|search/suggestions/integrate]] 综合联想搜索
 +
 +
===搜索过滤接口===
 +
*[[2/search/statuses/user_timeline|search/statuses/user_timeline]] 用户微博列表过滤搜索
 +
*[[2/search/statuses/friends_timeline|search/statuses/friends_timeline]] 用户及其关注人微博列表过滤搜索
 +
 +
===搜索内容接口===
 +
*[[2/search/statuses|search/statuses]] 微博搜索
 +
*[[2/search/comments|search/comments]] 评论搜索
 +
*[[2/search/statuses/mentions|search/statuses/mentions]] 搜索提到我的微博
 +
*[[2/search/comments/mentions|search/comments/mentions]] 搜索提到我的评论
 +
*[[2/search/statuses/favorites|search/statuses/favorites]] 搜索用户收藏
 +
 +
===搜索用户接口===
 +
*[[2/search/users|search/users]] 搜索用户
 +
 +
 +
==推荐==
 +
===读取接口===
 +
*[[2/suggestions/users/hot|suggestions/users/hot]] 获取系统推荐用户
 +
*[[2/suggestions/users/may_interested|suggestions/users/may_interested]] 获取用户可能感兴趣的人
 +
*[[2/suggestions/users/by_status|suggestions/users/by_status]] 根据微博内容推荐用户
 +
*[[2/suggestions/favorites/hot|suggestions/favorites/hot]] 热门收藏
 +
 +
===写入接口===
 +
*[[2/suggestions/users/not_interested|suggestions/users/not_interested]] 不感兴趣的人
 +
 +
 +
==提醒==
 +
===读取接口===
 +
*[[2/remind/unread_count|remind/unread_count]] 获取当前用户未读消息数
 +
 +
 +
==短链==
 +
===转换接口===
 +
*[[2/short_url/shorten|short_url/shorten]] 长链转短链
 +
*[[2/short_url/expand|short_url/expand]] 短链转长链
 +
 +
===附加信息接口===
 +
*[[2/short_url/info|short_url/info]] 获取短链富内容信息

2011年5月26日 (四) 14:46的版本

微博

评论

用户

关系

私信

通知

账号

收藏

话题

标签

注册

搜索

推荐

提醒

短链


目录

微博

读取接口

写入接口


评论

读取接口

写入接口


用户

读取接口


关系

关注读取接口

粉丝读取接口

关系链读取接口

关系状态读取接口

写入接口


私信

读取接口

写入接口


通知

写入接口


账号

读取接口

写入接口


收藏

读取接口

写入接口


话题

读取接口

写入接口


标签

读取接口

写入接口


注册

读取接口


搜索

搜索联想接口

搜索过滤接口

搜索内容接口

搜索用户接口


推荐

读取接口

写入接口


提醒

读取接口


短链

转换接口

附加信息接口