ex_victor_ops v0.1.0 ExVictorOps.OnCall

Summary

Functions

Returns a team’s on-call schedule from the VictorOps API

Returns a user’s on-call schedule across all teams from the VictorOps API

Functions

get_team(team, args \\ %{})

Returns a team’s on-call schedule from the VictorOps API.

Args can contain any of the following:

  • days_forward (default: 14): Days to include in returned schedule
  • days_skip (default: 0): Days to skip before computing schedule to return
  • step (default: 0): Step of escalation policy
get_user(user, args \\ %{})

Returns a user’s on-call schedule across all teams from the VictorOps API.

Args can contain any of the following:

  • days_forward (default: 14): Days to include in returned schedule
  • days_skip (default: 0): Days to skip before computing schedule to return
  • step (default: 0): Step of escalation policy