The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Mattermost::V4::API::Resource::Brand

DESCRIPTION

USAGE

    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;

METHODS

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');

SEE ALSO

Official "brand" API documentation

AUTHOR

Mike Jones email:mike@netsplit.org.uk