diff options
Diffstat (limited to 'internal/api/client/markers/markerspost.go')
| -rw-r--r-- | internal/api/client/markers/markerspost.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/api/client/markers/markerspost.go b/internal/api/client/markers/markerspost.go index 199d370d3..d96ffa4be 100644 --- a/internal/api/client/markers/markerspost.go +++ b/internal/api/client/markers/markerspost.go @@ -63,12 +63,20 @@ import ( // schema: // "$ref": "#/definitions/markers" // '400': +// schema: +// "$ref": "#/definitions/error" // description: bad request // '401': +// schema: +// "$ref": "#/definitions/error" // description: unauthorized // '409': +// schema: +// "$ref": "#/definitions/error" // description: conflict (when two clients try to update the same timeline at the same time) // '500': +// schema: +// "$ref": "#/definitions/error" // description: internal server error func (m *Module) MarkersPOSTHandler(c *gin.Context) { authed, errWithCode := apiutil.TokenAuth(c, |
