作业管理系统 - 软件著作方向
  1. Schemas
作业管理系统 - 软件著作方向
  • v1 版本
    • 认证管理
      • 用户登录
      • 刷新令牌
      • 获取当前用户信息
      • 验证 Access Token 是否有效
    • 班级管理
      • 获取指定班级详情
      • 获取班级列表
      • 创建新班级
      • 更新班级信息
      • 删除班级
    • 班级成员管理
      • 获取班级用户列表
      • 邀请码加入班级
      • 获取班级指定学生信息
      • 更新班级用户信息
      • 删除班级指定用户
    • 作业管理
      • 获取作业
      • 创建作业
      • 获取作业详情
      • 更新作业
      • 删除作业
    • 作业提交管理
      • 获取作业提交列表
      • 提交作业
      • 导出提交统计
      • 获取提交详情
      • 批改作业
    • 文件管理
      • 上传文件
      • 下载文件
    • 用户管理
      • 获取用户
      • 获取用户列表
      • 创建用户
      • 更新用户信息
      • 删除用户
    • 系统管理
      • 获取系统设置
      • 更新系统设置
      • 获取系统日志
  • 数据模型
    • Schemas
      • ApiResponse
      • ErrorResponse
      • User
      • UserProfile
      • Class
      • ClassUser
      • Homework
      • Submission
      • Feedback
      • FileAttachment
      • Pagination
      • SystemSettings
      • SystemLog
  1. Schemas

Submission

{
    "id": 0,
    "homework_id": 0,
    "homework": {
        "id": 0,
        "title": "string",
        "content": "string",
        "deadline": "2019-08-24T14:15:22.123Z",
        "max_score": 100,
        "allow_late_submission": false,
        "attachments": [
            "string"
        ],
        "submission_count": 0,
        "created_by": {
            "id": 0,
            "username": "string",
            "role": "user",
            "email": "user@example.com",
            "status": "active",
            "profile": {
                "profile_name": "string",
                "avatar_url": "string"
            },
            "created_at": "2019-08-24T14:15:22.123Z",
            "last_login": "2019-08-24T14:15:22.123Z"
        },
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z"
    },
    "student_id": 0,
    "student": {
        "id": 0,
        "username": "string",
        "role": "user",
        "email": "user@example.com",
        "status": "active",
        "profile": {
            "profile_name": "string",
            "avatar_url": "string"
        },
        "created_at": "2019-08-24T14:15:22.123Z",
        "last_login": "2019-08-24T14:15:22.123Z"
    },
    "content": "string",
    "attachments": [
        {
            "submission_token": "string",
            "file_name": "string",
            "size": 0,
            "content_type": "string",
            "uploaded_at": "2019-08-24T14:15:22.123Z"
        }
    ],
    "submitted_at": "2019-08-24T14:15:22.123Z",
    "status": "submitted",
    "score": 0,
    "feedback": {
        "content": "string",
        "graded_by": {
            "id": 0,
            "username": "string",
            "role": "user",
            "email": "user@example.com",
            "status": "active",
            "profile": {
                "profile_name": "string",
                "avatar_url": "string"
            },
            "created_at": "2019-08-24T14:15:22.123Z",
            "last_login": "2019-08-24T14:15:22.123Z"
        },
        "graded_at": "2019-08-24T14:15:22.123Z"
    },
    "is_late": true,
    "has_feedback": true
}
Built with