question is solved! answer: add type_ parameter at /post/list endpoint.
example: https://lemmy.world/api/v3/post/list?type_=Local for local posts

  • Admiral Patrick
    link
    fedilink
    English
    6
    edit-2
    11 hours ago

    Use the type_ parameter when calling /api/v3/post/list:

    Local: /api/v3/post/list?type_=Local

    Subscribed /api/v3/post/list?type_=Subscribed

    Local will work without auth, but you will need to pass the auth token for “Subscribed”. Without auth, “Subscribed” is the same as “All”.

    • Igor360OP
      link
      110 hours ago

      thank you very much! :D