mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
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:
@@ -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": {
|
"/admin/unadopted": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "adminUnadoptedList",
|
"operationId": "adminUnadoptedList",
|
||||||
|
|||||||
@@ -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": {
|
"/admin/unadopted": {
|
||||||
"get": {
|
"get": {
|
||||||
"produces": [
|
"produces": [
|
||||||
|
|||||||
Reference in New Issue
Block a user