diff options
Diffstat (limited to 'internal/api/client/accounts/follow.go')
| -rw-r--r-- | internal/api/client/accounts/follow.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/api/client/accounts/follow.go b/internal/api/client/accounts/follow.go index e89cfc40f..886a87c58 100644 --- a/internal/api/client/accounts/follow.go +++ b/internal/api/client/accounts/follow.go @@ -80,14 +80,24 @@ import ( // schema: // "$ref": "#/definitions/accountRelationship" // '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': +// schema: +// "$ref": "#/definitions/error" // description: internal server error func (m *Module) AccountFollowPOSTHandler(c *gin.Context) { authed, errWithCode := apiutil.TokenAuth(c, |
