{
  "add": {
    "docs": "http://rongcloud.cn/docs/server.html#user_block_add",
    "url": "user/block",
    "params": {
      "user": {
        "id": "aFo990k",
        "minute": 30
      }
    },
    "response": {
      "success": {
        "code": "200",
        "msg": "成功返回"
      },
      "fail": {
        "20004": {
          "code": "20004",
          "msg": "封禁时间不正确, 当前传入为 {{size}}, 正确范围 1 - 1 * 30 * 24 * 60 分钟"
        },
        "20006": {
          "code": "20006",
          "msg": "{{name}} 类型不正确，请检查参数类型,应该为 {{type}} 传入为 {{currentType}}"
        },
        "20005": {
          "code": "20005",
          "msg": "{{name}} 参数为必传项"
        },
        "1004": {
          "code": "20000",
          "msg": "签名错误, 请排查 Appkey、Secret 是否正确"
        },
        "1008": {
          "code": "20001",
          "msg": "调用频率超限，每秒钟限制 100 次，调整频率上限请移步至专有云 http://www.rongcloud.cn/pricing#pay"
        }
      }
    }
  },
  "remove": {
    "docs": "http://rongcloud.cn/docs/server.html#user_unblock",
    "url": "user/unblock",
    "params": {
      "user": {
        "id": "aFo990k"
      }
    },
    "response": {
      "success": {
        "code": "200",
        "msg": "成功返回"
      },
      "fail": {
        "20006": {
          "code": "20006",
          "msg": "minute 参数不正确，请检查参数类型,应该为 number 传入为 {{currentType}}"
        },
        "20005": {
          "code": "20005",
          "msg": "{{name}} 参数为必传项"
        },
        "1004": {
          "code": "20000",
          "msg": "签名错误, 请排查 Appkey、Secret 是否正确"
        },
        "1008": {
          "code": "20001",
          "msg": "调用频率超限，每秒钟限制 100 次，调整频率上限请移步至专有云 http://www.rongcloud.cn/pricing#pay"
        }
      }
    }
  },
  "getList": {
    "docs": "http://rongcloud.cn/docs/server.html#user_block_query",
    "url": "user/block/query",
    "params": {},
    "response": {
      "success": {
        "code": "200",
        "msg": "成功返回"
      },
      "fail": {
        "1004": {
          "code": "20000",
          "msg": "签名错误, 请排查 Appkey、Secret 是否正确"
        },
        "1008": {
          "code": "20001",
          "msg": "调用频率超限，每秒钟限制 100 次，调整频率上限请移步至专有云 http://www.rongcloud.cn/pricing#pay"
        }
      }
    }
  }
}