get
View a specific accounthttps://CounterSocial.example/api/v1/admin/accounts/:id
View admin-level information about the given account.
Returns: Admin::Account
OAuth: User token + admin:read:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Perform an action against an accounthttps://CounterSocial.example/api/v1/admin/accounts/:account_id/action
Perform an action against an account and log this action in the moderation history.
Returns: empty object
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
Form Data Parameters
string
Type of action to be taken. Enumerable oneOf: none
disable
silence
suspend
string
ID of an associated report that caused this action to be taken
warning_preset_id
optional
string
ID of a preset warning
string
Additional text for clarification of why this action was taken
send_email_notification
optional
boolean
Whether an email should be sent to the user with the above information.
post
Approve pending accounthttps://CounterSocial.example/api/v1/admin/accounts/:id/approve
Approve the given local account if it is currently pending approval.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Reject pending accounthttps://CounterSocial.example/api/v1/admin/accounts/:id/reject
Reject the given local account if it is currently pending approval.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Re-enable accounthttps://CounterSocial.example/api/v1/admin/accounts/:id/enable
Re-enable a local account whose login is currently disabled.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Unsilence accounthttps://CounterSocial.example/api/v1/admin/accounts/:id/unsilence
Unsilence a currently silenced account.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Unsuspend accounthttps://CounterSocial.example/api/v1/admin/accounts/:id/unsuspend
Unsuspend a currently suspended account.
Returns: Admin::Account
OAuth: User token + admin:write:accounts
Version history:
2.9.1 - added
Request
Path Parameters
Headers
Report methods
get
View all reportshttps://CounterSocial.example/api/v1/admin/reports
View all reports. Pagination may be done with HTTP Link header in the response.
Returns: Array of Admin::Report
OAuth: User token + admin:read:reports
Version history:
2.9.1 - added
Request
Headers
Query Parameters
target_account_id
optional
string
get
View a single reporthttps://CounterSocial.example/api/v1/admin/reports/:id/
View information about the report with the given ID.
Returns: Admin::Report
OAuth: User token + admin:read:reports
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Assign report to selfhttps://CounterSocial.example/api/v1/admin/reports/:id/assign_to_self
Claim the handling of this report to yourself.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Unassign reporthttps://CounterSocial.example/api/v1/admin/reports/:id/unassign
Unassign a report so that someone else can claim it.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Mark as resolvedhttps://CounterSocial.example/api/v1/admin/reports/:id/resolve
Mark a report as resolved with no further action taken.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
Headers
post
Re-open reporthttps://CounterSocial.example/api/v1/admin/reports/:id/reopen
Reopen a currently closed report.
Returns: Admin::Report
OAuth: User token + admin:write:reports
Version history:
2.9.1 - added
Request
Path Parameters
Headers
Last updated December 27, 2020 ?? Improve this page