mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Add login name and source id for admin user searching API (#23376)
As title. --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
@@ -488,9 +488,22 @@
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"summary": "List all users",
|
||||
"operationId": "adminGetAllUsers",
|
||||
"summary": "Search users according filter conditions",
|
||||
"operationId": "adminSearchUsers",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"description": "ID of the user's login source to search for",
|
||||
"name": "source_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "user's login name to search for",
|
||||
"name": "login_name",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "page number of results to return (1-based)",
|
||||
|
Reference in New Issue
Block a user