commit: 6b38ec310a636ff3e9aab2ea85fe2d019a5a7720
parent 69c80cf904fe47e171cbab5217cb8c34257349c3
Author: Nicole Mikołajczyk <git@mkljczk.pl>
Date: Thu, 22 May 2025 20:52:07 +0200
Fix 'Create a user' description in admin api docs
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
Diffstat:
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`