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: 6fa16aedf8c2498a5ca680b2a6fee43b7cb71abcb03fef4e65e769696159364f
4
- data.tar.gz: 0e1866b49680d022701ec82953184f2df33d65c58ec79f7109f6c1516b158374
3
+ metadata.gz: 889508dcdc5708cfe3f358c02ad7c113c40f08f6e99da025a924eab44099e42c
4
+ data.tar.gz: 6f1a67ad1aa054f5364e1c694d9b697502c762f2db9c55fb26a558f88bfad022
5
5
  SHA512:
6
- metadata.gz: 45a6f4975eb564e1a16208ed82dc172db0097526f308d9b93f4d0921b968b53755b2c0726af14e09e316c1f0ef0e1edc83c0a09cd07ee4e63f8f995d8a671ced
7
- data.tar.gz: c324a5656ba4ea81109dca620702727e6a04f2537aa5df9e788cdeeccc139d99cc09eb0f8a99c602fc82c3d7e8887655f8b3afab6cf116f73de700d34616fce7
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, using your default [alert priority](https://app.incident.io/~/settings/alerts/configuration/priorities). When escalating directly to users, they will receive a high-urgency notification, 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.
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, using your default [alert priority](https://app.incident.io/~/settings/alerts/configuration/priorities). When escalating directly to users, they will receive a high-urgency notification, 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.
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, priority, 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.
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&#39;s title, description, priority, 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&#x3D;false to leave it running alongside the new one. Resolving the original additionally needs the \&quot;escalations.respond\&quot; 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 \&quot;Create and manage escalations\&quot; 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 \&quot;api_keys.act_on_behalf_of_users\&quot; scope and no team permissions on the key. If your API key&#39;s permissions are scoped to teams, the escalation you&#39;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.
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&#39;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&#x3D;false to leave it running alongside the new one. Resolving the original additionally needs the \&quot;escalations.respond\&quot; 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 \&quot;Create and manage escalations\&quot; 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 \&quot;api_keys.act_on_behalf_of_users\&quot; scope and no team permissions on the key. If your API key&#39;s permissions are scoped to teams, the escalation you&#39;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 priority associated with this escalation.
17
+ # The escalation urgency this escalation pages with. This used to be the alert priority.
18
18
  class EscalationPriorityV2 < ApiModelBase
19
- # The human readable label for this priority
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.
@@ -4,5 +4,5 @@ module IncidentIo
4
4
  # The release workflow sets this before building, so it tracks whatever we
5
5
  # last published. Listed in .openapi-generator-ignore so regeneration can't
6
6
  # reset it.
7
- VERSION = "5.1.0"
7
+ VERSION = "5.2.0"
8
8
  end
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.1.0
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-01 00:00:00.000000000 Z
11
+ date: 2026-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday