WebService::Mattermost::V4::API::Resource::Brand
use WebService::Mattermost; my $mm = WebService::Mattermost->new({ authenticate => 1, username => 'email@address.com', password => 'passwordhere', base_url => 'https://my.mattermost.server.com/api/v4/', }); my $brand = $mm->api->brand;
current()
Get brand image
Get the current brand image for your Mattermost server.
my $response = $brand->current;
upload()
Upload brand image
Set a new brand image for your Mattermost server.
my $response = $brand->upload('/path/to/image.jpg');
Mike Jones email:mike@netsplit.org.uk
To install WebService::Mattermost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Mattermost
CPAN shell
perl -MCPAN -e shell install WebService::Mattermost
For more information on module installation, please visit the detailed CPAN module installation guide.