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"
|
"x-go-name": "Name"
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
"$ref": "#/components/schemas/RepoWritePermission"
|
"$ref": "#/components/schemas/RepoWritePermission"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "All units have this permission (read/write/admin)"
|
||||||
},
|
},
|
||||||
"units": {
|
"units": {
|
||||||
"deprecated": true,
|
"deprecated": true,
|
||||||
@@ -4956,7 +4961,6 @@
|
|||||||
"x-go-name": "FullName"
|
"x-go-name": "FullName"
|
||||||
},
|
},
|
||||||
"login_name": {
|
"login_name": {
|
||||||
"default": "empty",
|
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
@@ -6130,7 +6134,12 @@
|
|||||||
"x-go-name": "Name"
|
"x-go-name": "Name"
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
"$ref": "#/components/schemas/RepoWritePermission"
|
"$ref": "#/components/schemas/RepoWritePermission"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "All units have this permission (read/write/admin)"
|
||||||
},
|
},
|
||||||
"units": {
|
"units": {
|
||||||
"deprecated": true,
|
"deprecated": true,
|
||||||
@@ -6234,7 +6243,6 @@
|
|||||||
"x-go-name": "Location"
|
"x-go-name": "Location"
|
||||||
},
|
},
|
||||||
"login_name": {
|
"login_name": {
|
||||||
"default": "empty",
|
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
@@ -6286,8 +6294,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"source_id",
|
"source_id"
|
||||||
"login_name"
|
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"x-go-package": "gitea.dev/modules/structs"
|
"x-go-package": "gitea.dev/modules/structs"
|
||||||
@@ -10658,7 +10665,6 @@
|
|||||||
"x-go-name": "UserName"
|
"x-go-name": "UserName"
|
||||||
},
|
},
|
||||||
"login_name": {
|
"login_name": {
|
||||||
"default": "empty",
|
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
|
|||||||
@@ -27790,6 +27790,7 @@
|
|||||||
"x-go-name": "Name"
|
"x-go-name": "Name"
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission": {
|
||||||
|
"description": "All units have this permission (read/write/admin)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"read",
|
"read",
|
||||||
@@ -27879,7 +27880,6 @@
|
|||||||
"login_name": {
|
"login_name": {
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "empty",
|
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
},
|
},
|
||||||
"must_change_password": {
|
"must_change_password": {
|
||||||
@@ -29061,6 +29061,7 @@
|
|||||||
"x-go-name": "Name"
|
"x-go-name": "Name"
|
||||||
},
|
},
|
||||||
"permission": {
|
"permission": {
|
||||||
|
"description": "All units have this permission (read/write/admin)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"read",
|
"read",
|
||||||
@@ -29124,8 +29125,7 @@
|
|||||||
"description": "EditUserOption edit user options",
|
"description": "EditUserOption edit user options",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"source_id",
|
"source_id"
|
||||||
"login_name"
|
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"active": {
|
"active": {
|
||||||
@@ -29177,7 +29177,6 @@
|
|||||||
"login_name": {
|
"login_name": {
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "empty",
|
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
},
|
},
|
||||||
"max_repo_creation": {
|
"max_repo_creation": {
|
||||||
@@ -33551,7 +33550,6 @@
|
|||||||
"login_name": {
|
"login_name": {
|
||||||
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
"description": "identifier of the user, provided by the external authenticator (if configured)",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "empty",
|
|
||||||
"x-go-name": "LoginName"
|
"x-go-name": "LoginName"
|
||||||
},
|
},
|
||||||
"prohibit_login": {
|
"prohibit_login": {
|
||||||
|
|||||||
Reference in New Issue
Block a user