How should I use the filter in the V2 version of the api #3149
-
As an example, when I access /api/v2/memos, I want to filter the list of public memos for a certain user. How should I use filter to achieve this function? I really don't know how to write the filter field |
Beta Was this translation helpful? Give feedback.
Answered by
lincolnthalles
Mar 28, 2024
Replies: 1 comment 1 reply
-
The filter syntax is a little annoying and it requires proper URI encoding. See Explore.tsx. I've just updated a user script that shows a random memo button that also depends on this API. You can check it in this gist. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Robert-Stackflow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The filter syntax is a little annoying and it requires proper URI encoding.
See Explore.tsx.
I've just updated a user script that shows a random memo button that also depends on this API. You can check it in this gist.