Fase 2 stap C: leesschakelaar (off/compare/on) voor het bibliotheekscherm, read-check endpoint, workflow-input
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1260,6 +1260,68 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"MediaReadCheckDto": {
|
||||
"properties": {
|
||||
"differences": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"matches": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"module": {
|
||||
"type": "string"
|
||||
},
|
||||
"photos": {
|
||||
"format": "int32",
|
||||
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
||||
"type": [
|
||||
"integer",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"uses": {
|
||||
"format": "int32",
|
||||
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
||||
"type": [
|
||||
"integer",
|
||||
"string"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"module",
|
||||
"mode",
|
||||
"photos",
|
||||
"uses",
|
||||
"matches",
|
||||
"differences"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"MediaReadCheckResponse": {
|
||||
"properties": {
|
||||
"mode": {
|
||||
"type": "string"
|
||||
},
|
||||
"modules": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/MediaReadCheckDto"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"mode",
|
||||
"modules"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"MediaRestoreRequest": {
|
||||
"properties": {
|
||||
"ids": {
|
||||
@@ -4064,6 +4126,35 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/media-library/read-check": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/MediaReadCheckResponse"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/MediaReadCheckResponse"
|
||||
}
|
||||
},
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/MediaReadCheckResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"MediaLibrary"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/media-library/restore": {
|
||||
"post": {
|
||||
"requestBody": {
|
||||
|
||||
Reference in New Issue
Block a user