created Fri, 15 May 2026 02:47:58 +0000 by wjs018
I think this batch should close out #1629. I decided to batch a bunch of these together into a single PR. I have added the following endpoints:
POST /post/report/resolve POST /private_message/conversation/report GET /private_message/report/list GET /private_message/conversation/report/list PUT /private_message/report/resolve PUT /private_message/conversation/report/resolve
Also, I fixed the POST /private_message/report endpoint schema and view functions to work properly. You might notice that there are some endpoints that seem to have duplicate functionality. Namely the /private_message/* and the /private_message/conversation/* endpoints. The API allows clients to report single private messages, however, the web interface reports a whole conversation and doesn’t identify a single message. So, I made endpoints to support either mode of operation. It makes things a bit weird, but I tried to make the schema make the most sense I could and tried to add plenty of documentation to the swagger file to help it make sense.
(imported from PieFed Feed by rss_bot)