mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
Update the latest api documents (#519)
Automated update of static/swagger-latest.json and static/openapi3-latest.json from the gitea main branch, opened by the "update api spec files" scheduled workflow. Reviewed-on: https://gitea.com/gitea/docs/pulls/519 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Gitea Bot <[email protected]>
This commit is contained in:
@@ -4879,7 +4879,12 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
}
|
||||
],
|
||||
"description": "All units have this permission (read/write/admin)"
|
||||
},
|
||||
"units": {
|
||||
"deprecated": true,
|
||||
@@ -4956,7 +4961,6 @@
|
||||
"x-go-name": "FullName"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
@@ -6130,7 +6134,12 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/RepoWritePermission"
|
||||
}
|
||||
],
|
||||
"description": "All units have this permission (read/write/admin)"
|
||||
},
|
||||
"units": {
|
||||
"deprecated": true,
|
||||
@@ -6234,7 +6243,6 @@
|
||||
"x-go-name": "Location"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
@@ -6286,8 +6294,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_id",
|
||||
"login_name"
|
||||
"source_id"
|
||||
],
|
||||
"type": "object",
|
||||
"x-go-package": "gitea.dev/modules/structs"
|
||||
@@ -10658,7 +10665,6 @@
|
||||
"x-go-name": "UserName"
|
||||
},
|
||||
"login_name": {
|
||||
"default": "empty",
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"x-go-name": "LoginName"
|
||||
|
||||
@@ -27790,6 +27790,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"description": "All units have this permission (read/write/admin)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"read",
|
||||
@@ -27879,7 +27880,6 @@
|
||||
"login_name": {
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"default": "empty",
|
||||
"x-go-name": "LoginName"
|
||||
},
|
||||
"must_change_password": {
|
||||
@@ -29061,6 +29061,7 @@
|
||||
"x-go-name": "Name"
|
||||
},
|
||||
"permission": {
|
||||
"description": "All units have this permission (read/write/admin)",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"read",
|
||||
@@ -29124,8 +29125,7 @@
|
||||
"description": "EditUserOption edit user options",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"source_id",
|
||||
"login_name"
|
||||
"source_id"
|
||||
],
|
||||
"properties": {
|
||||
"active": {
|
||||
@@ -29177,7 +29177,6 @@
|
||||
"login_name": {
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"default": "empty",
|
||||
"x-go-name": "LoginName"
|
||||
},
|
||||
"max_repo_creation": {
|
||||
@@ -33551,7 +33550,6 @@
|
||||
"login_name": {
|
||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||
"type": "string",
|
||||
"default": "empty",
|
||||
"x-go-name": "LoginName"
|
||||
},
|
||||
"prohibit_login": {
|
||||
|
||||
Reference in New Issue
Block a user