mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 05:45:15 +00:00
- Added frontend translation for english - Moved frontend api logic to hook and backend api space - Added swagger schema for the new api endpoint - Moved backend logic to its own internal file - Added user agent header to github api check - Added cypress integration test for version check api - Added a memory cache item from github check to avoid hitting it too much
27 lines
493 B
JSON
27 lines
493 B
JSON
{
|
|
"operationId": "checkVersion",
|
|
"summary": "Returns any new version data from github",
|
|
"tags": ["public"],
|
|
"responses": {
|
|
"200": {
|
|
"description": "200 response",
|
|
"content": {
|
|
"application/json": {
|
|
"examples": {
|
|
"default": {
|
|
"value": {
|
|
"current": "v2.12.0",
|
|
"latest": "v2.13.4",
|
|
"update_available": true
|
|
}
|
|
}
|
|
},
|
|
"schema": {
|
|
"$ref": "../../../components/check-version-object.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|