incident_io_api 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 889508dcdc5708cfe3f358c02ad7c113c40f08f6e99da025a924eab44099e42c
|
|
4
|
+
data.tar.gz: 6f1a67ad1aa054f5364e1c694d9b697502c762f2db9c55fb26a558f88bfad022
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 687f2784956a0c3ab1e286b4f69cfe79d721235eaabb785534a5d16f41503b7605153c0d874e38d7d8b86fd5d6ab8688e9ec59bfd1f1252cdd3f26082d96f263
|
|
7
|
+
data.tar.gz: dd1aafb3cd1143b596a206496bb88785a688a81d64592e2f96462b1cfb38852a4ae56a486dd3331d048333564e0ee3f807164f89f86af3e1f896b7d9fc019870
|
|
@@ -157,7 +157,7 @@ module IncidentIo
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
# Create Escalations V2
|
|
160
|
-
# Create an escalation. An escalation pages people, either according to an escalation path, or directly to specific users. You must provide either an escalation_path_id OR user_ids, but not both. When escalating via an escalation path, the escalation will follow the configured path with its levels and timeouts
|
|
160
|
+
# Create an escalation. An escalation pages people, either according to an escalation path, or directly to specific users. You must provide either an escalation_path_id OR user_ids, but not both. Each escalation pages at your default escalation urgency, and its priority field returns that urgency's name. When escalating via an escalation path, the escalation will follow the configured path with its levels and timeouts. When escalating directly to users, they're notified at that urgency's default interruption level (high or low), based on their notification rules. This endpoint is rate-limited to 60 requests per minute, since it is intended for interactive use cases (for example someone clicking a \"escalate to team\" button in your internal developer platform). To escalate based on automated alerts, we recommend sending events to an alert source instead. If your API key's permissions are scoped to teams, you can only escalate via an escalation path that one of those teams owns. Escalating directly to user_ids needs the permission at the account level, because an escalation aimed at a person has no owning team.
|
|
161
161
|
# @param escalations_create_payload_v2 [EscalationsCreatePayloadV2]
|
|
162
162
|
# @param [Hash] opts the optional parameters
|
|
163
163
|
# @return [EscalationsCreateResultV2]
|
|
@@ -167,7 +167,7 @@ module IncidentIo
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Create Escalations V2
|
|
170
|
-
# Create an escalation. An escalation pages people, either according to an escalation path, or directly to specific users. You must provide either an escalation_path_id OR user_ids, but not both. When escalating via an escalation path, the escalation will follow the configured path with its levels and timeouts
|
|
170
|
+
# Create an escalation. An escalation pages people, either according to an escalation path, or directly to specific users. You must provide either an escalation_path_id OR user_ids, but not both. Each escalation pages at your default escalation urgency, and its priority field returns that urgency's name. When escalating via an escalation path, the escalation will follow the configured path with its levels and timeouts. When escalating directly to users, they're notified at that urgency's default interruption level (high or low), based on their notification rules. This endpoint is rate-limited to 60 requests per minute, since it is intended for interactive use cases (for example someone clicking a \"escalate to team\" button in your internal developer platform). To escalate based on automated alerts, we recommend sending events to an alert source instead. If your API key's permissions are scoped to teams, you can only escalate via an escalation path that one of those teams owns. Escalating directly to user_ids needs the permission at the account level, because an escalation aimed at a person has no owning team.
|
|
171
171
|
# @param escalations_create_payload_v2 [EscalationsCreatePayloadV2]
|
|
172
172
|
# @param [Hash] opts the optional parameters
|
|
173
173
|
# @return [Array<(EscalationsCreateResultV2, Integer, Hash)>] EscalationsCreateResultV2 data, response status code and response headers
|
|
@@ -317,7 +317,7 @@ module IncidentIo
|
|
|
317
317
|
end
|
|
318
318
|
|
|
319
319
|
# ReassignEscalation Escalations V2
|
|
320
|
-
# Reassign an escalation to a different escalation path or set of users. Use this when a page reached the wrong people. Reassigning creates a new escalation aimed at the targets you give, linked back to the original, and carries over the original's title, description,
|
|
320
|
+
# Reassign an escalation to a different escalation path or set of users. Use this when a page reached the wrong people. Reassigning creates a new escalation aimed at the targets you give, linked back to the original, and carries over the original's title, description, escalation urgency, incident and alert so the page stays attached to the same alert and acknowledgements keep grouping under it. You must provide either an escalation_path_id OR user_ids, but not both. Both name incident.io escalation paths and users, so an escalation cannot be reassigned to an external escalator such as PagerDuty or Opsgenie. By default the original escalation is resolved, so the first targets stop being paged. Pass resolve_original=false to leave it running alongside the new one. Resolving the original additionally needs the \"escalations.respond\" permission, since it stops a page someone else may be responding to. An escalation can only be reassigned once: calling this again for the same escalation is rejected. Retrying a request whose response you never saw is safe in the sense that matters — a reassignment that already happened is never repeated, so nobody is paged twice — but the retry is rejected rather than returning the escalation the first call created, so keep the ID from the original response. To use this API, you will need an API key with the \"Create and manage escalations\" permission. The reassignment is attributed to the key; to attribute it to one of your users instead, set the X-Incident-User header, which needs the \"api_keys.act_on_behalf_of_users\" scope and no team permissions on the key. If your API key's permissions are scoped to teams, the escalation you're reassigning must be owned by one of those teams, and you can only reassign via an escalation path one of them owns. Reassigning directly to user_ids needs the permission at the account level, because an escalation aimed at a person has no owning team.
|
|
321
321
|
# @param escalation_id [String] The ID of the escalation to reassign
|
|
322
322
|
# @param escalations_reassign_escalation_payload_v2 [EscalationsReassignEscalationPayloadV2]
|
|
323
323
|
# @param [Hash] opts the optional parameters
|
|
@@ -328,7 +328,7 @@ module IncidentIo
|
|
|
328
328
|
end
|
|
329
329
|
|
|
330
330
|
# ReassignEscalation Escalations V2
|
|
331
|
-
# Reassign an escalation to a different escalation path or set of users. Use this when a page reached the wrong people. Reassigning creates a new escalation aimed at the targets you give, linked back to the original, and carries over the original's title, description,
|
|
331
|
+
# Reassign an escalation to a different escalation path or set of users. Use this when a page reached the wrong people. Reassigning creates a new escalation aimed at the targets you give, linked back to the original, and carries over the original's title, description, escalation urgency, incident and alert so the page stays attached to the same alert and acknowledgements keep grouping under it. You must provide either an escalation_path_id OR user_ids, but not both. Both name incident.io escalation paths and users, so an escalation cannot be reassigned to an external escalator such as PagerDuty or Opsgenie. By default the original escalation is resolved, so the first targets stop being paged. Pass resolve_original=false to leave it running alongside the new one. Resolving the original additionally needs the \"escalations.respond\" permission, since it stops a page someone else may be responding to. An escalation can only be reassigned once: calling this again for the same escalation is rejected. Retrying a request whose response you never saw is safe in the sense that matters — a reassignment that already happened is never repeated, so nobody is paged twice — but the retry is rejected rather than returning the escalation the first call created, so keep the ID from the original response. To use this API, you will need an API key with the \"Create and manage escalations\" permission. The reassignment is attributed to the key; to attribute it to one of your users instead, set the X-Incident-User header, which needs the \"api_keys.act_on_behalf_of_users\" scope and no team permissions on the key. If your API key's permissions are scoped to teams, the escalation you're reassigning must be owned by one of those teams, and you can only reassign via an escalation path one of them owns. Reassigning directly to user_ids needs the permission at the account level, because an escalation aimed at a person has no owning team.
|
|
332
332
|
# @param escalation_id [String] The ID of the escalation to reassign
|
|
333
333
|
# @param escalations_reassign_escalation_payload_v2 [EscalationsReassignEscalationPayloadV2]
|
|
334
334
|
# @param [Hash] opts the optional parameters
|
|
@@ -18,7 +18,7 @@ module IncidentIo
|
|
|
18
18
|
# Human readable description of the role
|
|
19
19
|
attr_accessor :description
|
|
20
20
|
|
|
21
|
-
# API key role name Known values: `viewer`, `incident_creator`, `incident_editor`, `manage_settings`, `glossary_entries_manage`, `global_access`, `catalog_viewer`, `catalog_editor`, `incident_memberships_editor`, `schedules_editor`, `schedules_reader`, `schedule_overrides_editor`, `workflows_editor`, `workflows_viewer`, `private_workflows_editor`, `private_escalation_workflows_editor`, `on_call_editor`, `on_call_viewer`, `escalation_creator`, `post_incident_flow_opt_out`, `security_settings_editor`, `investigation_download`, `team_memberships_manage`, `status_page_publisher`, `status_page_viewer`, `postmortems_manage`, `api_keys_manage`, `notification_methods_manage`, `notification_methods_unredacted_viewer`, `incident_workload_viewer`, `incident_workload_private_viewer`, `act_on_behalf_of_users`, `secrets_manage`, `secrets_use`, `call_transcripts_viewer`, `heartbeats_ping`, `telemetry_query_restricted`, `telemetry_data_source_update`, `policies_viewer`, `policy_findings_manage`, `pay_reports_viewer`, `pay_reports_editor`, `pay_configs_viewer`, `pay_configs_editor`, `investigations_editor`, `telemetry_viewer`, `documents_viewer`, `user_sessions_revoke`, `users_viewer`, `access_control_manage`
|
|
21
|
+
# API key role name Known values: `viewer`, `incident_creator`, `incident_editor`, `manage_settings`, `glossary_entries_manage`, `global_access`, `catalog_viewer`, `catalog_editor`, `incident_memberships_editor`, `schedules_editor`, `schedules_reader`, `schedule_overrides_editor`, `workflows_editor`, `workflows_viewer`, `private_workflows_editor`, `private_escalation_workflows_editor`, `on_call_editor`, `on_call_viewer`, `escalation_creator`, `post_incident_flow_opt_out`, `security_settings_editor`, `investigation_download`, `team_memberships_manage`, `status_page_publisher`, `status_page_viewer`, `postmortems_manage`, `api_keys_manage`, `notification_methods_manage`, `notification_methods_unredacted_viewer`, `incident_workload_viewer`, `incident_workload_private_viewer`, `act_on_behalf_of_users`, `secrets_manage`, `secrets_use`, `call_transcripts_viewer`, `heartbeats_ping`, `telemetry_query_restricted`, `telemetry_data_source_update`, `policies_viewer`, `policy_findings_manage`, `private_policies_editor`, `pay_reports_viewer`, `pay_reports_editor`, `pay_configs_viewer`, `pay_configs_editor`, `investigations_editor`, `telemetry_viewer`, `documents_viewer`, `user_sessions_revoke`, `users_viewer`, `access_control_manage`
|
|
22
22
|
attr_accessor :name
|
|
23
23
|
|
|
24
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -14,9 +14,9 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
|
-
# The
|
|
17
|
+
# The escalation urgency this escalation pages with. This used to be the alert priority.
|
|
18
18
|
class EscalationPriorityV2 < ApiModelBase
|
|
19
|
-
# The
|
|
19
|
+
# The name of the escalation urgency this escalation pages with
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/incident_io/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: incident_io_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- incident.io
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-12-
|
|
11
|
+
date: 2026-12-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|