Update the latest api documents (#522)

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/522
Reviewed-by: Lunny Xiao <[email protected]>
Co-authored-by: Gitea Bot <[email protected]>
This commit is contained in:
Gitea Bot
2026-08-22 16:46:33 +00:00
committed by Lunny Xiao
parent d0a42af7ff
commit 5301efc704
2 changed files with 145 additions and 0 deletions
+75
View File
@@ -11685,6 +11685,81 @@
]
}
},
"/admin/packages": {
"get": {
"operationId": "adminListPackages",
"parameters": [
{
"description": "page number of results to return (1-based)",
"in": "query",
"name": "page",
"schema": {
"type": "integer"
}
},
{
"description": "page size of results",
"in": "query",
"name": "limit",
"schema": {
"type": "integer"
}
},
{
"description": "package type filter",
"in": "query",
"name": "type",
"schema": {
"enum": [
"alpine",
"cargo",
"chef",
"composer",
"conan",
"conda",
"container",
"cran",
"debian",
"generic",
"go",
"helm",
"maven",
"npm",
"nuget",
"pub",
"pypi",
"rpm",
"rubygems",
"swift",
"terraform",
"vagrant"
],
"type": "string"
}
},
{
"description": "name filter",
"in": "query",
"name": "q",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/PackageList"
},
"403": {
"$ref": "#/components/responses/forbidden"
}
},
"summary": "List all packages",
"tags": [
"admin"
]
}
},
"/admin/unadopted": {
"get": {
"operationId": "adminUnadoptedList",
+70
View File
@@ -628,6 +628,76 @@
}
}
},
"/admin/packages": {
"get": {
"produces": [
"application/json"
],
"tags": [
"admin"
],
"summary": "List all packages",
"operationId": "adminListPackages",
"parameters": [
{
"type": "integer",
"description": "page number of results to return (1-based)",
"name": "page",
"in": "query"
},
{
"type": "integer",
"description": "page size of results",
"name": "limit",
"in": "query"
},
{
"enum": [
"alpine",
"cargo",
"chef",
"composer",
"conan",
"conda",
"container",
"cran",
"debian",
"generic",
"go",
"helm",
"maven",
"npm",
"nuget",
"pub",
"pypi",
"rpm",
"rubygems",
"swift",
"terraform",
"vagrant"
],
"type": "string",
"description": "package type filter",
"name": "type",
"in": "query"
},
{
"type": "string",
"description": "name filter",
"name": "q",
"in": "query"
}
],
"responses": {
"200": {
"$ref": "#/responses/PackageList"
},
"403": {
"$ref": "#/responses/forbidden"
}
}
}
},
"/admin/unadopted": {
"get": {
"produces": [