Account/get notice
(→XML) |
(→account/get_notice) |
||
(未显示1个用户的5个中间版本) | |||
第2行: | 第2行: | ||
获取用户提醒设置 。 | 获取用户提醒设置 。 | ||
− | {{api_url|account/ | + | {{api_url|account/get_notice}} |
{{api_format|xml, json}} | {{api_format|xml, json}} | ||
第22行: | 第22行: | ||
</result> | </result> | ||
− | ==== | + | ====JSON==== |
{"follower":0,"status_type":0,"from_user":0,"dm":0,"mention":0,"comment":0} | {"follower":0,"status_type":0,"from_user":0,"dm":0,"mention":0,"comment":0} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===使用示例: === | ===使用示例: === | ||
* xml: | * xml: | ||
− | curl -u uid:password http://api.t.sina.com.cn/account/ | + | curl -u uid:password http://api.t.sina.com.cn/account/get_notice.xml?source=appkey |
* json: | * json: | ||
− | curl -u uid:password http://api.t.sina.com.cn/account/ | + | curl -u uid:password http://api.t.sina.com.cn/account/get_notice.json?source=appkey |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
2010年10月26日 (二) 11:50的最后版本
目录 |
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