NAME
WebService::Mattermost::V4::API::Resource::Jobs
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->teams->jobs;
METHODS
all()
-
Get all the jobs.
my $response = $resource->all({ # Optional arguments page => 0, per_page => 60, });
create()
-
my $response = $resource->create({ # Required arguments type => 'JOB-TYPE', # Optional arguments data => {}, });
get_by_type()
-
https://api.mattermost.com/#tag/jobs%2Fpaths%2F~1jobs~1type~1%7Btype%7D%2Fget
my $response = $resource->get_by_type('JOB-TYPE-HERE');
SEE ALSO
AUTHOR
Mike Jones email:mike@netsplit.org.uk