mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
Update the latest api documents (#516)
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-516.docs-gitea-com.pages.dev Reviewed-on: https://gitea.com/gitea/docs/pulls/516 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: Gitea Bot <[email protected]>
This commit is contained in:
@@ -1711,6 +1711,21 @@
|
|||||||
},
|
},
|
||||||
"description": "APIString is a string response"
|
"description": "APIString is a string response"
|
||||||
},
|
},
|
||||||
|
"unauthorized": {
|
||||||
|
"description": "APIUnauthorizedError is an unauthorized error response",
|
||||||
|
"headers": {
|
||||||
|
"message": {
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"url": {
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"validationError": {
|
"validationError": {
|
||||||
"description": "APIValidationError is error format response related to input validation",
|
"description": "APIValidationError is error format response related to input validation",
|
||||||
"headers": {
|
"headers": {
|
||||||
@@ -34970,6 +34985,12 @@
|
|||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/string"
|
"$ref": "#/components/responses/string"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
}
|
}
|
||||||
@@ -34987,6 +35008,12 @@
|
|||||||
"201": {
|
"201": {
|
||||||
"$ref": "#/components/responses/GPGKey"
|
"$ref": "#/components/responses/GPGKey"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
},
|
},
|
||||||
@@ -35024,6 +35051,12 @@
|
|||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/GPGKeyList"
|
"$ref": "#/components/responses/GPGKeyList"
|
||||||
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"summary": "List the authenticated user's GPG keys",
|
"summary": "List the authenticated user's GPG keys",
|
||||||
@@ -35047,6 +35080,12 @@
|
|||||||
"201": {
|
"201": {
|
||||||
"$ref": "#/components/responses/GPGKey"
|
"$ref": "#/components/responses/GPGKey"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
},
|
},
|
||||||
@@ -35079,6 +35118,9 @@
|
|||||||
"204": {
|
"204": {
|
||||||
"$ref": "#/components/responses/empty"
|
"$ref": "#/components/responses/empty"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
"403": {
|
"403": {
|
||||||
"$ref": "#/components/responses/forbidden"
|
"$ref": "#/components/responses/forbidden"
|
||||||
},
|
},
|
||||||
@@ -35109,6 +35151,12 @@
|
|||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/GPGKey"
|
"$ref": "#/components/responses/GPGKey"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
}
|
}
|
||||||
@@ -35290,6 +35338,12 @@
|
|||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/PublicKeyList"
|
"$ref": "#/components/responses/PublicKeyList"
|
||||||
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"summary": "List the authenticated user's public keys",
|
"summary": "List the authenticated user's public keys",
|
||||||
@@ -35313,6 +35367,12 @@
|
|||||||
"201": {
|
"201": {
|
||||||
"$ref": "#/components/responses/PublicKey"
|
"$ref": "#/components/responses/PublicKey"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"422": {
|
"422": {
|
||||||
"$ref": "#/components/responses/validationError"
|
"$ref": "#/components/responses/validationError"
|
||||||
}
|
}
|
||||||
@@ -35342,6 +35402,9 @@
|
|||||||
"204": {
|
"204": {
|
||||||
"$ref": "#/components/responses/empty"
|
"$ref": "#/components/responses/empty"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
"403": {
|
"403": {
|
||||||
"$ref": "#/components/responses/forbidden"
|
"$ref": "#/components/responses/forbidden"
|
||||||
},
|
},
|
||||||
@@ -35372,6 +35435,12 @@
|
|||||||
"200": {
|
"200": {
|
||||||
"$ref": "#/components/responses/PublicKey"
|
"$ref": "#/components/responses/PublicKey"
|
||||||
},
|
},
|
||||||
|
"401": {
|
||||||
|
"$ref": "#/components/responses/unauthorized"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"$ref": "#/components/responses/forbidden"
|
||||||
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"$ref": "#/components/responses/notFound"
|
"$ref": "#/components/responses/notFound"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user