弹题

弹题列表

GET /question_marker

权限

  • 需要认证

请求参数

名称 位置 类型 必选 说明
id query string false 视频任务id

响应

[
  {
    "id": 1,
    "second": 222,
    "mediaId": 727,
    "questionMarkers": [
      {
        "id": "1",
        "markerId": "1",
        "questionId": "1",
        "seq": "1",
        "type": "single_choice|choice|essay|uncertain_choice|determine",
        "stem": "这是题干",
        "analysis": "这是解析",
        "ansewe": [
          "1"
        ],
        "metas": {
          "choices": [
            "<p>1</p>\r\n"
          ]
        },
        "difficulty": "normal",
        "done": true
      }
    ]
  }
]

题目结果检查

POST /question_result_check

权限

  • 需要认证

请求

{
  "questionMarkerId": "1",
  "taskId": "1",
  "answer": [
    "1"
  ]
}

参数说明

名称 类型 必选 约束 说明
» questionMarkerId integer(int64) false none 题目id
» taskId string false none 任务id
» answer int false none 答案0,1,2,3表示A,B,C,D, 判断题0错误,1正确

响应

{
    "checkStatus": "wrong"
}

参数说明

名称 类型 必选 约束 说明
» checkStatus string false none 正确:right,错误:wrong

弹题结果列表&题目解析

GET /question_marker/{id}/result

权限

  • 需要认证

请求参数

名称 位置 类型 必选 说明
id query string false 视频任务id

响应

{
  "isFinished": true,
  "list": [
    {
      "second": "10",
      "num": 10,
      "rightNum": 5
    }
  ],
  "questionsDetail": [
    {
      "id": "1",
      "second": "10",
      "questionMarkers": [
        {
          "id": "1",
          "markerId": "1",
          "questionId": "1",
          "type": "single_choice|choice|essay|uncertain_choice|determine",
          "stem": "这是题干",
          "answer": [
            "1"
          ],
          "analysis": "这是解析",
          "status": "right|wring|partRight",
          "metas": {
            "choices": [
              "<p>1</p>\r\n"
            ]
          },
          "myAnswer": [
            "1"
          ]
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""