apiv1

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2022 License: AGPL-3.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVote added in v0.16.0

func AddVote() web.HandlerFunc

AddVote adds current user to given post list of votes

func AssignTag

func AssignTag() web.HandlerFunc

AssignTag to existing dea

func CreateEditTag

func CreateEditTag() web.HandlerFunc

CreateEditTag creates a new tag on current tenant

func CreatePost

func CreatePost() web.HandlerFunc

CreatePost creates a new post on current tenant

func CreateUser added in v0.16.0

func CreateUser() web.HandlerFunc

CreateUser is used to create new users

func DeleteComment added in v0.16.0

func DeleteComment() web.HandlerFunc

DeleteComment deletes an existing comment by its ID

func DeletePost

func DeletePost() web.HandlerFunc

DeletePost deletes an existing post of current tenant

func DeleteTag

func DeleteTag() web.HandlerFunc

DeleteTag deletes an existing tag

func GetComment added in v0.17.0

func GetComment() web.HandlerFunc

GetComment returns a single comment by its ID

func GetPost added in v0.16.0

func GetPost() web.HandlerFunc

GetPost retrieves the existing post by number

func ListComments

func ListComments() web.HandlerFunc

ListComments returns a list of all comments of a post

func ListTags

func ListTags() web.HandlerFunc

ListTags returns all tags

func ListUsers

func ListUsers() web.HandlerFunc

ListUsers returns all registered users

func ListVotes added in v0.17.0

func ListVotes() web.HandlerFunc

ListVotes returns a list of all votes on given post

func PostComment

func PostComment() web.HandlerFunc

PostComment creates a new comment on given post

func RemoveVote added in v0.16.0

func RemoveVote() web.HandlerFunc

RemoveVote removes current user from given post list of votes

func SearchPosts

func SearchPosts() web.HandlerFunc

SearchPosts return existing posts based on search criteria

func SendInvites

func SendInvites() web.HandlerFunc

SendInvites sends an email to each recipient

func SendSampleInvite

func SendSampleInvite() web.HandlerFunc

SendSampleInvite to current user's email

func SetResponse

func SetResponse() web.HandlerFunc

SetResponse changes current post staff response

func Subscribe

func Subscribe() web.HandlerFunc

Subscribe adds current user to list of subscribers of given post

func UnassignTag

func UnassignTag() web.HandlerFunc

UnassignTag from existing dea

func Unsubscribe

func Unsubscribe() web.HandlerFunc

Unsubscribe removes current user from list of subscribers of given post

func UpdateComment

func UpdateComment() web.HandlerFunc

UpdateComment changes an existing comment with new content

func UpdatePost

func UpdatePost() web.HandlerFunc

UpdatePost updates an existing post of current tenant

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL