Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Admin Accounts API (Part 1/2) #323

Closed
andregasser opened this issue Nov 3, 2023 · 1 comment · Fixed by #404
Closed

Implement Admin Accounts API (Part 1/2) #323

andregasser opened this issue Nov 3, 2023 · 1 comment · Fixed by #404
Assignees
Labels
enhancement New feature or request

Comments

@andregasser
Copy link
Owner

Mastodon's Admin Accounts API allows an admin to perform moderation action with accounts. The goal of this task is to implement the following endpoints of this API in BigBone:

  • View accounts (v1)
  • View accounts (v2)
  • View a specific account
  • Approve a pending account
  • Reject a pending account

The Admin Accounts API as it is documented by Mastodon can be found here:
https://docs.joinmastodon.org/methods/admin/accounts/

Tip: A lot of other endpoints similar to this have already been implemented. In order to get an idea how to implement this, I suggest that you study the code upfront. Start with one of the *Methods.kt files.

Please consult the following documents to make sure your contribution meets our projects criteria:

@andregasser andregasser added the enhancement New feature or request label Nov 3, 2023
@andregasser andregasser changed the title Implement Admin Accounts API (Part 1) Implement Admin Accounts API (Part 1/2) Nov 3, 2023
@PattaFeuFeu
Copy link
Collaborator

It probably makes sense to wait for #333 to be reviewed and merged. I have made some decisions there that will likely influence the style of this issue here as well, such as:

  • admin package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants