usememos / dotcom

https://www.usememos.com website
https://www.usememos.com
24 stars 48 forks source link

Documentation need to be updated: code = InvalidArgument desc = filter is required #70

Closed kyxap closed 4 months ago

kyxap commented 4 months ago

Describe the bug

Seems like curl example need to be update.

Also wound be nice to have some documentation published for the service api

Steps to reproduce

  1. Go to https://www.usememos.com/docs/security/access-tokens
  2. Try to use curl example
  3. See output
curl https://demo.usememos.com/api/v1/memos    -H "Accept: application/json"    -H "Authorization: Bearer {YOUR_ACCESS_TOKEN}"
{"code":3, "message":"failed to build find memos with filter: rpc error: code = InvalidArgument desc = filter is required", "details":[]}

The version of Memos you're using

0.22.0

Screenshots or additional context

image

boojack commented 4 months ago

The filter will be required when user not logged in, so you may have entered an incorrect access token.

References: