DYH云

DYH开放接口


试卷提交

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>试卷问题提交</li> </ul> <h5>请求URL</h5> <ul> <li><code>api/job.answer/shortVideoSubmit</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <p>每个Question 都需要提交一次</p> <pre><code>{ {     "paperId": "962",     "contestId": "1445",     "step": "shortVideoSplitter", #模块名称     "questionId": 38878, #问题ID     "answer" : "https://409-cn-north-4.cdn-vod.huaweicloud.com/asset/c93f86bc3602e1fdb6efee618d8155e7/e749f95923ca02920136c91417f35585.mp4" #视频 } }</code></pre> <h5>返回示例</h5> <pre><code>{     "code": 20000,     "msg": "success",     "time": "2022-05-19 15:14:14",     "data": {         "process": true #为true时说明所有问题都已经提交过了     } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML