Skip to content

fix: 更新附件上传接口以适配最新 Memos API#42

Open
simpread wants to merge 2 commits intoJakeLaoyu:mainfrom
simpread:main
Open

fix: 更新附件上传接口以适配最新 Memos API#42
simpread wants to merge 2 commits intoJakeLaoyu:mainfrom
simpread:main

Conversation

@simpread
Copy link

背景

  • 最新 Memos 文档将附件上传接口从 /resources 调整为 /attachments,导致原代码失效。
  • 需要在创建 memo 后上传附件并关联 memo。

修改内容

  • 将上传接口改为 /api{version}/attachments。
  • 上传附件时增加 memo 字段关联对应 memo。
  • 调整流程:先创建 memo,再上传附件并绑定。

@simpread simpread changed the title [update]修复:更新附件上传接口以适配最新 Memos API Fix: 更新附件上传接口以适配最新 Memos API Jan 18, 2026
@simpread simpread changed the title Fix: 更新附件上传接口以适配最新 Memos API fix: 更新附件上传接口以适配最新 Memos API Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant