NAME

WebService::Mattermost::V4::API::Resource::Compliance - Wrapped API methods for the compliance API endpoints.

VERSION

version 0.29

DESCRIPTION

USAGE

use WebService::Mattermost;

my $mm = WebService::Mattermost->new({
    authenticate => 1,
    username     => 'me@somewhere.com',
    password     => 'hunter2',
    base_url     => 'https://my.mattermost.server.com/api/v4/',
});

my $resource = $mm->api->compliance;

METHODS

create_report()

Create a new compliance report.

my $response = $resource->create_report();
get_reports()

Get all compliance reports.

my $response = $resource->get_reports({
    # Optional parameters
    page     => 0,  # default values
    per_page => 60,
});

SEE ALSO

Official compliance documentation

AUTHOR

Mike Jones <mike@netsplit.org.uk>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Mike Jones.

This is free software, licensed under:

The MIT (X11) License