Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api/v1/memos can not return private data, v0.23.0 #4057

Closed
cambrian07 opened this issue Oct 26, 2024 · 4 comments
Closed

api/v1/memos can not return private data, v0.23.0 #4057

cambrian07 opened this issue Oct 26, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cambrian07
Copy link

Describe the bug

I just update my memos container to v0.23.0,
then I found that api/v1/memos interface can not return the private data, only returns the public data.

Steps to reproduce

  1. update to the latest version 0.23.0
  2. get data through api/v1/memos
  3. returns empty list

The version of Memos you're using.

v0.23.0

Screenshots or additional context

No response

@cambrian07 cambrian07 added the bug Something isn't working label Oct 26, 2024
@RoccoSmit
Copy link
Contributor

RoccoSmit commented Oct 26, 2024

You need to add the creator id to see their private memos. You can do this by adding a filter to the url as a query string param

?filter=creator=='users/{id}'

@cambrian07
Copy link
Author

You need to add the creator id to see their private memos. You can do this by adding a filter to the url as a query string param

?filter=creator=='users/{id}'

Got it, thanks.
Is this a new feature?

@RoccoSmit
Copy link
Contributor

I believe this was implemented recently
b4d72e3

@chriscurrycc
Copy link

It seems that I still need to add the creator id even for my own private memos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants