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

putPosts

PUT
/shipin/posts
修改图文 (2保存,3提交审核)

Request

Header Params
Authorization
string 
optional
Default:
Bearer {{token}}
Body Params application/json
图文业务对象 sp_posts
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
id
integer <int64>
required
主键
accountId
integer <int64>
optional
关联的帐号id
title
string <string>
required
标题
coverUrl
string <string>
required
封面地址
text
string <string>
required
正文
imageUrls
string <string>
optional
图片地址列表
status
integer <int32>
required
状态(2保存,3提交审核)
publishTime
string <date-time>
optional
发布时间(默认当前时间)
publishTag
string <string>
required
发布标签
Example
{
    "createBy": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "updateBy": "string",
    "updateTime": "2019-08-24T14:15:22Z",
    "params": {
        "property1": {},
        "property2": {}
    },
    "id": 0,
    "accountId": 0,
    "title": "string",
    "coverUrl": "string",
    "text": "string",
    "imageUrls": "string",
    "status": 0,
    "publishTime": "2019-08-24T14:15:22Z",
    "publishTag": "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/posts' \
--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": {}
    },
    "id": 0,
    "accountId": 0,
    "title": "string",
    "coverUrl": "string",
    "text": "string",
    "imageUrls": "string",
    "status": 0,
    "publishTime": "2019-08-24T14:15:22Z",
    "publishTag": "string"
}'

Responses

🟢200OK
application/json
Body
响应信息主体
code
integer <int32>
optional
msg
string 
optional
data
object 
optional
Example
{
    "code": 0,
    "msg": "string",
    "data": {}
}
Modified at 2025-06-17 13:47:03
Previous
查询任务批次列表
Next
generatePosts
Built with