Skip to content

用户错误报告服务端实现

fushang318 edited this page Feb 17, 2014 · 16 revisions

HTTP API

  API名称: 程序异常的提交
  使用范围: 被移动客户端调用

  请求:
    url: /api/sbmit_exception
    请求类型: POST
    参数:
      version: x.x.x # 当前客户端软件版本号
      datetime: 201402171432 # 2014/2/17 14:32
      user_id:  xx  
      device_name: xx
      sdk_version: xx
      os_release_version: xx
      other_device_info: json_str
      exception_type: xx
      exception_stack: xx

  后台处理:
    记录传递过来的数据到 mongodb 的数据表

  响应:
    HTTP status:200
    空字符串

服务端模型设计

Clone this wiki locally