AdminApi
Functions
Link copied to clipboard
Approves the given local account if it is currently pending approval.
Link copied to clipboard
Assigns the handling of this report to the current account.
Link copied to clipboard
Gets a specific account with admin-level information.
Link copied to clipboard
abstract suspend fun getAccounts(local: Boolean?, remote: Boolean?, active: Boolean?, pending: Boolean?, disabled: Boolean?, silenced: Boolean?, suspended: Boolean?, staff: Boolean?, domain: String?, username: String?, displayName: String?, email: String?, ip: String?): AdminAccount
Gets a list of accounts matching certain criteria.
Link copied to clipboard
Gets information about a specific report.
Link copied to clipboard
abstract suspend fun getReports(isResolved: Boolean? = null, accountId: String? = null, targetAccountId: String? = null): List<AdminReport>
Gets a list of reports matching the given criteria.
Link copied to clipboard
Performs an action against an account and logs this action in the moderation history.
Link copied to clipboard
Re-enable a local account whose login is currently disabled.
Link copied to clipboard
Rejects the given local account if it is currently pending approval.
Link copied to clipboard
Re-opens a currently closed report.
Link copied to clipboard
Marks a report as resolved.
Link copied to clipboard
Un-assigns a report, so that another account may be assigned to it.
Link copied to clipboard
Unsilence a currently silenced account.
Link copied to clipboard
Unsuspend a currently suspended account.