Account/get notice

跳转到: 导航, 搜索

目录

account/get_notice

获取用户提醒设置 。

URL

http://api.t.sina.com.cn/account/get_notice.format

格式

xml, json

HTTP请求方式

GET

是否需要登录

True

请求数限制

False

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

请求参数

返回结果:

XML

<?xml version="1.0" encoding="UTF-8"?> <result> <follower>0</follower> <status_type>0</status_type> <from_user>0</from_user> <dm>0</dm> <mention>0</mention> <comment>0</comment> </result>

JSON

{"follower":0,"status_type":0,"from_user":0,"dm":0,"mention":0,"comment":0}

使用示例:

  • xml:

curl -u uid:password http://api.t.sina.com.cn/account/get_notice.xml?source=appkey

  • json:

curl -u uid:password http://api.t.sina.com.cn/account/get_notice.json?source=appkey

文档更新时间: 2010-10-26