surge refill
This commit is contained in:
@@ -1359,6 +1359,9 @@
|
||||
},
|
||||
"settings": {
|
||||
"$ref": "#/components/schemas/SmartQueueSettings"
|
||||
},
|
||||
"surge_refill_remaining_seconds": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1422,6 +1425,17 @@
|
||||
"stop_batch_size": {
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
"surge_refill_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"surge_refill_interval_minutes": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"surge_refill_batch_size": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -7479,6 +7493,38 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/static_hash": {
|
||||
"get": {
|
||||
"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.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Static asset hash",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ok": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"static_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user