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:
parent
27494ed20d
commit
6f9cc617fc
4 changed files with 41 additions and 8 deletions
|
@ -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)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue