Mediabibliotheek en Hero: definitief verwijderen en prullenbak legen, kiezen uit bibliotheek per slide, uitsnede direct zonder opslaan, teller per batch; aannamelijst

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 17:05:34 +01:00
co-authored by Claude Sonnet 5.5
parent 4436a40ddf
commit e09304c2e9
10 changed files with 498 additions and 3 deletions
+218
View File
@@ -674,6 +674,37 @@
],
"type": "object"
},
"HeroFocusRequest": {
"properties": {
"focus": {
"$ref": "#/components/schemas/FocusDto"
},
"tall": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/FocusDto"
}
]
},
"wide": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/FocusDto"
}
]
}
},
"required": [
"focus"
],
"type": "object"
},
"HeroImageDto": {
"properties": {
"failed": {
@@ -1207,6 +1238,24 @@
],
"type": "object"
},
"MediaPurgeRequest": {
"properties": {
"all": {
"default": false,
"type": "boolean"
},
"ids": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
}
},
"type": "object"
},
"MediaRestoreRequest": {
"properties": {
"ids": {
@@ -3491,6 +3540,106 @@
]
}
},
"/api/v1/hero/images/{id}/focus": {
"put": {
"parameters": [
{
"in": "path",
"name": "id",
"required": true,
"schema": {
"format": "uuid",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/HeroFocusRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/HeroFocusRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/HeroFocusRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HeroImageDto"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/HeroImageDto"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/HeroImageDto"
}
}
},
"description": "OK"
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
},
"description": "Bad Request"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
},
"description": "Not Found"
}
},
"tags": [
"HeroImages"
]
}
},
"/api/v1/hero/images/{id}/retry": {
"post": {
"parameters": [
@@ -3684,6 +3833,75 @@
]
}
},
"/api/v1/media-library/purge": {
"post": {
"requestBody": {
"content": {
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/MediaPurgeRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/MediaPurgeRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/MediaPurgeRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MediaTrashResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/MediaTrashResponse"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/MediaTrashResponse"
}
}
},
"description": "OK"
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
},
"description": "Bad Request"
}
},
"tags": [
"MediaLibrary"
]
}
},
"/api/v1/media-library/restore": {
"post": {
"requestBody": {