logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 25a28316065efbccf83f11016a176145c8911b09
parent 69c80cf904fe47e171cbab5217cb8c34257349c3
Author: mkljczk <me@mkljczk.pl>
Date:   Fri, 23 May 2025 13:42:12 +0200

Merge branch 'admin-api-docs-fix' into 'develop'

Fix 'Create a user' description in admin api docs

See merge request pleroma/pleroma!4361

Diffstat:

Achangelog.d/admin-api-docs-fix.skip1+
Mdocs/development/API/admin_api.md4+++-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changelog.d/admin-api-docs-fix.skip b/changelog.d/admin-api-docs-fix.skip @@ -0,0 +1 @@ +Fix 'Create a user' description in admin api docs diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md @@ -70,6 +70,8 @@ The `/api/v1/pleroma/admin/*` path is backwards compatible with `/api/pleroma/ad - `nicknames` - Response: Array of user nicknames +## `POST /api/v1/pleroma/admin/users` + ### Create a user - Method: `POST` @@ -81,7 +83,7 @@ The `/api/v1/pleroma/admin/*` path is backwards compatible with `/api/pleroma/ad `password` } ] -- Response: User’s nickname +- Response: Array of user objects ## `POST /api/v1/pleroma/admin/users/follow`