mineru-web
  1. analysis
mineru-web
  • analysis
    • 上传pdf
      POST
    • 提交解析任务
      POST
    • 查询解析任务进度
      GET
    • 查询当前正在进行的任务
      GET
    • 获取任务历史记录
      GET
    • 删除历史记录
      DELETE
    • 重新发起任务
      PUT
    • 编辑markdown
      PUT
  1. analysis

编辑markdown

开发中
PUT
/extract/markdown

请求参数

Body 参数application/json
file_key
string 
文件哈希
必需
data
object 
替换数据
必需
页码:要替换的内容
0
string 
必需
示例
{
    "file_key": "d4531b3121738f15b24d92186289417db36f1b12043e0ea796a3d313083416e41726041591",
    "data": {
        "0": "new content"
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://dev-cn.your-api-server.com/extract/markdown' \
--header 'Content-Type: application/json' \
--data-raw '{
    "file_key": "d4531b3121738f15b24d92186289417db36f1b12043e0ea796a3d313083416e41726041591",
    "data": {
        "0": "new content"
    }
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
data
null 
必需
msg
string 
必需
success
boolean 
必需
示例
{"code":200,"data":null,"msg":"success","success":true}
修改于 2024-09-11 11:38:45
上一页
重新发起任务
Built with