I’ve seen these posts
But actually I haven’t been able to figure out exactly how to get the posts a user has made in lemmy. I’ve seen this page but I think this is for a different lemmy instance, I’m not sure https://join-lemmy.org/api/interfaces/GetPosts.html
Can anyone point me to a documentation on how to make this?
You can see the URL and request body from LemmyHttp class method docs: https://join-lemmy.org/api/classes/LemmyHttp.html#getPosts
I really do not like these docs and find it extremely confusing for anyone not using Javascript. For example that “form” parameter that’s on almost everything, doesn’t even exist and can’t be used when you’re using curl, but it doesn’t tell you that.
These docs are for latest Lemmy version so you may experience some mismatches with a legacy instance but I didn’t see something like that so far.
TBH I find the docs very easy. It’s about JS documentation familiarity I guess.