this post was submitted on 02 Feb 2025
7 points (100.0% liked)

Lemmy Apps

5744 readers
8 users here now

A home for discussion of Lemmy apps and tools for all platforms.

RULES:


An extensive list of Lemmy apps is available here:

LemmyApps.com

or lemmyapps.netlify.app


Visit our partner Communities!

Lemmy Plugins and Userscripts is a great place to enhance the Lemmy browsing experience. [email protected]

Lemmy Integrations is a community about all integrations with the lemmy API. Bots, Scripts, New Apps, etc. [email protected]

Lemmy Bots and Tools is a place to discuss and show off bots, tools, front ends, etc. you’re making that relate to lemmy. [email protected]

Lemmy App Development is a place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform. [email protected]

founded 2 years ago
MODERATORS
 

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

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

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".

[–] okelote360 1 points 2 weeks ago

thank you very much! :D