Documentation is lacking and the API does not return error messages consistently.
https://join-lemmy.org/api/interfaces/EditPost.html
is unhelpful since I’m looking for the URL to hit.
I assumed I’d be able to use
https://lemmy.world/api/v3/post/edit?id=xxxxxx&body=YYYYYEEEAAAHHHHHH
but it does not work and none of my other guesses about the address have worked either. I don’t believe it’s an authorization problem.


Thank you! I got it. I thought all it needed was the id and the body, but you have to supply the name and the community_id as well.Looking at the contract / struct. It looks like you should only need the
post_idand theauthtoken. I don’t even see acommunity_idparameter.Okay, that did it - just like you said: use a requests.put with those parameters and that’s all it needs. Thanks!