stativ hash
This commit is contained in:
@@ -7499,8 +7499,8 @@
|
||||
"tags": [
|
||||
"System"
|
||||
],
|
||||
"summary": "Get static asset version hash",
|
||||
"description": "Returns the current hash for app static assets. Clients can compare it with window.PYTORRENT.staticHash and reload when it changes.",
|
||||
"summary": "Get current frontend JS/CSS hash",
|
||||
"description": "Returns the startup-computed hash for app JavaScript and CSS assets. The value is kept in memory and returned without scanning static files per request.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Static asset hash",
|
||||
@@ -7513,10 +7513,12 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"static_hash": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "Short SHA-256-based hash of frontend JavaScript and CSS files computed once at app startup."
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"description": "Alias of static_hash for simple client version checks."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user