1
1
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:
Lunny Xiao
2023-03-15 19:53:01 +08:00
committed by GitHub
parent 27494ed20d
commit 6f9cc617fc
4 changed files with 41 additions and 8 deletions

View File

@@ -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)",