mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Update Swagger docs of batch edit endpoint #271
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user