GiantWaveAI(API Docs 2.1)
  1. Video
GiantWaveAI(API Docs 2.1)
  • API Docs
  • Giantwave AI
    • Video
      • updateVideo
        PUT
      • createVideo
        POST
      • getVideoInfomation
        GET
      • getVideoList
        GET
    • TTSTmp
      • getTtsTemplateInfo
      • getTtsTempalteList
    • Template
      • 获取模板详细信息
      • 查询模板列表
    • Task
      • 新增任务
      • 修改任务
      • 任务状态回退
      • 获取任务详细信息
      • 查询任务列表
    • TaskBatch
      • 创建任务
      • 获取任务批次详细信息
      • 查询任务批次列表
    • post
      • putPosts
      • generatePosts
      • getPostsByTask
      • getPosts
      • getPostsList
    • material
      • getMaterial
      • getMaterialList
    • materialMark
      • 批量修改素材个性标注
      • 导出素材个性标注列表
      • 获取素材个性标注详细信息
      • 查询素材个性标注列表
      • 删除素材个性标注
    • materialLib
      • 获取素材库详细信息
      • 查询素材库列表
    • digitalHuman
      • putDigitalHumanTemplate
      • getDigitalHumanTemplate
      • getDigitalHumanTemplateList
    • GiantWave_material
      • 分页查询素材列表
  • login
    POST
  1. Video

updateVideo

PUT
/shipin/video
修改视频

Request

Header Params
Authorization
string 
optional
Default:
Bearer {{token}}
Body Params application/json
视频业务对象 sp_video
createBy
string <string>
optional
创建者
createTime
string <date-time>
optional
创建时间
updateBy
string <string>
optional
更新者
updateTime
string <date-time>
optional
更新时间
params
object 
optional
请求参数
Additional properties
object 
optional
videoId
integer <int64>
required
主键
taskId
integer <int64>
optional
任务id
videoName
string <string>
required
视频名称
videoUrl
string <string>
required
视频地址
videoTitle
string <string>
required
视频标题
videoTag
string <string>
required
视频标签,空格分隔,例:#丧失 #解压
Match pattern:
^#\S+(\s+#\S+)*\s*#?$
videoRemark
string <string>
required
视频描述
articleTag
string <string>
optional
文案标签
taskBatchId
integer <int64>
required
任务批次id
auditStatus
string <string>
optional
审核状态(0=待审核、1=审核通过、2=不通过、3=异常、4=作废)
Match pattern:
^[0-4]$
publishStatus
string <string>
optional
发布标注(空表示未审核成功,0=未发布、1=已发布)
publishPlatform
string <string>
optional
发布平台
Example
{
    "createBy": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "updateBy": "string",
    "updateTime": "2019-08-24T14:15:22Z",
    "params": {
        "property1": {},
        "property2": {}
    },
    "videoId": 0,
    "taskId": 0,
    "videoName": "string",
    "videoUrl": "string",
    "videoTitle": "string",
    "videoTag": "string",
    "videoRemark": "string",
    "articleTag": "string",
    "taskBatchId": 0,
    "auditStatus": "string",
    "publishStatus": "string",
    "publishPlatform": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://192.168.2.91:8080/shipin/video' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "createBy": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "updateBy": "string",
    "updateTime": "2019-08-24T14:15:22Z",
    "params": {
        "property1": {},
        "property2": {}
    },
    "videoId": 0,
    "taskId": 0,
    "videoName": "string",
    "videoUrl": "string",
    "videoTitle": "string",
    "videoTag": "string",
    "videoRemark": "string",
    "articleTag": "string",
    "taskBatchId": 0,
    "auditStatus": "string",
    "publishStatus": "string",
    "publishPlatform": "string"
}'

Responses

🟢200OK
application/json
Body
响应信息主体
code
integer <int32>
optional
msg
string 
optional
data
object 
optional
Example
{
    "code": 0,
    "msg": "string",
    "data": {}
}
Modified at 2024-08-28 16:00:27
Previous
API Docs
Next
createVideo
Built with