WebService::Mattermost::V4::API::Resource::ElasticSearch - Wrapped API methods for the ElasticSearch API endpoints.
version 0.30
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;
test()
my $response = $elasticsearch->test;
purge_indexes()
my $response = $elasticsearch->purge_indexes;
Official "ElasticSearch" API documentation.
Mike Jones <mike@netsplit.org.uk>
This software is Copyright (c) 2023 by Mike Jones.
This is free software, licensed under:
The MIT (X11) License
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.