Add GetPostsForChannel method to plugin API (#9557)
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
Этот коммит содержится в:
коммит произвёл
Jesse Hallam
родитель
bffcccf99d
Коммит
bd04d7f756
@@ -173,6 +173,9 @@ type API interface {
|
||||
// GetPost gets a post.
|
||||
GetPost(postId string) (*model.Post, *model.AppError)
|
||||
|
||||
// GetPostsForChannel gets a list of posts for a channel.
|
||||
GetPostsForChannel(channelId string, page, perPage int) (*model.PostList, *model.AppError)
|
||||
|
||||
// UpdatePost updates a post.
|
||||
UpdatePost(post *model.Post) (*model.Post, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user