question is solved! answer: add type_ parameter at /post/list endpoint.
example: https://lemmy.world/api/v3/post/list?type_=Local for local posts
question is solved! answer: add type_ parameter at /post/list endpoint.
example: https://lemmy.world/api/v3/post/list?type_=Local for local posts
2 Comments
ptz@dubvee.org · 6 pts · 1y
Use the
type_parameter when calling/api/v3/post/list:Local:
/api/v3/post/list?type_=LocalSubscribed
/api/v3/post/list?type_=SubscribedLocal will work without auth, but you will need to pass the auth token for "Subscribed". Without auth, "Subscribed" is the same as "All".
okelote360@lemmy.world · 1 pts · 1y
thank you very much! :D