Refactor: migrate document run api (#14351)

### What problem does this PR solve?

Before migration: POST /v1/document/run
After migration: POST /api/v1/documents/ingest/

### Type of change

- [x] Refactoring
This commit is contained in:
Jack
2026-04-27 21:25:58 +08:00
committed by GitHub
parent 965717c4fb
commit 49912a156e
9 changed files with 178 additions and 165 deletions

View File

@@ -19,7 +19,7 @@ const {
documentChangeParser,
documentThumbnails,
retrievalTest,
documentRun,
documentIngest,
documentUpload,
webCrawl,
knowledgeGraph,
@@ -47,8 +47,8 @@ const methods = {
url: documentChangeStatus,
method: 'post',
},
documentRun: {
url: documentRun,
documentIngest: {
url: documentIngest,
method: 'post',
},
documentChangeParser: {