Stabilize discovery lifecycle and rescan summary
This commit is contained in:
47
openapi.json
47
openapi.json
@@ -176,7 +176,9 @@
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {}
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RescanResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1307,6 +1309,49 @@
|
||||
"title": "KeyActionRequest",
|
||||
"description": "Тело запроса для операций с ключом (чтобы токен не летел в URL)."
|
||||
},
|
||||
"RescanResponse": {
|
||||
"properties": {
|
||||
"status": {
|
||||
"const": "ok",
|
||||
"title": "Status"
|
||||
},
|
||||
"found": {
|
||||
"type": "integer",
|
||||
"title": "Found"
|
||||
},
|
||||
"added": {
|
||||
"type": "integer",
|
||||
"title": "Added"
|
||||
},
|
||||
"updated": {
|
||||
"type": "integer",
|
||||
"title": "Updated"
|
||||
},
|
||||
"removed_offline": {
|
||||
"type": "integer",
|
||||
"title": "Removed Offline"
|
||||
},
|
||||
"pending_removal": {
|
||||
"type": "integer",
|
||||
"title": "Pending Removal"
|
||||
},
|
||||
"online": {
|
||||
"type": "integer",
|
||||
"title": "Online"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"status",
|
||||
"found",
|
||||
"added",
|
||||
"updated",
|
||||
"removed_offline",
|
||||
"pending_removal",
|
||||
"online"
|
||||
],
|
||||
"title": "RescanResponse"
|
||||
},
|
||||
"ScheduleCreateResponse": {
|
||||
"properties": {
|
||||
"status": {
|
||||
|
||||
Reference in New Issue
Block a user