歌者 Open API
开发文档歌者首页
开发文档歌者首页
  1. 演示文稿防盗指纹
  • 接入指引
  • 账号授权
  • 错误码说明
  • 演示文稿渲染
    • 费用说明
    • 创建渲染任务
      POST
    • 查询任务详情
      GET
    • 删除一个任务
      DELETE
  • 演示文稿翻译
    • 翻译流程说明
    • 费用说明
    • 创建翻译任务
      POST
    • 查询翻译任务
      GET
    • 删除翻译任务
      DELETE
    • 获取翻译对比
      GET
    • 提交修改后翻译的内容
      PUT
    • 获取下载地址
      GET
  • 演示文稿内容提取
    • 费用说明
    • 创建内容提取任务
      POST
    • 查询任务详情
      GET
    • 删除一个任务
      DELETE
  • 智能生成 PPT
    • 费用说明
    • 格式说明
    • 创建无损排版任务
      POST
    • 查询无损排版任务
      GET
    • 模板列表
      GET
  • 格式转换
    • 费用说明
    • 新建转换任务
    • 查询转换任务
  • PPT 导出为可播放的 HTML
    • 费用说明
    • 创建导出任务
    • 查询导出任务
  • 演示文稿压缩
    • 费用说明
    • 新建压缩任务
    • 查看压缩任务
  • 演示文稿防盗指纹
    • 费用说明
    • 添加防盗指纹
      POST
    • 校验防盗指纹
      POST
  • 演示文稿切分和合并
    • 演示文稿切分
    • 演示文稿合并
  • 彩漩阅读数据
    • 文档阅读者列表
    • 阅读列表
  1. 演示文稿防盗指纹

校验防盗指纹

POST
https://api.gezhe.com/v1/certs/checks

请求参数

Body 参数multipart/form-data
file
string 
可选
直接上传文件,需小于 30M,(file/fileURL 必须二选一,不能同时为空,也不能同时有值),支持 pptx格式文件
fileURL
string 
可选
文件访问 URL,需小于 500M,(file/fileURL 必须二选一,不能同时为空,也不能同时有值),支持 pptx 格式文件
notifyURL
string 
可选
接受任务状态变更的回调地址

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gezhe.com/v1/certs/checks' \
--form 'file=""' \
--form 'fileURL=""' \
--form 'notifyURL=""'

返回响应

🟢200成功
application/json
Body
id
string 
任务 ID
必需
name
string 
文件名称
必需
status
string 
必需
isSync
boolean 
必需
userId
string 
必需
errorCode
null 
必需
errorMsg
null 
必需
target
array[string]
必需
creatorId
string 
必需
notifyURL
null 
必需
notifyCount
integer 
必需
createdAt
string 
必需
updatedAt
string 
必需
certs
array [object {13}] 
防盗指纹列表
必需
查询到的防盗指纹列表,如果没有当前用户添加的防盗指纹,则会空数组
userId
string 
可选
id
string 
可选
name
string 
可选
status
string 
可选
isSync
boolean 
可选
extra
string 
可选
creatorId
string 
可选
notifyURL
null 
可选
notifyCount
integer 
可选
createdAt
string 
可选
updatedAt
string 
可选
errorCode
null 
可选
errorMsg
null 
可选
示例
{
  "userId": "UR5ynd8",
  "id": "UR5ynd8S2501062lNbEn",
  "name": "XXX 发布会.pptx",
  "status": "done",
  "isSync": true,
  "errorCode": null,
  "errorMsg": null,
  "target": [
    "UR5ynd8S250106pZHMuh"
  ],
  "creatorId": "WwMezp0D",
  "notifyURL": null,
  "notifyCount": 0,
  "createdAt": "2025-01-06T06:12:42.000Z",
  "updatedAt": "2025-01-06T06:12:43.000Z",
  "certs": [
    {
      "userId": "UR5ynd8",
      "id": "UR5ynd8S250106pZHMuh",
      "name": "XXX 发布会.pptx",
      "status": "done",
      "isSync": true,
      "errorCode": null,
      "errorMsg": null,
      "extra": "{'text':'Hello world'}",
      "creatorId": "WwMezp0D",
      "notifyURL": null,
      "notifyCount": 0,
      "createdAt": "2025-01-06T06:07:26.000Z",
      "updatedAt": "2025-01-06T06:07:27.000Z"
    }
  ]
}
上一页
添加防盗指纹
下一页
演示文稿切分
Built with