Thread:Noreplyz/@comment-26823411-20190424182317/@comment-5811199-20190425001544

Hi there! There's an unofficial API that can be used, but unfortunately the documentation is private.

You can take a look at w:c:dev:MediaWiki:DiscussionsRC.js (specifically getPosts and getThread) for getting posts/threads, and there are ways to use the API to lock and delete posts.

I'd have to look them up, but one way to find out is to use the Network tab and see the API calls used when you close or lock a thread.