The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.30

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 $elasticsearch = $mm->api->elasticsearch;

METHODS

test()
my $response = $elasticsearch->test;
purge_indexes()
my $response = $elasticsearch->purge_indexes;

SEE ALSO

https://api.mattermost.com/#tag/elasticsearch

Official "ElasticSearch" API documentation.

AUTHOR

Mike Jones <mike@netsplit.org.uk>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The MIT (X11) License