NAME
WebService::Mattermost::V4::API::Resource::Config - Wrapped API methods for the config 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->config;
METHODS
get()
-
my $response = $resource->get();
update()
-
There are many available parameters for this API call which may require reading of the API documentation.
my $response = $resource->update({ # Optional parameters: ServiceSettings => {}, TeamSettings => {}, SqlSettings => {}, LogSettings => {}, PasswordSettings => {}, FileSettings => {}, EmailSettings => {}, RateLimitSettings => {}, PrivacySettings => {}, SupportSettings => {}, GitLabSettings => {}, GoogleSettings => {}, Office365Settings => {}, LdapSettings => {}, ComplianceSettings => {}, LocalizationSettings => {}, SamlSettings => {}, NativeAppSettings => {}, ClusterSettings => {}, MetricsSettings => {}, AnalyticsSettings => {}, WebrtcSettings => {}, });
reload()
-
my $response = $resource->reload();
client_subset()
-
my $response = $resource->client_subset();
set_by_environment()
-
Get configuration made through environment variables
my $response = $client->set_by_environment();
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