~~In 0.19.5, they removed the deprecated post_id
tag, and replaced it with the post_ids
array. If you ran that against an instance still running 0.19.4, it should work.~~
This is for posts, not comments, and doesn't affect the comment API.
~~In 0.19.5, they removed the deprecated post_id
tag, and replaced it with the post_ids
array. If you ran that against an instance still running 0.19.4, it should work.~~
This is for posts, not comments, and doesn't affect the comment API.
Thank you for the tip ... but whatever I try with the parameter post_ids
in curl, my instance running 0.19.5 does not recognize the parameter and I receive a list with the latest comments over all posts ... !?
Yeah, you're right. I didn't read enough of the docs. The new field is only for posts, not for comments. It looks like post_id
should still be valid.
Oddly, the endpoint on lemm.el and lemmy.ml return comments:
> curl 'https://lemm.ee/api/v3/comment/list?post_id=45734814' | jq '.comments.[] | .comment.content[:50]'
"Yeah, you're right. I didn't read enough of the do"
"Thank you for the tip ... but whatever I try with "
"~~In 0.19.5, they removed the deprecated `post_id`"
> curl 'https://lemmy.ml/api/v3/comment/list?post_id=21766749' | jq '.comments.[] | .comment.content[:50]'
"Yeah, you're right. I didn't read enough of the do"
"Thank you for the tip ... but whatever I try with "
"~~In 0.19.5, they removed the deprecated `post_id`"
I think it would be better to ask the admin of the instance before creating the issue.
Support / questions about Lemmy.