API PRIVATE V2
第14行: | 第14行: | ||
<div style="width:120px;height:25px;background:#E2EEF6;float:left;margin:0 15px 10px 0;padding-top:3px;text-align:center;"> | <div style="width:120px;height:25px;background:#E2EEF6;float:left;margin:0 15px 10px 0;padding-top:3px;text-align:center;"> | ||
[[#私信|私信接口]] | [[#私信|私信接口]] | ||
+ | </div> | ||
+ | <div style="width:120px;height:25px;background:#E2EEF6;float:left;margin:0 15px 10px 0;padding-top:3px;text-align:center;"> | ||
+ | [[#黑名单|黑名单接口]] | ||
</div> | </div> | ||
<div style="width:120px;height:25px;background:#E2EEF6;float:left;margin:0 15px 10px 0;padding-top:3px;text-align:center;"> | <div style="width:120px;height:25px;background:#E2EEF6;float:left;margin:0 15px 10px 0;padding-top:3px;text-align:center;"> | ||
第40行: | 第43行: | ||
===读取接口=== | ===读取接口=== | ||
*[[2/users/show_batch|users/show_batch]] 批量获取用户信息 {{Icon_adv}} | *[[2/users/show_batch|users/show_batch]] 批量获取用户信息 {{Icon_adv}} | ||
+ | *[[2/users/get_filtered|users/get_filtered]] 获取当前用户的主Feed屏蔽用户列表 {{Icon_adv}} | ||
+ | *[[2/users/is_filtered|users/is_filtered]] 批量判断某用户是否在当前用户的屏蔽列表中 {{Icon_adv}} | ||
+ | |||
+ | ===写入接口=== | ||
+ | *[[2/users/filter/create|users/filter/create]] 在主Feed内屏蔽某用户的微博 {{Icon_adv}} | ||
+ | *[[2/users/filter/create_batch|users/filter/create_batch]] 批量屏蔽部分用户的微博 {{Icon_adv}} | ||
+ | *[[2/users/filter/destroy|users/filter/destroy]] 解除屏蔽某用户的微博 {{Icon_adv}} | ||
+ | *[[2/users/filter/destroy_batch|users/filter/destroy_batch]] 批量解除屏蔽部分用户的微博 {{Icon_adv}} | ||
+ | *[[2/users/filter/destroy_all|users/filter/destroy_all]] 全部解除屏蔽部分用户的微博 {{Icon_adv}} | ||
第48行: | 第60行: | ||
===写入接口=== | ===写入接口=== | ||
*[[2/friendships/create_batch|friendships/create_batch]] 批量关注用户 {{Icon_adv}} | *[[2/friendships/create_batch|friendships/create_batch]] 批量关注用户 {{Icon_adv}} | ||
+ | *[[2/friendships/followers/destroy|friendships/followers/destroy]] 移除当前登录用户的粉丝 {{Icon_adv}} | ||
+ | |||
+ | ===好友分组读取接口=== | ||
+ | *[[2/friendships/groups|friendships/groups]] 获取当前登录用户的好友分组列表 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/timeline|friendships/groups/timeline]] 获取某一好友分组的微博列表 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/timeline/ids|friendships/groups/timeline/ids]] 获取某一好友分组的微博ID列表 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/members|friendships/groups/members]] 获取某一好友分组下的成员列表 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/is_member|friendships/groups/is_member]] 判断某个用户是否是指定好友分组内的成员 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/listed|friendships/groups/listed]] 批量获取某个用户在当前用户的好友分组中的分组信息 {{Icon_adv}} | ||
+ | |||
+ | ===好友分组写入接口=== | ||
+ | *[[2/friendships/groups/create|friendships/groups/create]] 创建好友分组 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/update|friendships/groups/update]] 更新好友分组 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/destroy|friendships/groups/destroy]] 删除好友分组 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/members/add|friendships/groups/members/add]] 添加关注用户到好友分组 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/members/destroy|friendships/groups/members/destroy]] 删除好友分组内的关注用户 {{Icon_adv}} | ||
+ | *[[2/friendships/groups/order|friendships/groups/order]] 调整当前登录用户的好友分组顺序 {{Icon_adv}} | ||
第57行: | 第86行: | ||
*[[2/direct_messages/conversation|direct_messages/conversation]] 获取与指定用户的往来私信列表 {{Icon_adv}} | *[[2/direct_messages/conversation|direct_messages/conversation]] 获取与指定用户的往来私信列表 {{Icon_adv}} | ||
*[[2/direct_messages/show_batch|direct_messages/show_batch]] 批量获取私信内容 {{Icon_adv}} | *[[2/direct_messages/show_batch|direct_messages/show_batch]] 批量获取私信内容 {{Icon_adv}} | ||
+ | *[[2/direct_messages/is_capable|direct_messages/is_capable]] 判断是否可以给对方发私信 {{Icon_adv}} | ||
===写入接口=== | ===写入接口=== | ||
第62行: | 第92行: | ||
*[[2/direct_messages/destroy|direct_messages/destroy]] 删除一条私信 {{Icon_adv}} | *[[2/direct_messages/destroy|direct_messages/destroy]] 删除一条私信 {{Icon_adv}} | ||
*[[2/direct_messages/destroy_batch|direct_messages/destroy_batch]] 批量删除私信 {{Icon_adv}} | *[[2/direct_messages/destroy_batch|direct_messages/destroy_batch]] 批量删除私信 {{Icon_adv}} | ||
+ | |||
+ | |||
+ | ==黑名单== | ||
+ | ===读取接口=== | ||
+ | *[[2/blocks/exists|blocks/exists]] 检测指定用户是否在当前用户黑名单内 {{Icon_adv}} | ||
+ | *[[2/blocks/blocking|blocks/blocking]] 获取当前用户黑名单用户列表 {{Icon_adv}} | ||
+ | *[[2/blocks/blocking/ids|blocks/blocking/ids]] 获取当前用户黑名单用户ID列表 {{Icon_adv}} | ||
+ | |||
+ | ===写入接口=== | ||
+ | *[[2/blocks/create|blocks/create]] 将用户添加到黑名单 {{Icon_adv}} | ||
+ | *[[2/blocks/destroy|blocks/destroy]] 将用户从黑名单移除 {{Icon_adv}} | ||
2011年12月9日 (五) 14:03的版本
注:此页面的接口为不对外开放申请的高级接口,以及部分预研的实验接口。(去正式的接口文档)
微博
读取接口
- statuses/timeline_batch 批量获取指定的一批用户的timeline
- statuses/show_batch 批量获取微博信息
用户
读取接口
- users/show_batch 批量获取用户信息
- users/get_filtered 获取当前用户的主Feed屏蔽用户列表
- users/is_filtered 批量判断某用户是否在当前用户的屏蔽列表中
写入接口
- users/filter/create 在主Feed内屏蔽某用户的微博
- users/filter/create_batch 批量屏蔽部分用户的微博
- users/filter/destroy 解除屏蔽某用户的微博
- users/filter/destroy_batch 批量解除屏蔽部分用户的微博
- users/filter/destroy_all 全部解除屏蔽部分用户的微博
关系
读取接口
- friendships/friends/remark_batch 批量获取关注人备注
写入接口
- friendships/create_batch 批量关注用户
- friendships/followers/destroy 移除当前登录用户的粉丝
好友分组读取接口
- friendships/groups 获取当前登录用户的好友分组列表
- friendships/groups/timeline 获取某一好友分组的微博列表
- friendships/groups/timeline/ids 获取某一好友分组的微博ID列表
- friendships/groups/members 获取某一好友分组下的成员列表
- friendships/groups/is_member 判断某个用户是否是指定好友分组内的成员
- friendships/groups/listed 批量获取某个用户在当前用户的好友分组中的分组信息
好友分组写入接口
- friendships/groups/create 创建好友分组
- friendships/groups/update 更新好友分组
- friendships/groups/destroy 删除好友分组
- friendships/groups/members/add 添加关注用户到好友分组
- friendships/groups/members/destroy 删除好友分组内的关注用户
- friendships/groups/order 调整当前登录用户的好友分组顺序
私信
读取接口
- direct_messages 获取当前用户最新私信列表
- direct_messages/sent 获取当前用户发送的最新私信列表
- direct_messages/user_list 获取私信往来用户列表
- direct_messages/conversation 获取与指定用户的往来私信列表
- direct_messages/show_batch 批量获取私信内容
- direct_messages/is_capable 判断是否可以给对方发私信
写入接口
- direct_messages/new 发送一条私信
- direct_messages/destroy 删除一条私信
- direct_messages/destroy_batch 批量删除私信
黑名单
读取接口
- blocks/exists 检测指定用户是否在当前用户黑名单内
- blocks/blocking 获取当前用户黑名单用户列表
- blocks/blocking/ids 获取当前用户黑名单用户ID列表
写入接口
- blocks/create 将用户添加到黑名单
- blocks/destroy 将用户从黑名单移除
通知
写入接口
- notice/app/send 发送一条新的或已有的第三方应用通知 beta
账号
读取接口
- account/profile/education_batch 批量获取教育信息
- account/profile/career_batch 批量获取职业信息
搜索
搜索联想接口
- search/suggestions/integrate 综合联想搜索 beta
搜索内容接口
- search/geo/statuses 搜索指定范围内的微博 beta
短链
转换接口
- short_url/shorten 长链转短链 beta
- short_url/expand 短链转长链 beta
统计接口
- short_url/clicks 获取短链接的总点击数 beta