Replies: 6 comments 4 replies
-
部分api不需要密钥就能使用,感觉存在数据泄露风险呢 |
Beta Was this translation helpful? Give feedback.
-
LGTM |
Beta Was this translation helpful? Give feedback.
-
请问获取token的api有嘛 |
Beta Was this translation helpful? Give feedback.
-
v0.13.1里openapi似乎不起作用?/api/memo只能拉取到公开的memos |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
请问怎么通过API获取已有的主题后选择当前主题修改追加内容提交呢 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://immmmm.com/memos-api-description/
官方源码见:https://github.com/usememos/memos/tree/main/server
Memos 条数
路径:
api/memo/amount
总条数
指定用户
参数:
userId
或openId
早期个人的ID为
101
,现在新创建默认为1
时间戳列表
路径:
api/memo/stats
指定用户(必选)
参数:
creatorId
RSS 输出接口
路径:
/u/:id/rss.xml
Memos 列表
路径:
/memo
或/memo/all
前者需要指定参数
creatorId
总列表
指定标签
参数:
tag
指定条数
参数:
limit
指定偏移
参数:
offset
调取部分 Memos
参数:
rowStatus
加上
rowStatus=NORMAL
不用调取在归档里的 Memos 。Open API
参数:
openId
个人 Memos 总数
个人标签列表
路径:
api/tag
内置资源列表
路径:
api/resource
资源链接格式
网址+
o/r/
+resourceId/
+filename
,如:发 Memos
参数:
content
参数:
visibility
PUBLIC
(公开)PRIVATE
(仅自己)PROTECTED
(登录可见)参数:
resourceIdList
Beta Was this translation helpful? Give feedback.
All reactions