Client API for Mattermost chat system. Mattermost is a flexible, open source messaging platform that meets even the most demanding privacy and security standards. This library provides network API interaction with the Mattermost server.


Keywords
library, web, Propose Tags, Skip to Readme, , Index, Quick Jump, Network.Mattermost, Network.Mattermost.Endpoints, Network.Mattermost.Exceptions, Network.Mattermost.Lenses, Network.Mattermost.Logging, Network.Mattermost.Proxy, Network.Mattermost.Types, Network.Mattermost.Types.Base, Network.Mattermost.Types.Config, Network.Mattermost.Types.Internal, Network.Mattermost.Util, Network.Mattermost.Version, Network.Mattermost.WebSocket, Network.Mattermost.WebSocket.Types, More info, mattermost-api-90000.0.0.tar.gz, browse, Package description, Package maintainers, JonathanDaugherty, KevinQuick, edit package information , 40400.0.0, 50200.0.1, Mattermost docs, Our Versioning Scheme, api, haskell, mattermost, mattermost-chat
License
BSD-3-Clause
Install
cabal install mattermost-api-50200.0.0

Documentation

Hackage Build Status Build status

mattermost-api

Client-side API for communicating with a Mattermost server, written in Haskell.

Testing

We use the MatterMost docker image for detecting changes in the API. See .travis.yml or the Mattermost docs for the details.

If you are testing your changes locally during development, you will want to run the script ./test/local_test_mm.sh.

Note: The local_test_mm.sh script will stop and remove a docker container named mattermost-preview.

Note: The tests can only be run once against a given Mattermost instance. This is because the scripts currently assume they can create an initial admin user.

Note: The scripts assume the instance is reachable on localhost:8065 over plain HTTP.

For use in production we use TLS, but for testing purposes we avoid the certificate setup.

Our Versioning Scheme

This library uses the same versioning scheme as matterhorn, see Our Versioning Scheme. The short version is that in ABBCC.X.Y, the ABBCC corresponds to Mattermost server version A.BB.CC and the X.Y portion of the version string corresponds to the version of mattermost-api package releases.