mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
Update the latest api documents (#551)
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. <!-- cloudflare-preview --> Preview: https://pr-551.docs-gitea-com.pages.dev Reviewed-on: https://gitea.com/gitea/docs/pulls/551 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Gitea Bot <[email protected]>
This commit is contained in:
@@ -6311,6 +6311,14 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"x-go-name": "SourceID"
|
"x-go-name": "SourceID"
|
||||||
},
|
},
|
||||||
|
"type": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/UserTypeString"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "The user type"
|
||||||
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@@ -10722,6 +10730,14 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"x-go-name": "StarredRepos"
|
"x-go-name": "StarredRepos"
|
||||||
},
|
},
|
||||||
|
"type": {
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/UserTypeString"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "the user type"
|
||||||
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@@ -10878,6 +10894,14 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"x-go-package": "gitea.dev/modules/structs"
|
"x-go-package": "gitea.dev/modules/structs"
|
||||||
},
|
},
|
||||||
|
"UserTypeString": {
|
||||||
|
"enum": [
|
||||||
|
"User",
|
||||||
|
"Organization",
|
||||||
|
"Bot"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"VisibilityString": {
|
"VisibilityString": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"public",
|
"public",
|
||||||
@@ -27155,6 +27179,9 @@
|
|||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
|
},
|
||||||
|
"409": {
|
||||||
|
"$ref": "#/components/responses/error"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"summary": "Merge a branch from upstream",
|
"summary": "Merge a branch from upstream",
|
||||||
|
|||||||
@@ -14997,6 +14997,9 @@
|
|||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/responses/notFound"
|
"$ref": "#/responses/notFound"
|
||||||
|
},
|
||||||
|
"409": {
|
||||||
|
"$ref": "#/responses/error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -29389,6 +29392,17 @@
|
|||||||
"format": "int64",
|
"format": "int64",
|
||||||
"x-go-name": "SourceID"
|
"x-go-name": "SourceID"
|
||||||
},
|
},
|
||||||
|
"type": {
|
||||||
|
"description": "The user type",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"User",
|
||||||
|
"Organization",
|
||||||
|
"Bot"
|
||||||
|
],
|
||||||
|
"x-go-enum-desc": "User UserTypeStringUser\nOrganization UserTypeStringOrganization\nBot UserTypeStringBot",
|
||||||
|
"x-go-name": "Type"
|
||||||
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"description": "User visibility level: public, limited, or private",
|
"description": "User visibility level: public, limited, or private",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -33751,6 +33765,17 @@
|
|||||||
"format": "int64",
|
"format": "int64",
|
||||||
"x-go-name": "StarredRepos"
|
"x-go-name": "StarredRepos"
|
||||||
},
|
},
|
||||||
|
"type": {
|
||||||
|
"description": "the user type",
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"User",
|
||||||
|
"Organization",
|
||||||
|
"Bot"
|
||||||
|
],
|
||||||
|
"x-go-enum-desc": "User UserTypeStringUser\nOrganization UserTypeStringOrganization\nBot UserTypeStringBot",
|
||||||
|
"x-go-name": "Type"
|
||||||
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"description": "User visibility level option: public, limited, private",
|
"description": "User visibility level option: public, limited, private",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
Reference in New Issue
Block a user