summaryrefslogtreecommitdiff
path: root/internal/api/client/media/mediaget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/media/mediaget.go')
-rw-r--r--internal/api/client/media/mediaget.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/internal/api/client/media/mediaget.go b/internal/api/client/media/mediaget.go
index e08ef6bfa..eb676abb2 100644
--- a/internal/api/client/media/mediaget.go
+++ b/internal/api/client/media/mediaget.go
@@ -55,15 +55,25 @@ import (
// schema:
// "$ref": "#/definitions/attachment"
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '404':
+// schema:
+// "$ref": "#/definitions/error"
// description: not found
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
// '500':
-// description: internal server error
+// schema:
+// "$ref": "#/definitions/error"
+// description: internal server error
func (m *Module) MediaGETHandler(c *gin.Context) {
if _, errWithCode := apiutil.ParseAPIVersion(
c.Param(apiutil.APIVersionKey),