Skip to content

Add federation option to entries and posts API routes #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jwr1 opened this issue Mar 29, 2025 · 0 comments
Open

Add federation option to entries and posts API routes #1528

jwr1 opened this issue Mar 29, 2025 · 0 comments
Labels
api API related issues and pull requests enhancement New feature or request

Comments

@jwr1
Copy link
Member

jwr1 commented Mar 29, 2025

Is your feature request related to a problem? Please describe.
Not necessarily, but I would like to be able to implement a local feed view in Interstellar, which many other Lemmy apps have. Unfortunately, it seems the routes to fetch entries and posts do not yet have the option to filter by federation status (although the magazine API actually does). Here's my related issue: interstellar-app/interstellar#130.

Describe the solution you'd like
I'd just like there to be an option to filter the items returned by these routes by federation status. The GET /api/magazines route, for instance, accepts a federation parameter with options for either all, federated, and local, with the default being all.

@jwr1 jwr1 added api API related issues and pull requests enhancement New feature or request labels Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API related issues and pull requests enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant