DYH云

DYH开放接口


试卷CURD

简要描述
  • 短视频分镜试卷curd
请求URL

-POST {{BASE_URL}}/api/job.paper/addLivePaperAndQuestion 添加 -POST {{BASE_URL}}/api/job.paper/editLivePaperAndQuestion 编辑 -DELETE {{BASE_URL}}/api/job.paper/del/ids/1,2,3 删除

请求参数
添加试卷

type 范围在 1 - 13 之间 由用户自己选择 每个type对应的内容是表格中的拍摄内容 type对应表格的镜号 [短视频拍摄9.5(1).xlsx](https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=1be5cfb8569d05a3254dedc5d881a74b "[短视频拍摄9.5(1).xlsx")

{
    "step": "shortVideoSplitterV2", # 短视频分镜V2 /固定值
    "name": "短视频分镜",
    "background": "我是背景资料",
    "questionList": [
        {
            "type": 4, # 拍摄手法
            "question": "问题标题标题", # 问题标题
            "tag": 1,
            "option" : {
                "positive":"图片url", #正面图
                "left":"图片url", #左侧图
                "right":"图片url", #右侧图
                "back":"图片url", #背面图
                "leftPositive":"图片url", #左正面图
                "rightPositive":"图片url", #右正面图
                "leftBaock":"图片url", #左背面图
                "rightBaock":"图片url", #右背面图
            },
            "keywords": "",
            "keywordScore": 0,
            "score": 5, # 分数
            "pointKeywords": "",
            "images":"图片",
            "video":"背景视频",
            "duration":"视频录制时长",
        },
        ......
    ]
}
编辑
        "paperId": 962,
        "platformId": 527,
        "step": "shortVideoSplitterV2",
        "video": "",
        "name": "短视频分镜",
        "background": "我是背景资料",
        "score": "5.00",
        "belongs": 1,
        "type": 0,
        "formatType": 0,
        "language": "",
        "extra": [],
        "status": 1,
        "addTime": "2022-05-18 10:05:45",
        "updateTime": "2022-05-18 10:05:46",
        "knowledge": "",
        "goodsIds": "",
        "questionList": [
            {
                "questionId": 38878,
                "question": "问题标题标题",
                "type": 4,
                "score": "5.00",
                "keywordScore": "0.00",
                "subjectiveScore": "0.00",
                "jobQuestionId": 38878,
                "option": {
                    "positive": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/5df7c859619e6a864e619bfec944225f.jpg",
                    "left": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/eaa60bba89269c639c11830e89ba02a0.jpg",
                    "right": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/0355381f90f86469b4bab9a864736458.jpg"
                },
                "paperQuestionId": 7186,
                "goodsId": "0",
                "duration": 0,
                "part": 0,
                "tag": "1",
                "desc": "",
                "pid": null,
                "extra": null,
                "answer": "",
                "keywords": "",
                "tagText": "默认",
                "options": {
                    "positive": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/5df7c859619e6a864e619bfec944225f.jpg",
                    "left": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/eaa60bba89269c639c11830e89ba02a0.jpg",
                    "right": "https://vvod.obs.cn-north-4.myhuaweicloud.com/202205/17/0355381f90f86469b4bab9a864736458.jpg"
                }
            }
        ]
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML