memos
memos copied to clipboard
[Bug] Can not get resources when listing memos
Describe the bug
there is no resource in list. but i can get resource list by https://memos.foolishfox.cn/api/v1/memos/91/resources
Steps to reproduce
as above
The version of Memos you're using.
v0.23.0
Screenshots or additional context
No response
v0.23.0通过api获取的json文件中"nodes": [], "resources": [], "snippet": "" 三个都为空。v0.22.5中有对应信息。主要是由于resources项的缺失,靠外部工具解析json文件没办法获取包含图片在内的资源文件的信息了。不知为何做此修改?
Issue is not in English. It has been translated automatically.
In the json file obtained through the api in v0.23.0, "nodes": [], "resources": [], "snippet": "" are all empty. There is corresponding information in v0.22.5. Mainly due to the lack of the resources item, it is impossible to obtain information about resource files including images by parsing json files with external tools. I don’t know why this change was made?
v0.23.0通过api获取的json文件中"nodes": [], "resources": [], "snippet": "" 三个都为空。v0.22.5中有对应信息。主要是由于resources项的缺失,靠外部工具解析json文件没办法获取包含图片在内的资源文件的信息了。不知为何做此修改?
Yes, it's a good project, but the API changes too frequently and there is no complete documentation.
频繁改动API不是个好的做法
Issue is not in English. It has been translated automatically.
Frequent API changes are not a good idea
because of the API changes, the Android APP cannot obtain resources and display them normally. @boojack
根据https://github.com/usememos/memos/issues/4179 的官方回复,添加 &view=MEMO_VIEW_FULL参数可以像旧版本一样获取完整信息。
https://demo.usememos.com/api/v1/memos?pageSize=100&filter=visibilities == ['PUBLIC'] && creator == 'users/1'&view=MEMO_VIEW_FULL
@YiHui-Liu @jkjoy
Issue is not in English. It has been translated automatically.
According to the official reply at https://github.com/usememos/memos/issues/4179, adding the &view=MEMO_VIEW_FULL parameter can get complete information like the old version.
https://demo.usememos.com/api/v1/memos?pageSize=100&filter=visibilities == ['PUBLIC'] && creator == 'users/1'&view=MEMO_VIEW_FULL
@YiHui-Liu @jkjoy
根据#4179 的官方回复,添加 &view=MEMO_VIEW_FULL参数可以像旧版本一样获取完整信息。
https://demo.usememos.com/api/v1/memos?pageSize=100&filter=visibilities == ['PUBLIC'] && creator == 'users/1'&view=MEMO_VIEW_FULL
@YiHui-Liu @jkjoy
收到
Issue is not in English. It has been translated automatically.
According to the official reply of #4179, adding the &view=MEMO_VIEW_FULL parameter can get the complete information like the old version.
https://demo.usememos.com/api/v1/memos?pageSize=100&filter=visibilities == ['PUBLIC'] && creator == 'users/1'&view=MEMO_VIEW_FULL
@YiHui-Liu @jkjoy
receive
根据#4179 的官方回复,添加 &view=MEMO_VIEW_FULL参数可以像旧版本一样获取完整信息。
https://demo.usememos.com/api/v1/memos?pageSize=100&filter=visibilities == ['PUBLIC'] && creator == 'users/1'&view=MEMO_VIEW_FULL
@YiHui-Liu @jkjoy
好的,成功解决了,十分感谢。 OK, this helps me solve the issue, Thanks a lot!