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