Rest api support for rollback or revert a commit

Hello, We are planning use gitea in our project. rest apis looks promising. (Gitea API)
I could not find rest api for rollback or revert a commit …
could you please with that .
Is there any rest api exposed for reverting or rolling back a commit ?

You can use git to do those things.

Thanks for reply…
yeah… direct git commands I can use…
but we are looking to use gitea via API from a different GUI…

so is any api available for the rollback or revert. Incase not available right now, is it in road map item or in any future version we can expect it ?

No API could do that currently.