Report spam

跳转到: 导航, 搜索

目录

report_spam

举报某条信息。任何一个参数为空时,返回400。失败时也会返回400,并显示相关出错信息。

URL

http://api.t.sina.com.cn/report_spam.format

格式

xml,json

HTTP请求方式

POST

是否需要登录

True

请求数限制

False

关于请求数限制,参见接口访问权限说明\

请求参数

请求参数

  • ip:举报人IP 必选参数
  • url:举报url 必选参数
  • status_id 为可选参数。当status_id不为空时,允许url参数为空。
  • content:举报内容 必选参数

返回结果

XML

<?xml version="1.0" encoding="UTF-8"?>
<user>
  <id>1266321801</id>
  <screen_name>姚晨</screen_name>
  <name>姚晨</name>
  <province>11</province>
  <city>5</city>
  <location>北京 朝阳区</location>
  <description>一颗很逊的卤蛋。</description>
  <url>http://blog.sina.com.cn/yaochen</url>
  <profile_image_url>http://tp2.sinaimg.cn/1266321801/50/1283203855</profile_image_url>
  <domain>yaochen</domain>
  <gender>f</gender>
  <followers_count>2825298</followers_count>
  <friends_count>562</friends_count>
  <statuses_count>2160</statuses_count>
  <favourites_count>10</favourites_count>
  <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at>
  <following>false</following>
  <verified>true</verified>
  <allow_all_act_msg>false</allow_all_act_msg>
  <geo_enabled>false</geo_enabled>
  <status>
    <created_at>Mon Sep 13 14:25:38 +0800 2010</created_at>
    <id>2585938903</id>
    <text>今日又和@陈奕利 导演一起吃饭,他说:上次我们吃饭被偷拍的那个绯闻让我很生气。我:是啊,我也很生气。陈导:不是的,我有个朋友说,这消息一看就是假的,姚晨怎么可能看上你呢?我有那么差吗?我太生气了!我:呃,导演,你节哀顺便...</text>
    <source>
      <a href="http://news.sina.com.cn/wap/wbclient.html#3">iPhone客户端</a>
    </source>
    <favorited>false</favorited>
    <truncated>false</truncated>
    <geo/>
    <in_reply_to_status_id/>
    <in_reply_to_user_id/>
    <in_reply_to_screen_name/>
    <thumbnail_pic>http://ss4.sinaimg.cn/thumbnail/4b7a89894901e2a285b43&690</thumbnail_pic>
    <bmiddle_pic>http://ss4.sinaimg.cn/bmiddle/4b7a89894901e2a285b43&690</bmiddle_pic>
    <original_pic>http://ss4.sinaimg.cn/orignal/4b7a89894901e2a285b43&690</original_pic>
  </status>
</user>

JSON

{
   "id":1266321801,
   "screen_name":"姚晨",
   "name":"姚晨",
   "province":"11",
   "city":"5",
   "location":"北京 朝阳区",
   "description":"一颗很逊的卤蛋。",
   "url":"http://blog.sina.com.cn/yaochen",
   "profile_image_url":"http://tp2.sinaimg.cn/1266321801/50/1283203855",
   "domain":"yaochen",
   "gender":"f",
   "followers_count":2825298,
   "friends_count":562,
   "statuses_count":2160,
   "favourites_count":10,
   "created_at":"Fri Aug 28 00:00:00 +0800 2009",
   "following":false,
   "allow_all_act_msg":false,
   "geo_enabled":false,
   "verified":true,
   "status":{
      "created_at":"Mon Sep 13 14:25:38 +0800 2010",
      "id":2585938903,
      "text":"今日又和@陈奕利 导演一起吃饭,他说:上次我们吃饭被偷拍的那个绯闻让我很生气。我:是啊,我也很生气。陈导:不是的,我有个朋友说,这消息一看就是假的,姚晨怎么可能看上你呢?我有那么差吗?我太生气了!我:呃,导演,你节哀顺便...",
      "source":"<a href=\"http://news.sina.com.cn/wap/wbclient.html#3\" rel=\"nofollow\">iPhone客户端</a>",
      "favorited":false,
      "truncated":false,
      "in_reply_to_status_id":"",
      "in_reply_to_user_id":"",
      "in_reply_to_screen_name":"",
      "thumbnail_pic":"http://ss4.sinaimg.cn/thumbnail/4b7a89894901e2a285b43&690",
      "bmiddle_pic":"http://ss4.sinaimg.cn/bmiddle/4b7a89894901e2a285b43&690",
      "original_pic":"http://ss4.sinaimg.cn/orignal/4b7a89894901e2a285b43&690",
      "geo":null
   }
}

字段说明 - user

  • id: 用户UID
  • screen_name: 微博昵称
  • name: 友好显示名称,同微博昵称
  • province: 省份编码(参考省份编码表)
  • city: 城市编码(参考城市编码表)
  • location:地址
  • description: 个人描述
  • url: 用户博客地址
  • profile_image_url: 自定义图像
  • domain: 用户个性化URL
  • gender: 性别,m--男,f--女,n--未知
  • followers_count: 粉丝数
  • friends_count: 关注数
  • statuses_count: 微博数
  • favourites_count: 收藏数
  • created_at: 创建时间
  • following: 是否已关注(此特性暂不支持)
  • verified: 加V标示,是否微博认证用户

字段说明 - status

  • created_at: 创建时间
  • id: 微博ID
  • text: 微博信息内容
  • source: 微博来源
  • favorited: 是否已收藏
  • truncated: 是否被截断
  • in_reply_to_status_id: 回复ID
  • in_reply_to_user_id: 回复人UID
  • in_reply_to_screen_name: 回复人昵称
  • thumbnail_pic: 缩略图
  • bmiddle_pic: 中型图片
  • original_pic:原始图片
  • user: 作者信息
  • retweeted_status: 转发的博文,内容为status,如果不是转发,则没有此字段
文档更新时间: 2010-10-20