API: Update Swagger docs of batch edit endpoint #271

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-07-10 11:16:23 +02:00
parent 2229ee32fb
commit 31614697a2
2 changed files with 2 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ import (
// @Produce json
// @Success 200 {object} batch.PhotosResponse
// @Failure 400,401,403,404,429,500 {object} i18n.Response
// @Param photos body batch.PhotosRequest true "photos selection and values"
// @Param Request body batch.PhotosRequest true "photos selection and values"
// @Router /api/v1/batch/photos/edit [post]
func BatchPhotosEdit(router *gin.RouterGroup) {
router.Match(MethodsPutPost, "/batch/photos/edit", func(c *gin.Context) {

View File

@@ -1376,7 +1376,7 @@
"parameters": [
{
"description": "photos selection and values",
"name": "photos",
"name": "Request",
"in": "body",
"required": true,
"schema": {
@@ -8234,8 +8234,6 @@
1000000000,
60000000000,
3600000000000,
-9223372036854775808,
9223372036854775807,
1,
1000,
1000000,
@@ -8252,8 +8250,6 @@
"Second",
"Minute",
"Hour",
"minDuration",
"maxDuration",
"Nanosecond",
"Microsecond",
"Millisecond",