API documentation about pending members (both listing or approval is outdated)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
I've checked for bugs containing «pending» and regression and only found #473359 so far.
Summary
When querying the api to get pending members or to approve any pending members, I get either 400 or 404 reply :
{
"error": "user_id is invalid"
}
glab: HTTP 400
or
{
"error": "404 Not Found"
}
Steps to reproduce
- create a top level group
- ask a user to join this group
-
GET /groups/:id/pending_memberswith the correct api/v4 url orPOST /groups/:id/members/approve_all
Example Project
I've tested both on a self managed instance and gitlab.com : https://gitlab.com/test-api-group4
What is the current bug behavior?
Got 40X errors as reply.
What is the expected correct behavior?
User listing or user approval
Relevant logs and/or screenshots
❯ curl --request POST --header "PRIVATE-TOKEN: glpat-***-****************" --url "https://forge.apps.education.fr/api/v4/groups/****/members/approve_all"
{"error":"404 Not Found"}%
Output of checks
This bug happens on GitLab.com
Edited by 🤖 GitLab Bot 🤖