MyHomeware SEO 看板 · 业务参考文档 ← 全部文档打开线上页面 ↗

Editor API 接口

页面地址:/pages/editor-api · 站点:mhw.schwuaclawai.top

鉴权

需登录 Session(requireLogin())。导出任务 token 绑定 session_id。

公共参数

module = keywords | tdh | content | internal | infohub | internal_logs | infohub_logs

接口一览

action方法说明
listGETsearch, after_id, limit → rows, has_more
getGETkeyword_id → data
savePOSTJSON body → ok, keyword_id
templateGET下载 xlsx 模板
import_previewPOSTmultipart file → preview_token, headers, preview_rows
import_confirmPOSTpreview_token → imported, errors
import_cancelPOST清除暂存
export_startGET→ job_id, token
export_statusGETjob_id, token → status, progress
export_downloadGET完成后下载 xlsx(一次性删除)

关键词导入同步选项

POST import_preview 时可带:sync_tdh, sync_content, sync_internal, sync_infohub 及各 executor / planned_finish 字段,导入新词时自动创建子表行。