api/pleroma/admin --> api/v1/pleroma/admin
Summary
Closes #1427 (closed) by changing all /api/pleroma/admin
calls to /api/v1/pleroma/admin
.
Here's the relevant portion:
Authentication is required and the user must be an admin.
Backwards-compatibility for admin API endpoints without version prefixes (/api/pleroma/admin/) has been removed as of Akkoma 3.6.0. Please use /api/v1/pleroma/admin/ instead.
https://docs.akkoma.dev/stable/development/API/admin_api/
I probably should list this as a draft because I haven't tried every endpoint yet but here we are.
Edited by NEETzsche