Skip to content

account.update notify num

lisztli edited this page Apr 23, 2012 · 1 revision

#POST /account/update_notify_num

向饭否更新当前app上的新提醒数量

这个数字会在http://fanfou.com/settings/apps 应用名字后面用括号标示

##路径

http://api.fanfou.com/account/update_notify_num.[json|xml]

##调用方法

POST

##参数:

###notify_num

  • 作用: 新提示的数量

  • 格式: notify_num=notify_num

  • 字段说明: 必选

##限制条件

用户登录

##返回结果

###成功

返回提醒的详细信息

  • HTTP Status Code

    200 OK HTTP/1.1

  • 返回值

    • json格式

      json格式解释请见下方示例

##示例

POST http://api.fanfou.com/account/update_notify_num.json -d"notify_num=5"

{
    "result": "ok",
    "notify_num": 5
}
Clone this wiki locally