mattn / go-mastodon

mastodon client for golang
MIT License
599 stars 85 forks source link

Add support for admin endpoints #148

Open dorianim opened 2 years ago

dorianim commented 2 years ago

Hey there,

it would be great to have support for the /v1/admin endpoints as they are very useful for automated moderation :)

lmas commented 1 year ago

Sort of fuzzily related, I'm missing support for /oauth/revoke too.

@mattn I'd be willing to work on this issue and provide a PR, if you are ok with it.

Edit: Hmm just noticed gotosocial doesn't support the /oauth/revoke endpoint yet, so my request should be put on hold.