NAME

WebService::PagerDuty - WebService::PagerDuty - an interface to PagerDuty's RESTful Web API using Web::API

VERSION

version 0.1

SYNOPSIS

Please refer to the API documentation at https://v2.developer.pagerduty.com/docs/rest-api

use WebService::PagerDuty;
use Data::Printer;

my $pd = WebService::PagerDuty->new(
    debug   => 1,
    api_key => ''w_8PcNuhHa-y3xYdmc1x',
);

p $pd->oncalls;

SUBROUTINES/METHODS

abilities

test_ability

addons

install_addon

delete_addon

addon

update_addon

escalation_policies

create_escalation_policy

delete_escalation_policy

escalation_policy

update_escalation_policy

extension_schemas

extension_schema

extensions

create_extension

delete_extension

extension

update_extension

incidents

create_incident

manage_incidents

merge_incidents

incident

update_incident

incident_log_entries

notes

create_note

status_update

responder_request

snooze_incident

alerts

manage_alerts

alert

update_alert

priorities

response_play

log_entries

log_entry

maintenance_windows

create_maintenance_window

delete_maintenance_window

maintenance_window

update_maintenance_window

notifications

oncalls

schedules

create_schedules

preview_schedule

delete_schedule

schedule

update_schedule

overrides

create_override

delete_override

schedule_oncalls

services

create_service

delete_service

service

update_service

create_integration

integration

update_integration

teams

create_team

delete_team

team

update_team

remove_team_escalation_policy

add_team_escalation_policy

remove_team_user

add_team_user

users

create_user

delete_user

user

update_user

user_contact_methods

create_user_contact_method

delete_user_contact_method

user_contact_method

update_user_contact_method

user_notification_rules

create_user_notification_rule

delete_user_notification_rule

user_notification_rule

update_user_notification_rule

vendors

vendor

INTERNALS

BUILD

basic configuration for the client API happens usually in the BUILD method when using Web::API

BUGS

Please report any bugs or feature requests on GitHub's issue tracker https://github.com/<github_user/WebService::PagerDuty/issues>. Pull requests welcome.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WebService::PagerDuty

You can also look for information at:

ACKNOWLEDGEMENTS

  • Lenz Gschwendtner (@norbu09), for being an awesome mentor and friend.

AUTHOR

Tobias Kirschstein <lev@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Tobias Kirschstein.

This is free software, licensed under:

The (three-clause) BSD License