跳到主要内容

Upload Batch

POST 

/api/v1/upload-batch

Upload multiple documents (epub/pdf/md/txt) and create a wiki per file.

Per-file failures (bad format, oversize, service error) are recorded in the result list and do not abort the rest of the batch. wiki_name is always derived from the filename — callers cannot inject it. Content-hash dedup is handled by submit_book, so re-uploading identical bytes clones instantly.

Request

Responses

Successful Response