package
0.0.17
Repository: https://github.com/wismed-web/wisite-api.git
Documentation: pkg.go.dev

# Functions

@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.
@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.