this post was submitted on 30 Jun 2023
4 points (100.0% liked)
Lemmy App Development
762 readers
8 users here now
A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.
On-Topic:
- programming questions related to the Lemmy platform
- sharing your ideas, WIP, or released Lemmy-related work
Off-Topic:
- general programming questions unrelated to Lemmy
- feature requests for developers
- sharing or promoting work not related to Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
To be clear, I checked twice that my limit and page parameters are correct. I request page 0 with limit 10 and get nothing, while the post counts clearly say there are multiple comments and while the web interface shows them normally. Very weird
Lemmy API starts at page 1, page 0 is invalid?
curl "https://lemmy.ca/api/v3/post/list?limit=2&page=1"
curl "https://lemmy.ca/api/v3/comment/list?post_id=648889&type_=All&limit=2&page=1"
page=0 returns {"error":"couldnt_get_posts"} (or comments)
I meant page 1, sorry