API: Update swagger endpoint documentation #5133

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-08-28 11:20:00 +02:00
parent 0823dceab1
commit 7bebf3bd60
2 changed files with 17 additions and 5 deletions

View File

@@ -6,11 +6,11 @@ import (
"github.com/gin-gonic/gin"
)
// GetStatus reports if the server is operational.
// GetStatus responds with status code 200 if the server is operational.
//
// @Summary reports if the server is operational
// @Summary responds with status code 200 if the server is operational
// @Id GetStatus
// @Tags Server
// @Tags Debug
// @Produce json
// @Success 200 {object} gin.H
// @Router /api/v1/status [get]

View File

@@ -4629,9 +4629,9 @@
"application/json"
],
"tags": [
"Server"
"Debug"
],
"summary": "reports if the server is operational",
"summary": "responds with status code 200 if the server is operational",
"operationId": "GetStatus",
"responses": {
"200": {
@@ -8897,6 +8897,12 @@
1000000,
1000000000,
60000000000,
3600000000000,
1,
1000,
1000000,
1000000000,
60000000000,
3600000000000
],
"x-enum-varnames": [
@@ -8923,6 +8929,12 @@
"Millisecond",
"Second",
"Minute",
"Hour",
"Nanosecond",
"Microsecond",
"Millisecond",
"Second",
"Minute",
"Hour"
]
},