Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
func Action(c echo.Context) error
@Title user relations @Summary relation actions @Description @Tags Relation @Accept json @Produce json @Param action query string true "which action to apply, accept [follow, unfollow, block, unblock, mute, unmute]" @Param whom path string true "whose uname you want to follow" @Success 200 "OK - following successfully" @Failure 400 "Fail - invalid action type" @Failure 500 "Fail - internal error" @Router /api/rel/action/{whom} [put] @Security ApiKeyAuth
func GetContent ¶
func GetContent(c echo.Context) error
@Title user relation content @Summary get all relation users for one type @Description @Tags Relation @Accept json @Produce json @Param type path string true "relation content type to apply, accept [following, follower, blocked, muted]" @Success 200 "OK - got following successfully" @Failure 400 "Fail - invalid relation content type" @Failure 500 "Fail - internal error" @Router /api/rel/content/{type} [get] @Security ApiKeyAuth
Types ¶
This section is empty.