MM-13748 Add GetTeamStats to plugin API (#10105)

Этот коммит содержится в:
Sheshagiri Rao Mallipedhi
2019-01-15 14:52:04 +05:30
коммит произвёл Hanzei
родитель 8ead10effb
Коммит 004e7d383b
5 изменённых файлов: 75 добавлений и 0 удалений

Просмотреть файл

@@ -293,6 +293,11 @@ type API interface {
// Minimum server version: 5.6
GetPostsForChannel(channelId string, page, perPage int) (*model.PostList, *model.AppError)
// GetTeamStats gets a team's statistics
//
// Minimum server version: 5.8
GetTeamStats(teamId string) (*model.TeamStats, *model.AppError)
// UpdatePost updates a post.
UpdatePost(post *model.Post) (*model.Post, *model.AppError)