一括編集の取り消し(一括元に戻し)

こんにちは、
当フォーラムで編集を行うボットがいます。たまにひどい編集をしてしまうため、それらすべてを元に戻し、ボットのデバッグを行ってから再度起動したいと考えています。
そのようなユーザーによる大量の編集を一度に元に戻すことは可能でしょうか?

What kind of bot is this, and who wrote it? You?

Yes, I wrote the bot.
It’s a bot that does formating edits on posts by API.

That sounds like a good feature to add to your bot!

The best way to debug is to take a backup before the bot runs and restore the backup of it misbehaved. Failing that, you’ll need to find a way to select to posts that need reverting and then revert them.

Is there any way to revert them by API?

Yes! See How to reverse engineer the Discourse API