API: Improve form and tests for POST /batch/photos/edit endpoint #271

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-07-08 10:40:45 +02:00
parent 004feeb708
commit 2481de49c4
6 changed files with 77 additions and 20 deletions

View File

@@ -0,0 +1,8 @@
package api
import (
"net/http"
)
// MethodsPutPost defines a string slice that contains the PUT and POST request methods.
var MethodsPutPost = []string{http.MethodPut, http.MethodPost}