米克斯
  1. 系统日志
米克斯
  • 训推平台
    • 系统日志
      • 分页查询日志
        POST
      • 获取对应日志的详情
        GET
      • 上报日志
        POST
    • 在线标注界面
      • 获取所有图片的标签信息
    • docker容器管理
      • 拉取镜像
      • 获取镜像列表
    • 获取信息
      GET
    • 获取当前任务构建历史
      POST
    • 获取用户详细信息
      GET
    • 获取所有在线节点的GPU信息
      GET
    • 获取节点信息
      GET
    • 更新Token信息
      GET
    • 获取分类图片
      GET
    • 测试1
      POST
  • 存储服务
    • 创建bucket
      POST
    • 获取bucket列表
      GET
    • 通过用户名创建通行证
      POST
    • 创建认证Token
      GET
  • 下载图片JSON数据
    POST
  1. 系统日志

上报日志

已测完
POST
/system/log/sendLog

请求参数

Header 参数
Authorization
string 
可选
示例值:
{{authorization}}
Body 参数application/json
title
string 
模块标题
必需
operationType
string 
操作类型
必需
requestMethod
string 
请求方式
必需
requestUrl
string 
请求URL
必需
method
string 
方法名称
必需
requestParam
string 
请求参数(JSON格式)
必需
status
string 
* 操作状态 * 0 - 正常 * 1 - 异常
必需
responseResult
string 
响应结果(JSON格式)
必需
errorMsg
string 
错误消息(当status=1时记录)
必需
takeTime
string 
方法执行耗时(毫秒)不带单位
必需
operTime
string 
操作时间
必需
示例
{
    "title": "测试!!!",
    "operationType": "测试用例",
    "requestMethod": "post",
    "requestUrl": "/system/log/findPager",
    "method": "findPager",
    "requestParam": "{'title': '1'}",
    "status": "0",
    "responseResult": "{'data': true}",
    "errorMsg": "",
    "takeTime": "100",
    "operTime": "2025-07-07 00:00:00"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/system/log/sendLog' \
--header 'Authorization: {{authorization}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "测试!!!",
    "operationType": "测试用例",
    "requestMethod": "post",
    "requestUrl": "/system/log/findPager",
    "method": "findPager",
    "requestParam": "{'\''title'\'': '\''1'\''}",
    "status": "0",
    "responseResult": "{'\''data'\'': true}",
    "errorMsg": "",
    "takeTime": "100",
    "operTime": "2025-07-07 00:00:00"
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
null 
必需
msg
string 
必需
token
null 
必需
data
null 
必需
params
null 
必需
示例
{
    "success": true,
    "code": null,
    "msg": "日志添加成功",
    "token": null,
    "data": null,
    "params": null
}
修改于 2025-07-07 05:38:18
上一页
获取对应日志的详情
下一页
获取所有图片的标签信息
Built with