incident_io_sdk 0.1.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 +7 -0
- data/LICENSE +21 -0
- data/README.md +859 -0
- data/incident_io_sdk.gemspec +29 -0
- data/lib/incident_io_sdk/api/actions_v1_api.rb +155 -0
- data/lib/incident_io_sdk/api/actions_v2_api.rb +152 -0
- data/lib/incident_io_sdk/api/alert_attributes_v2_api.rb +345 -0
- data/lib/incident_io_sdk/api/alert_events_v2_api.rb +99 -0
- data/lib/incident_io_sdk/api/alert_routes_v2_api.rb +363 -0
- data/lib/incident_io_sdk/api/alert_sources_v2_api.rb +345 -0
- data/lib/incident_io_sdk/api/alerts_v2_api.rb +247 -0
- data/lib/incident_io_sdk/api/catalog_v2_api.rb +816 -0
- data/lib/incident_io_sdk/api/catalog_v3_api.rb +823 -0
- data/lib/incident_io_sdk/api/custom_field_options_v1_api.rb +358 -0
- data/lib/incident_io_sdk/api/custom_fields_v1_api.rb +345 -0
- data/lib/incident_io_sdk/api/custom_fields_v2_api.rb +345 -0
- data/lib/incident_io_sdk/api/escalations_v2_api.rb +288 -0
- data/lib/incident_io_sdk/api/follow_ups_v2_api.rb +152 -0
- data/lib/incident_io_sdk/api/incident_attachments_v1_api.rb +221 -0
- data/lib/incident_io_sdk/api/incident_memberships_v1_api.rb +156 -0
- data/lib/incident_io_sdk/api/incident_roles_v1_api.rb +345 -0
- data/lib/incident_io_sdk/api/incident_roles_v2_api.rb +345 -0
- data/lib/incident_io_sdk/api/incident_statuses_v1_api.rb +345 -0
- data/lib/incident_io_sdk/api/incident_timestamps_v2_api.rb +142 -0
- data/lib/incident_io_sdk/api/incident_types_v1_api.rb +142 -0
- data/lib/incident_io_sdk/api/incident_updates_v2_api.rb +88 -0
- data/lib/incident_io_sdk/api/incidents_v1_api.rb +223 -0
- data/lib/incident_io_sdk/api/incidents_v2_api.rb +317 -0
- data/lib/incident_io_sdk/api/schedules_v2_api.rb +489 -0
- data/lib/incident_io_sdk/api/severities_v1_api.rb +345 -0
- data/lib/incident_io_sdk/api/users_v2_api.rb +154 -0
- data/lib/incident_io_sdk/api/utilities_v1_api.rb +193 -0
- data/lib/incident_io_sdk/api/workflows_v2_api.rb +348 -0
- data/lib/incident_io_sdk/api_client.rb +392 -0
- data/lib/incident_io_sdk/api_error.rb +58 -0
- data/lib/incident_io_sdk/configuration.rb +301 -0
- data/lib/incident_io_sdk/models/action_v1.rb +435 -0
- data/lib/incident_io_sdk/models/action_v2.rb +416 -0
- data/lib/incident_io_sdk/models/actions_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/actions_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/actions_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/actions_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/actor_v1.rb +229 -0
- data/lib/incident_io_sdk/models/actor_v2.rb +229 -0
- data/lib/incident_io_sdk/models/after_pagination_meta_result_v2.rb +265 -0
- data/lib/incident_io_sdk/models/alert_attribute_catalog_entry_v2.rb +292 -0
- data/lib/incident_io_sdk/models/alert_attribute_entry_v2.rb +258 -0
- data/lib/incident_io_sdk/models/alert_attribute_v2.rb +319 -0
- data/lib/incident_io_sdk/models/alert_attribute_value_v2.rb +240 -0
- data/lib/incident_io_sdk/models/alert_attributes_create_payload_v2.rb +292 -0
- data/lib/incident_io_sdk/models/alert_attributes_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_attributes_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/alert_attributes_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_attributes_update_payload_v2.rb +292 -0
- data/lib/incident_io_sdk/models/alert_attributes_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_events_create_http_payload_v2.rb +331 -0
- data/lib/incident_io_sdk/models/alert_events_create_http_result_v2.rb +292 -0
- data/lib/incident_io_sdk/models/alert_route_alert_source_payload_v2.rb +267 -0
- data/lib/incident_io_sdk/models/alert_route_alert_source_v2.rb +267 -0
- data/lib/incident_io_sdk/models/alert_route_auto_generated_template_binding_payload_v2.rb +230 -0
- data/lib/incident_io_sdk/models/alert_route_auto_generated_template_binding_v2.rb +247 -0
- data/lib/incident_io_sdk/models/alert_route_channel_config_payload_v2.rb +258 -0
- data/lib/incident_io_sdk/models/alert_route_channel_config_v2.rb +258 -0
- data/lib/incident_io_sdk/models/alert_route_channel_target_payload_v2.rb +264 -0
- data/lib/incident_io_sdk/models/alert_route_channel_target_v2.rb +264 -0
- data/lib/incident_io_sdk/models/alert_route_custom_field_binding_payload_v2.rb +315 -0
- data/lib/incident_io_sdk/models/alert_route_custom_field_binding_v2.rb +315 -0
- data/lib/incident_io_sdk/models/alert_route_escalation_config_payload_v2.rb +267 -0
- data/lib/incident_io_sdk/models/alert_route_escalation_config_v2.rb +267 -0
- data/lib/incident_io_sdk/models/alert_route_escalation_target_payload_v2.rb +229 -0
- data/lib/incident_io_sdk/models/alert_route_escalation_target_v2.rb +229 -0
- data/lib/incident_io_sdk/models/alert_route_incident_config_payload_v2.rb +377 -0
- data/lib/incident_io_sdk/models/alert_route_incident_config_v2.rb +377 -0
- data/lib/incident_io_sdk/models/alert_route_incident_template_payload_v2.rb +303 -0
- data/lib/incident_io_sdk/models/alert_route_incident_template_v2.rb +303 -0
- data/lib/incident_io_sdk/models/alert_route_severity_binding_payload_v2.rb +271 -0
- data/lib/incident_io_sdk/models/alert_route_severity_binding_v2.rb +271 -0
- data/lib/incident_io_sdk/models/alert_route_slim_v2.rb +292 -0
- data/lib/incident_io_sdk/models/alert_route_template_binding_payload_v2.rb +220 -0
- data/lib/incident_io_sdk/models/alert_route_template_binding_v2.rb +220 -0
- data/lib/incident_io_sdk/models/alert_route_v2.rb +560 -0
- data/lib/incident_io_sdk/models/alert_routes_create_payload_v2.rb +533 -0
- data/lib/incident_io_sdk/models/alert_routes_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_routes_list_result_v2.rb +265 -0
- data/lib/incident_io_sdk/models/alert_routes_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_routes_update_payload_v2.rb +533 -0
- data/lib/incident_io_sdk/models/alert_routes_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_slim_v2.rb +454 -0
- data/lib/incident_io_sdk/models/alert_source_email_options_v2.rb +238 -0
- data/lib/incident_io_sdk/models/alert_source_jira_options_v2.rb +240 -0
- data/lib/incident_io_sdk/models/alert_source_v2.rb +370 -0
- data/lib/incident_io_sdk/models/alert_sources_create_payload_v2.rb +324 -0
- data/lib/incident_io_sdk/models/alert_sources_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_sources_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/alert_sources_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_sources_update_payload_v2.rb +273 -0
- data/lib/incident_io_sdk/models/alert_sources_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/alert_template_attribute_payload_v2.rb +264 -0
- data/lib/incident_io_sdk/models/alert_template_attribute_v2.rb +264 -0
- data/lib/incident_io_sdk/models/alert_template_payload_v2.rb +321 -0
- data/lib/incident_io_sdk/models/alert_template_v2.rb +321 -0
- data/lib/incident_io_sdk/models/alert_v2.rb +483 -0
- data/lib/incident_io_sdk/models/alerts_list_incident_alerts_result_v2.rb +265 -0
- data/lib/incident_io_sdk/models/alerts_list_result_v2.rb +265 -0
- data/lib/incident_io_sdk/models/alerts_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/api_key_v1.rb +265 -0
- data/lib/incident_io_sdk/models/api_key_v2.rb +265 -0
- data/lib/incident_io_sdk/models/audit_log_actor_metadata_v2.rb +261 -0
- data/lib/incident_io_sdk/models/audit_log_actor_v2.rb +308 -0
- data/lib/incident_io_sdk/models/audit_log_entry_context_v2.rb +248 -0
- data/lib/incident_io_sdk/models/audit_log_private_incident_access_attempted_metadata_v2.rb +255 -0
- data/lib/incident_io_sdk/models/audit_log_target_v2.rb +299 -0
- data/lib/incident_io_sdk/models/audit_log_user_role_membership_changed_metadata_v2.rb +319 -0
- data/lib/incident_io_sdk/models/audit_log_user_scim_group_mapping_changed_metadata_v2.rb +251 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_route_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_route_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_route_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_schema_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_source_config_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_source_config_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_alert_source_config_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_announcement_rule_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_announcement_rule_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_announcement_rule_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_api_key_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_api_key_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_catalog_type_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_catalog_type_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_catalog_type_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_custom_field_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_custom_field_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_custom_field_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_debrief_invite_rule_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_escalation_path_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_escalation_path_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_escalation_path_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_follow_up_priority_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_holiday_user_feed_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_call_setting_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_duration_metric_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_role_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_role_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_role_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_status_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_status_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_status_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_timestamp_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_type_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_type_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_incident_type_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_integration_installed_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_integration_uninstalled_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_internal_status_page_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_internal_status_page_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_internal_status_page_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_nudge_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_nudge_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_nudge_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_policy_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_policy_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_policy_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_post_incident_task_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_post_incident_task_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_post_incident_task_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_created_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_deleted_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_section_updated_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_created_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_deleted_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_postmortem_template_updated_v2.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_private_incident_access_attempted_v1.rb +399 -0
- data/lib/incident_io_sdk/models/audit_logs_private_incident_access_requested_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_private_incident_membership_granted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_private_incident_membership_revoked_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_rbac_role_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_rbac_role_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_rbac_role_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_override_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_override_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_override_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_schedule_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_scim_group_role_mappings_updated_v1.rb +399 -0
- data/lib/incident_io_sdk/models/audit_logs_severity_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_severity_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_severity_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_sub_page_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_template_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_template_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_template_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_status_page_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_user_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_user_deactivated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_user_reinstated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_user_role_memberships_updated_v1.rb +399 -0
- data/lib/incident_io_sdk/models/audit_logs_user_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_workflow_created_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_workflow_deleted_v1.rb +373 -0
- data/lib/incident_io_sdk/models/audit_logs_workflow_updated_v1.rb +373 -0
- data/lib/incident_io_sdk/models/catalog_create_entry_payload_v2.rb +326 -0
- data/lib/incident_io_sdk/models/catalog_create_entry_payload_v3.rb +326 -0
- data/lib/incident_io_sdk/models/catalog_create_entry_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_create_entry_result_v3.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_create_type_payload_v2.rb +385 -0
- data/lib/incident_io_sdk/models/catalog_create_type_payload_v3.rb +385 -0
- data/lib/incident_io_sdk/models/catalog_create_type_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_create_type_result_v3.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_engine_param_binding_payload_v3.rb +232 -0
- data/lib/incident_io_sdk/models/catalog_engine_param_binding_value_payload_v3.rb +221 -0
- data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_v2.rb +232 -0
- data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_v3.rb +232 -0
- data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_value_v2.rb +344 -0
- data/lib/incident_io_sdk/models/catalog_entry_engine_param_binding_value_v3.rb +248 -0
- data/lib/incident_io_sdk/models/catalog_entry_reference_v2.rb +302 -0
- data/lib/incident_io_sdk/models/catalog_entry_v2.rb +451 -0
- data/lib/incident_io_sdk/models/catalog_entry_v3.rb +451 -0
- data/lib/incident_io_sdk/models/catalog_list_entries_result_v2.rb +291 -0
- data/lib/incident_io_sdk/models/catalog_list_entries_result_v3.rb +291 -0
- data/lib/incident_io_sdk/models/catalog_list_resources_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/catalog_list_resources_result_v3.rb +239 -0
- data/lib/incident_io_sdk/models/catalog_list_types_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/catalog_list_types_result_v3.rb +239 -0
- data/lib/incident_io_sdk/models/catalog_resource_v2.rb +370 -0
- data/lib/incident_io_sdk/models/catalog_resource_v3.rb +370 -0
- data/lib/incident_io_sdk/models/catalog_show_entry_result_v2.rb +263 -0
- data/lib/incident_io_sdk/models/catalog_show_entry_result_v3.rb +263 -0
- data/lib/incident_io_sdk/models/catalog_show_type_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_show_type_result_v3.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_payload_v2.rb +238 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_payload_v3.rb +238 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_v2.rb +265 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_path_item_v3.rb +265 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_payload_v2.rb +368 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_payload_v3.rb +368 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_v2.rb +392 -0
- data/lib/incident_io_sdk/models/catalog_type_attribute_v3.rb +392 -0
- data/lib/incident_io_sdk/models/catalog_type_schema_v2.rb +267 -0
- data/lib/incident_io_sdk/models/catalog_type_schema_v3.rb +267 -0
- data/lib/incident_io_sdk/models/catalog_type_v2.rb +670 -0
- data/lib/incident_io_sdk/models/catalog_type_v3.rb +643 -0
- data/lib/incident_io_sdk/models/catalog_update_entry_payload_v2.rb +299 -0
- data/lib/incident_io_sdk/models/catalog_update_entry_payload_v3.rb +311 -0
- data/lib/incident_io_sdk/models/catalog_update_entry_result_v2.rb +263 -0
- data/lib/incident_io_sdk/models/catalog_update_entry_result_v3.rb +263 -0
- data/lib/incident_io_sdk/models/catalog_update_type_payload_v2.rb +375 -0
- data/lib/incident_io_sdk/models/catalog_update_type_payload_v3.rb +375 -0
- data/lib/incident_io_sdk/models/catalog_update_type_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_update_type_result_v3.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_update_type_schema_payload_v2.rb +265 -0
- data/lib/incident_io_sdk/models/catalog_update_type_schema_payload_v3.rb +265 -0
- data/lib/incident_io_sdk/models/catalog_update_type_schema_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/catalog_update_type_schema_result_v3.rb +237 -0
- data/lib/incident_io_sdk/models/condition_group_payload_v2.rb +240 -0
- data/lib/incident_io_sdk/models/condition_group_v2.rb +240 -0
- data/lib/incident_io_sdk/models/condition_operation_v2.rb +265 -0
- data/lib/incident_io_sdk/models/condition_payload_v2.rb +294 -0
- data/lib/incident_io_sdk/models/condition_subject_v2.rb +265 -0
- data/lib/incident_io_sdk/models/condition_v2.rb +292 -0
- data/lib/incident_io_sdk/models/custom_field_entry_payload_v1.rb +267 -0
- data/lib/incident_io_sdk/models/custom_field_entry_payload_v2.rb +267 -0
- data/lib/incident_io_sdk/models/custom_field_entry_v1.rb +266 -0
- data/lib/incident_io_sdk/models/custom_field_entry_v2.rb +266 -0
- data/lib/incident_io_sdk/models/custom_field_filter_by_options_v2.rb +265 -0
- data/lib/incident_io_sdk/models/custom_field_option_v1.rb +319 -0
- data/lib/incident_io_sdk/models/custom_field_option_v2.rb +319 -0
- data/lib/incident_io_sdk/models/custom_field_options_create_payload_v1.rb +277 -0
- data/lib/incident_io_sdk/models/custom_field_options_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_field_options_list_result_v1.rb +265 -0
- data/lib/incident_io_sdk/models/custom_field_options_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_field_options_update_payload_v1.rb +265 -0
- data/lib/incident_io_sdk/models/custom_field_options_update_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_field_type_info_v1.rb +381 -0
- data/lib/incident_io_sdk/models/custom_field_type_info_v2.rb +381 -0
- data/lib/incident_io_sdk/models/custom_field_v1.rb +580 -0
- data/lib/incident_io_sdk/models/custom_field_v2.rb +445 -0
- data/lib/incident_io_sdk/models/custom_field_value_payload_v1.rb +281 -0
- data/lib/incident_io_sdk/models/custom_field_value_payload_v2.rb +281 -0
- data/lib/incident_io_sdk/models/custom_field_value_v1.rb +259 -0
- data/lib/incident_io_sdk/models/custom_field_value_v2.rb +259 -0
- data/lib/incident_io_sdk/models/custom_fields_create_payload_v1.rb +460 -0
- data/lib/incident_io_sdk/models/custom_fields_create_payload_v2.rb +364 -0
- data/lib/incident_io_sdk/models/custom_fields_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_fields_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/custom_fields_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/custom_fields_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/custom_fields_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_fields_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/custom_fields_update_payload_v1.rb +431 -0
- data/lib/incident_io_sdk/models/custom_fields_update_payload_v2.rb +303 -0
- data/lib/incident_io_sdk/models/custom_fields_update_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/custom_fields_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/embedded_catalog_entry_v1.rb +287 -0
- data/lib/incident_io_sdk/models/embedded_catalog_entry_v2.rb +287 -0
- data/lib/incident_io_sdk/models/embedded_incident_role_v2.rb +479 -0
- data/lib/incident_io_sdk/models/engine_param_binding_payload_v2.rb +232 -0
- data/lib/incident_io_sdk/models/engine_param_binding_v2.rb +232 -0
- data/lib/incident_io_sdk/models/engine_param_binding_value_payload_v2.rb +231 -0
- data/lib/incident_io_sdk/models/engine_param_binding_value_v2.rb +258 -0
- data/lib/incident_io_sdk/models/engine_reference_v2.rb +319 -0
- data/lib/incident_io_sdk/models/escalation_path_node_if_else_payload_v2.rb +281 -0
- data/lib/incident_io_sdk/models/escalation_path_node_if_else_v2.rb +298 -0
- data/lib/incident_io_sdk/models/escalation_path_node_level_v2.rb +313 -0
- data/lib/incident_io_sdk/models/escalation_path_node_notify_channel_v2.rb +304 -0
- data/lib/incident_io_sdk/models/escalation_path_node_payload_v2.rb +325 -0
- data/lib/incident_io_sdk/models/escalation_path_node_repeat_v2.rb +265 -0
- data/lib/incident_io_sdk/models/escalation_path_node_v2.rb +325 -0
- data/lib/incident_io_sdk/models/escalation_path_round_robin_config_v2.rb +248 -0
- data/lib/incident_io_sdk/models/escalation_path_target_v2.rb +340 -0
- data/lib/incident_io_sdk/models/escalation_path_v2.rb +335 -0
- data/lib/incident_io_sdk/models/escalations_create_path_payload_v2.rb +291 -0
- data/lib/incident_io_sdk/models/escalations_create_path_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/escalations_show_path_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/escalations_update_path_payload_v2.rb +291 -0
- data/lib/incident_io_sdk/models/escalations_update_path_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/expression_branch_payload_v2.rb +266 -0
- data/lib/incident_io_sdk/models/expression_branch_v2.rb +266 -0
- data/lib/incident_io_sdk/models/expression_branches_opts_payload_v2.rb +266 -0
- data/lib/incident_io_sdk/models/expression_branches_opts_v2.rb +266 -0
- data/lib/incident_io_sdk/models/expression_else_branch_payload_v2.rb +237 -0
- data/lib/incident_io_sdk/models/expression_else_branch_v2.rb +237 -0
- data/lib/incident_io_sdk/models/expression_filter_opts_payload_v2.rb +240 -0
- data/lib/incident_io_sdk/models/expression_filter_opts_v2.rb +240 -0
- data/lib/incident_io_sdk/models/expression_navigate_opts_payload_v2.rb +238 -0
- data/lib/incident_io_sdk/models/expression_navigate_opts_v2.rb +265 -0
- data/lib/incident_io_sdk/models/expression_operation_payload_v2.rb +298 -0
- data/lib/incident_io_sdk/models/expression_operation_v2.rb +324 -0
- data/lib/incident_io_sdk/models/expression_parse_opts_payload_v2.rb +264 -0
- data/lib/incident_io_sdk/models/expression_parse_opts_v2.rb +264 -0
- data/lib/incident_io_sdk/models/expression_payload_v2.rb +329 -0
- data/lib/incident_io_sdk/models/expression_v2.rb +355 -0
- data/lib/incident_io_sdk/models/external_issue_reference_v1.rb +275 -0
- data/lib/incident_io_sdk/models/external_issue_reference_v2.rb +316 -0
- data/lib/incident_io_sdk/models/external_issue_reference_v6.rb +316 -0
- data/lib/incident_io_sdk/models/external_resource_v1.rb +343 -0
- data/lib/incident_io_sdk/models/follow_up_priority_v2.rb +302 -0
- data/lib/incident_io_sdk/models/follow_up_v2.rb +444 -0
- data/lib/incident_io_sdk/models/follow_ups_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/follow_ups_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/grouping_key_v2.rb +238 -0
- data/lib/incident_io_sdk/models/identity_v1.rb +306 -0
- data/lib/incident_io_sdk/models/incident_alert_v2.rb +300 -0
- data/lib/incident_io_sdk/models/incident_attachment_v1.rb +291 -0
- data/lib/incident_io_sdk/models/incident_attachments_create_payload_v1.rb +264 -0
- data/lib/incident_io_sdk/models/incident_attachments_create_payload_v1_resource.rb +289 -0
- data/lib/incident_io_sdk/models/incident_attachments_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_attachments_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/incident_duration_metric_v2.rb +265 -0
- data/lib/incident_io_sdk/models/incident_duration_metric_with_value_v2.rb +247 -0
- data/lib/incident_io_sdk/models/incident_edit_payload_v2.rb +307 -0
- data/lib/incident_io_sdk/models/incident_membership_v1.rb +345 -0
- data/lib/incident_io_sdk/models/incident_memberships_create_payload_v1.rb +263 -0
- data/lib/incident_io_sdk/models/incident_memberships_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_memberships_revoke_payload_v1.rb +264 -0
- data/lib/incident_io_sdk/models/incident_role_assignment_payload_v1.rb +264 -0
- data/lib/incident_io_sdk/models/incident_role_assignment_payload_v2.rb +247 -0
- data/lib/incident_io_sdk/models/incident_role_assignment_v1.rb +246 -0
- data/lib/incident_io_sdk/models/incident_role_assignment_v2.rb +246 -0
- data/lib/incident_io_sdk/models/incident_role_v1.rb +479 -0
- data/lib/incident_io_sdk/models/incident_role_v2.rb +469 -0
- data/lib/incident_io_sdk/models/incident_roles_create_payload_v1.rb +364 -0
- data/lib/incident_io_sdk/models/incident_roles_create_payload_v2.rb +337 -0
- data/lib/incident_io_sdk/models/incident_roles_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_roles_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incident_roles_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/incident_roles_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/incident_roles_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_roles_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incident_roles_update_payload_v1.rb +347 -0
- data/lib/incident_io_sdk/models/incident_roles_update_payload_v2.rb +337 -0
- data/lib/incident_io_sdk/models/incident_roles_update_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_roles_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incident_slim_v2.rb +410 -0
- data/lib/incident_io_sdk/models/incident_status_v1.rb +422 -0
- data/lib/incident_io_sdk/models/incident_status_v2.rb +422 -0
- data/lib/incident_io_sdk/models/incident_statuses_create_payload_v1.rb +316 -0
- data/lib/incident_io_sdk/models/incident_statuses_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_statuses_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/incident_statuses_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_statuses_update_payload_v1.rb +265 -0
- data/lib/incident_io_sdk/models/incident_statuses_update_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_timestamp_v2.rb +292 -0
- data/lib/incident_io_sdk/models/incident_timestamp_value_payload_v2.rb +248 -0
- data/lib/incident_io_sdk/models/incident_timestamp_value_v1.rb +248 -0
- data/lib/incident_io_sdk/models/incident_timestamp_value_v2.rb +221 -0
- data/lib/incident_io_sdk/models/incident_timestamp_with_value_v2.rb +246 -0
- data/lib/incident_io_sdk/models/incident_timestamps_list_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/incident_timestamps_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incident_type_v1.rb +451 -0
- data/lib/incident_io_sdk/models/incident_type_v2.rb +451 -0
- data/lib/incident_io_sdk/models/incident_types_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/incident_types_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incident_update_v2.rb +373 -0
- data/lib/incident_io_sdk/models/incident_updates_list_result_v2.rb +248 -0
- data/lib/incident_io_sdk/models/incident_v1.rb +673 -0
- data/lib/incident_io_sdk/models/incident_v2.rb +741 -0
- data/lib/incident_io_sdk/models/incident_with_status_change_v2.rb +299 -0
- data/lib/incident_io_sdk/models/incidents_create_payload_v1.rb +427 -0
- data/lib/incident_io_sdk/models/incidents_create_payload_v2.rb +426 -0
- data/lib/incident_io_sdk/models/incidents_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incidents_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incidents_edit_payload_v2.rb +264 -0
- data/lib/incident_io_sdk/models/incidents_edit_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/incidents_list_result_v1.rb +248 -0
- data/lib/incident_io_sdk/models/incidents_list_result_v2.rb +248 -0
- data/lib/incident_io_sdk/models/incidents_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/incidents_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/management_meta_v2.rb +301 -0
- data/lib/incident_io_sdk/models/pagination_meta_result_v1.rb +248 -0
- data/lib/incident_io_sdk/models/pagination_meta_result_v2.rb +248 -0
- data/lib/incident_io_sdk/models/pagination_meta_result_v3.rb +248 -0
- data/lib/incident_io_sdk/models/pagination_meta_result_with_total_v1.rb +258 -0
- data/lib/incident_io_sdk/models/pagination_meta_result_with_total_v2.rb +258 -0
- data/lib/incident_io_sdk/models/rbac_role_v2.rb +302 -0
- data/lib/incident_io_sdk/models/retrospective_incident_options_v2.rb +241 -0
- data/lib/incident_io_sdk/models/returns_meta_v2.rb +265 -0
- data/lib/incident_io_sdk/models/schedule_config_create_payload_v2.rb +222 -0
- data/lib/incident_io_sdk/models/schedule_config_update_payload_v2.rb +222 -0
- data/lib/incident_io_sdk/models/schedule_config_v2.rb +240 -0
- data/lib/incident_io_sdk/models/schedule_create_payload_v2.rb +273 -0
- data/lib/incident_io_sdk/models/schedule_entries_list_payload_v2.rb +295 -0
- data/lib/incident_io_sdk/models/schedule_entry_v2.rb +312 -0
- data/lib/incident_io_sdk/models/schedule_holidays_public_config_payload_v2.rb +240 -0
- data/lib/incident_io_sdk/models/schedule_holidays_public_config_v2.rb +240 -0
- data/lib/incident_io_sdk/models/schedule_layer_create_payload_v2.rb +248 -0
- data/lib/incident_io_sdk/models/schedule_layer_update_payload_v2.rb +231 -0
- data/lib/incident_io_sdk/models/schedule_layer_v2.rb +231 -0
- data/lib/incident_io_sdk/models/schedule_override_v2.rb +434 -0
- data/lib/incident_io_sdk/models/schedule_rotation_create_payload_v2.rb +310 -0
- data/lib/incident_io_sdk/models/schedule_rotation_handover_v2.rb +264 -0
- data/lib/incident_io_sdk/models/schedule_rotation_update_payload_v2.rb +293 -0
- data/lib/incident_io_sdk/models/schedule_rotation_v2.rb +430 -0
- data/lib/incident_io_sdk/models/schedule_rotation_working_interval_create_payload_v2.rb +316 -0
- data/lib/incident_io_sdk/models/schedule_rotation_working_interval_update_payload_v2.rb +275 -0
- data/lib/incident_io_sdk/models/schedule_rotation_working_interval_v2.rb +316 -0
- data/lib/incident_io_sdk/models/schedule_update_payload_v2.rb +273 -0
- data/lib/incident_io_sdk/models/schedule_v2.rb +432 -0
- data/lib/incident_io_sdk/models/schedules_create_override_payload_v2.rb +372 -0
- data/lib/incident_io_sdk/models/schedules_create_override_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/schedules_create_payload_v2.rb +237 -0
- data/lib/incident_io_sdk/models/schedules_create_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/schedules_list_result_v2.rb +248 -0
- data/lib/incident_io_sdk/models/schedules_list_schedule_entries_result_v2.rb +246 -0
- data/lib/incident_io_sdk/models/schedules_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/schedules_update_payload_v2.rb +237 -0
- data/lib/incident_io_sdk/models/schedules_update_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/severities_create_payload_v1.rb +284 -0
- data/lib/incident_io_sdk/models/severities_create_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/severities_list_result_v1.rb +239 -0
- data/lib/incident_io_sdk/models/severities_show_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/severities_update_payload_v1.rb +284 -0
- data/lib/incident_io_sdk/models/severities_update_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/severity_v1.rb +382 -0
- data/lib/incident_io_sdk/models/severity_v2.rb +382 -0
- data/lib/incident_io_sdk/models/step_config_payload_v2.rb +304 -0
- data/lib/incident_io_sdk/models/step_config_slim_v2.rb +265 -0
- data/lib/incident_io_sdk/models/step_config_v2.rb +331 -0
- data/lib/incident_io_sdk/models/trigger_slim_v2.rb +265 -0
- data/lib/incident_io_sdk/models/user_reference_payload_v1.rb +241 -0
- data/lib/incident_io_sdk/models/user_reference_payload_v2.rb +241 -0
- data/lib/incident_io_sdk/models/user_v1.rb +336 -0
- data/lib/incident_io_sdk/models/user_v2.rb +336 -0
- data/lib/incident_io_sdk/models/user_with_roles_v2.rb +390 -0
- data/lib/incident_io_sdk/models/users_list_result_v2.rb +265 -0
- data/lib/incident_io_sdk/models/users_show_result_v2.rb +237 -0
- data/lib/incident_io_sdk/models/utilities_identity_result_v1.rb +237 -0
- data/lib/incident_io_sdk/models/webhook_incident_user_v2.rb +275 -0
- data/lib/incident_io_sdk/models/webhook_incident_v2.rb +763 -0
- data/lib/incident_io_sdk/models/webhook_private_resource_v2.rb +238 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_action_created_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_action_updated_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_follow_up_created_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_follow_up_updated_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_incident_created_v2_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_incident_updated_v2_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_membership_granted_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_private_incident_membership_revoked_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_action_created_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_action_updated_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_follow_up_created_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_follow_up_updated_v1_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_incident_created_v2_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_incident_status_updated_v2_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/webhooks_public_incident_incident_updated_v2_response_body.rb +288 -0
- data/lib/incident_io_sdk/models/weekday_interval_config_v2.rb +320 -0
- data/lib/incident_io_sdk/models/weekday_interval_v2.rb +316 -0
- data/lib/incident_io_sdk/models/workflow_delay_v2.rb +265 -0
- data/lib/incident_io_sdk/models/workflow_slim_v2.rb +626 -0
- data/lib/incident_io_sdk/models/workflow_v2.rb +626 -0
- data/lib/incident_io_sdk/models/workflows_create_workflow_payload_v2.rb +568 -0
- data/lib/incident_io_sdk/models/workflows_create_workflow_result_v2.rb +263 -0
- data/lib/incident_io_sdk/models/workflows_list_workflows_result_v2.rb +239 -0
- data/lib/incident_io_sdk/models/workflows_show_workflow_result_v2.rb +263 -0
- data/lib/incident_io_sdk/models/workflows_update_workflow_payload_v2.rb +541 -0
- data/lib/incident_io_sdk/models/workflows_update_workflow_result_v2.rb +263 -0
- data/lib/incident_io_sdk/version.rb +15 -0
- data/lib/incident_io_sdk.rb +547 -0
- data/spec/api/actions_v1_api_spec.rb +61 -0
- data/spec/api/actions_v2_api_spec.rb +60 -0
- data/spec/api/alert_attributes_v2_api_spec.rb +95 -0
- data/spec/api/alert_events_v2_api_spec.rb +49 -0
- data/spec/api/alert_routes_v2_api_spec.rb +97 -0
- data/spec/api/alert_sources_v2_api_spec.rb +95 -0
- data/spec/api/alerts_v2_api_spec.rb +77 -0
- data/spec/api/catalog_v2_api_spec.rb +182 -0
- data/spec/api/catalog_v3_api_spec.rb +183 -0
- data/spec/api/custom_field_options_v1_api_spec.rb +98 -0
- data/spec/api/custom_fields_v1_api_spec.rb +95 -0
- data/spec/api/custom_fields_v2_api_spec.rb +95 -0
- data/spec/api/escalations_v2_api_spec.rb +84 -0
- data/spec/api/follow_ups_v2_api_spec.rb +60 -0
- data/spec/api/incident_attachments_v1_api_spec.rb +73 -0
- data/spec/api/incident_memberships_v1_api_spec.rb +59 -0
- data/spec/api/incident_roles_v1_api_spec.rb +95 -0
- data/spec/api/incident_roles_v2_api_spec.rb +95 -0
- data/spec/api/incident_statuses_v1_api_spec.rb +95 -0
- data/spec/api/incident_timestamps_v2_api_spec.rb +58 -0
- data/spec/api/incident_types_v1_api_spec.rb +58 -0
- data/spec/api/incident_updates_v2_api_spec.rb +49 -0
- data/spec/api/incidents_v1_api_spec.rb +73 -0
- data/spec/api/incidents_v2_api_spec.rb +94 -0
- data/spec/api/schedules_v2_api_spec.rb +123 -0
- data/spec/api/severities_v1_api_spec.rb +95 -0
- data/spec/api/users_v2_api_spec.rb +62 -0
- data/spec/api/utilities_v1_api_spec.rb +68 -0
- data/spec/api/workflows_v2_api_spec.rb +96 -0
- data/spec/models/action_v1_spec.rb +94 -0
- data/spec/models/action_v2_spec.rb +82 -0
- data/spec/models/actions_list_result_v1_spec.rb +36 -0
- data/spec/models/actions_list_result_v2_spec.rb +36 -0
- data/spec/models/actions_show_result_v1_spec.rb +36 -0
- data/spec/models/actions_show_result_v2_spec.rb +36 -0
- data/spec/models/actor_v1_spec.rb +42 -0
- data/spec/models/actor_v2_spec.rb +42 -0
- data/spec/models/after_pagination_meta_result_v2_spec.rb +42 -0
- data/spec/models/alert_attribute_catalog_entry_v2_spec.rb +48 -0
- data/spec/models/alert_attribute_entry_v2_spec.rb +48 -0
- data/spec/models/alert_attribute_v2_spec.rb +54 -0
- data/spec/models/alert_attribute_value_v2_spec.rb +48 -0
- data/spec/models/alert_attributes_create_payload_v2_spec.rb +48 -0
- data/spec/models/alert_attributes_create_result_v2_spec.rb +36 -0
- data/spec/models/alert_attributes_list_result_v2_spec.rb +36 -0
- data/spec/models/alert_attributes_show_result_v2_spec.rb +36 -0
- data/spec/models/alert_attributes_update_payload_v2_spec.rb +48 -0
- data/spec/models/alert_attributes_update_result_v2_spec.rb +36 -0
- data/spec/models/alert_events_create_http_payload_v2_spec.rb +70 -0
- data/spec/models/alert_events_create_http_result_v2_spec.rb +48 -0
- data/spec/models/alert_route_alert_source_payload_v2_spec.rb +42 -0
- data/spec/models/alert_route_alert_source_v2_spec.rb +42 -0
- data/spec/models/alert_route_auto_generated_template_binding_payload_v2_spec.rb +42 -0
- data/spec/models/alert_route_auto_generated_template_binding_v2_spec.rb +42 -0
- data/spec/models/alert_route_channel_config_payload_v2_spec.rb +48 -0
- data/spec/models/alert_route_channel_config_v2_spec.rb +48 -0
- data/spec/models/alert_route_channel_target_payload_v2_spec.rb +42 -0
- data/spec/models/alert_route_channel_target_v2_spec.rb +42 -0
- data/spec/models/alert_route_custom_field_binding_payload_v2_spec.rb +52 -0
- data/spec/models/alert_route_custom_field_binding_v2_spec.rb +52 -0
- data/spec/models/alert_route_escalation_config_payload_v2_spec.rb +42 -0
- data/spec/models/alert_route_escalation_config_v2_spec.rb +42 -0
- data/spec/models/alert_route_escalation_target_payload_v2_spec.rb +42 -0
- data/spec/models/alert_route_escalation_target_v2_spec.rb +42 -0
- data/spec/models/alert_route_incident_config_payload_v2_spec.rb +66 -0
- data/spec/models/alert_route_incident_config_v2_spec.rb +66 -0
- data/spec/models/alert_route_incident_template_payload_v2_spec.rb +78 -0
- data/spec/models/alert_route_incident_template_v2_spec.rb +78 -0
- data/spec/models/alert_route_severity_binding_payload_v2_spec.rb +46 -0
- data/spec/models/alert_route_severity_binding_v2_spec.rb +46 -0
- data/spec/models/alert_route_slim_v2_spec.rb +48 -0
- data/spec/models/alert_route_template_binding_payload_v2_spec.rb +36 -0
- data/spec/models/alert_route_template_binding_v2_spec.rb +36 -0
- data/spec/models/alert_route_v2_spec.rb +114 -0
- data/spec/models/alert_routes_create_payload_v2_spec.rb +108 -0
- data/spec/models/alert_routes_create_result_v2_spec.rb +36 -0
- data/spec/models/alert_routes_list_result_v2_spec.rb +42 -0
- data/spec/models/alert_routes_show_result_v2_spec.rb +36 -0
- data/spec/models/alert_routes_update_payload_v2_spec.rb +108 -0
- data/spec/models/alert_routes_update_result_v2_spec.rb +36 -0
- data/spec/models/alert_slim_v2_spec.rb +94 -0
- data/spec/models/alert_source_email_options_v2_spec.rb +36 -0
- data/spec/models/alert_source_jira_options_v2_spec.rb +36 -0
- data/spec/models/alert_source_v2_spec.rb +76 -0
- data/spec/models/alert_sources_create_payload_v2_spec.rb +58 -0
- data/spec/models/alert_sources_create_result_v2_spec.rb +36 -0
- data/spec/models/alert_sources_list_result_v2_spec.rb +36 -0
- data/spec/models/alert_sources_show_result_v2_spec.rb +36 -0
- data/spec/models/alert_sources_update_payload_v2_spec.rb +48 -0
- data/spec/models/alert_sources_update_result_v2_spec.rb +36 -0
- data/spec/models/alert_template_attribute_payload_v2_spec.rb +42 -0
- data/spec/models/alert_template_attribute_v2_spec.rb +42 -0
- data/spec/models/alert_template_payload_v2_spec.rb +54 -0
- data/spec/models/alert_template_v2_spec.rb +54 -0
- data/spec/models/alert_v2_spec.rb +100 -0
- data/spec/models/alerts_list_incident_alerts_result_v2_spec.rb +42 -0
- data/spec/models/alerts_list_result_v2_spec.rb +42 -0
- data/spec/models/alerts_show_result_v2_spec.rb +36 -0
- data/spec/models/api_key_v1_spec.rb +42 -0
- data/spec/models/api_key_v2_spec.rb +42 -0
- data/spec/models/audit_log_actor_metadata_v2_spec.rb +60 -0
- data/spec/models/audit_log_actor_v2_spec.rb +58 -0
- data/spec/models/audit_log_entry_context_v2_spec.rb +42 -0
- data/spec/models/audit_log_private_incident_access_attempted_metadata_v2_spec.rb +40 -0
- data/spec/models/audit_log_target_v2_spec.rb +52 -0
- data/spec/models/audit_log_user_role_membership_changed_metadata_v2_spec.rb +54 -0
- data/spec/models/audit_log_user_scim_group_mapping_changed_metadata_v2_spec.rb +54 -0
- data/spec/models/audit_logs_alert_route_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_route_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_route_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_schema_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_source_config_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_source_config_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_alert_source_config_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_announcement_rule_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_announcement_rule_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_announcement_rule_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_api_key_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_api_key_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_catalog_type_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_catalog_type_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_catalog_type_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_custom_field_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_custom_field_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_custom_field_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_debrief_invite_rule_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_debrief_invite_rule_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_debrief_invite_rule_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_escalation_path_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_escalation_path_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_escalation_path_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_follow_up_priority_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_follow_up_priority_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_follow_up_priority_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_holiday_user_feed_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_holiday_user_feed_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_holiday_user_feed_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_call_setting_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_duration_metric_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_duration_metric_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_duration_metric_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_role_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_role_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_role_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_status_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_status_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_status_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_timestamp_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_timestamp_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_timestamp_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_type_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_type_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_incident_type_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_integration_installed_v1_spec.rb +66 -0
- data/spec/models/audit_logs_integration_uninstalled_v1_spec.rb +66 -0
- data/spec/models/audit_logs_internal_status_page_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_internal_status_page_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_internal_status_page_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_nudge_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_nudge_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_nudge_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_policy_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_policy_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_policy_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_post_incident_task_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_post_incident_task_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_post_incident_task_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_created_v2_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_deleted_v2_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_section_updated_v2_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_created_v2_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_deleted_v2_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_postmortem_template_updated_v2_spec.rb +66 -0
- data/spec/models/audit_logs_private_incident_access_attempted_v1_spec.rb +72 -0
- data/spec/models/audit_logs_private_incident_access_requested_v1_spec.rb +66 -0
- data/spec/models/audit_logs_private_incident_membership_granted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_private_incident_membership_revoked_v1_spec.rb +66 -0
- data/spec/models/audit_logs_rbac_role_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_rbac_role_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_rbac_role_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_override_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_override_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_override_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_schedule_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_scim_group_role_mappings_updated_v1_spec.rb +72 -0
- data/spec/models/audit_logs_severity_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_severity_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_severity_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_sub_page_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_sub_page_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_sub_page_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_template_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_template_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_template_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_status_page_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_user_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_user_deactivated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_user_reinstated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_user_role_memberships_updated_v1_spec.rb +72 -0
- data/spec/models/audit_logs_user_updated_v1_spec.rb +66 -0
- data/spec/models/audit_logs_workflow_created_v1_spec.rb +66 -0
- data/spec/models/audit_logs_workflow_deleted_v1_spec.rb +66 -0
- data/spec/models/audit_logs_workflow_updated_v1_spec.rb +66 -0
- data/spec/models/catalog_create_entry_payload_v2_spec.rb +66 -0
- data/spec/models/catalog_create_entry_payload_v3_spec.rb +66 -0
- data/spec/models/catalog_create_entry_result_v2_spec.rb +36 -0
- data/spec/models/catalog_create_entry_result_v3_spec.rb +36 -0
- data/spec/models/catalog_create_type_payload_v2_spec.rb +96 -0
- data/spec/models/catalog_create_type_payload_v3_spec.rb +96 -0
- data/spec/models/catalog_create_type_result_v2_spec.rb +36 -0
- data/spec/models/catalog_create_type_result_v3_spec.rb +36 -0
- data/spec/models/catalog_engine_param_binding_payload_v3_spec.rb +42 -0
- data/spec/models/catalog_engine_param_binding_value_payload_v3_spec.rb +36 -0
- data/spec/models/catalog_entry_engine_param_binding_v2_spec.rb +42 -0
- data/spec/models/catalog_entry_engine_param_binding_v3_spec.rb +42 -0
- data/spec/models/catalog_entry_engine_param_binding_value_v2_spec.rb +90 -0
- data/spec/models/catalog_entry_engine_param_binding_value_v3_spec.rb +42 -0
- data/spec/models/catalog_entry_reference_v2_spec.rb +54 -0
- data/spec/models/catalog_entry_v2_spec.rb +90 -0
- data/spec/models/catalog_entry_v3_spec.rb +90 -0
- data/spec/models/catalog_list_entries_result_v2_spec.rb +48 -0
- data/spec/models/catalog_list_entries_result_v3_spec.rb +48 -0
- data/spec/models/catalog_list_resources_result_v2_spec.rb +36 -0
- data/spec/models/catalog_list_resources_result_v3_spec.rb +36 -0
- data/spec/models/catalog_list_types_result_v2_spec.rb +36 -0
- data/spec/models/catalog_list_types_result_v3_spec.rb +36 -0
- data/spec/models/catalog_resource_v2_spec.rb +64 -0
- data/spec/models/catalog_resource_v3_spec.rb +64 -0
- data/spec/models/catalog_show_entry_result_v2_spec.rb +42 -0
- data/spec/models/catalog_show_entry_result_v3_spec.rb +42 -0
- data/spec/models/catalog_show_type_result_v2_spec.rb +36 -0
- data/spec/models/catalog_show_type_result_v3_spec.rb +36 -0
- data/spec/models/catalog_type_attribute_path_item_payload_v2_spec.rb +36 -0
- data/spec/models/catalog_type_attribute_path_item_payload_v3_spec.rb +36 -0
- data/spec/models/catalog_type_attribute_path_item_v2_spec.rb +42 -0
- data/spec/models/catalog_type_attribute_path_item_v3_spec.rb +42 -0
- data/spec/models/catalog_type_attribute_payload_v2_spec.rb +76 -0
- data/spec/models/catalog_type_attribute_payload_v3_spec.rb +76 -0
- data/spec/models/catalog_type_attribute_v2_spec.rb +76 -0
- data/spec/models/catalog_type_attribute_v3_spec.rb +76 -0
- data/spec/models/catalog_type_schema_v2_spec.rb +42 -0
- data/spec/models/catalog_type_schema_v3_spec.rb +42 -0
- data/spec/models/catalog_type_v2_spec.rb +162 -0
- data/spec/models/catalog_type_v3_spec.rb +156 -0
- data/spec/models/catalog_update_entry_payload_v2_spec.rb +60 -0
- data/spec/models/catalog_update_entry_payload_v3_spec.rb +66 -0
- data/spec/models/catalog_update_entry_result_v2_spec.rb +42 -0
- data/spec/models/catalog_update_entry_result_v3_spec.rb +42 -0
- data/spec/models/catalog_update_type_payload_v2_spec.rb +90 -0
- data/spec/models/catalog_update_type_payload_v3_spec.rb +90 -0
- data/spec/models/catalog_update_type_result_v2_spec.rb +36 -0
- data/spec/models/catalog_update_type_result_v3_spec.rb +36 -0
- data/spec/models/catalog_update_type_schema_payload_v2_spec.rb +42 -0
- data/spec/models/catalog_update_type_schema_payload_v3_spec.rb +42 -0
- data/spec/models/catalog_update_type_schema_result_v2_spec.rb +36 -0
- data/spec/models/catalog_update_type_schema_result_v3_spec.rb +36 -0
- data/spec/models/condition_group_payload_v2_spec.rb +36 -0
- data/spec/models/condition_group_v2_spec.rb +36 -0
- data/spec/models/condition_operation_v2_spec.rb +42 -0
- data/spec/models/condition_payload_v2_spec.rb +48 -0
- data/spec/models/condition_subject_v2_spec.rb +42 -0
- data/spec/models/condition_v2_spec.rb +48 -0
- data/spec/models/custom_field_entry_payload_v1_spec.rb +42 -0
- data/spec/models/custom_field_entry_payload_v2_spec.rb +42 -0
- data/spec/models/custom_field_entry_v1_spec.rb +42 -0
- data/spec/models/custom_field_entry_v2_spec.rb +42 -0
- data/spec/models/custom_field_filter_by_options_v2_spec.rb +42 -0
- data/spec/models/custom_field_option_v1_spec.rb +54 -0
- data/spec/models/custom_field_option_v2_spec.rb +54 -0
- data/spec/models/custom_field_options_create_payload_v1_spec.rb +48 -0
- data/spec/models/custom_field_options_create_result_v1_spec.rb +36 -0
- data/spec/models/custom_field_options_list_result_v1_spec.rb +42 -0
- data/spec/models/custom_field_options_show_result_v1_spec.rb +36 -0
- data/spec/models/custom_field_options_update_payload_v1_spec.rb +42 -0
- data/spec/models/custom_field_options_update_result_v1_spec.rb +36 -0
- data/spec/models/custom_field_type_info_v1_spec.rb +64 -0
- data/spec/models/custom_field_type_info_v2_spec.rb +64 -0
- data/spec/models/custom_field_v1_spec.rb +126 -0
- data/spec/models/custom_field_v2_spec.rb +94 -0
- data/spec/models/custom_field_value_payload_v1_spec.rb +72 -0
- data/spec/models/custom_field_value_payload_v2_spec.rb +72 -0
- data/spec/models/custom_field_value_v1_spec.rb +60 -0
- data/spec/models/custom_field_value_v2_spec.rb +60 -0
- data/spec/models/custom_fields_create_payload_v1_spec.rb +96 -0
- data/spec/models/custom_fields_create_payload_v2_spec.rb +76 -0
- data/spec/models/custom_fields_create_result_v1_spec.rb +36 -0
- data/spec/models/custom_fields_create_result_v2_spec.rb +36 -0
- data/spec/models/custom_fields_list_result_v1_spec.rb +36 -0
- data/spec/models/custom_fields_list_result_v2_spec.rb +36 -0
- data/spec/models/custom_fields_show_result_v1_spec.rb +36 -0
- data/spec/models/custom_fields_show_result_v2_spec.rb +36 -0
- data/spec/models/custom_fields_update_payload_v1_spec.rb +86 -0
- data/spec/models/custom_fields_update_payload_v2_spec.rb +60 -0
- data/spec/models/custom_fields_update_result_v1_spec.rb +36 -0
- data/spec/models/custom_fields_update_result_v2_spec.rb +36 -0
- data/spec/models/embedded_catalog_entry_v1_spec.rb +54 -0
- data/spec/models/embedded_catalog_entry_v2_spec.rb +54 -0
- data/spec/models/embedded_incident_role_v2_spec.rb +88 -0
- data/spec/models/engine_param_binding_payload_v2_spec.rb +42 -0
- data/spec/models/engine_param_binding_v2_spec.rb +42 -0
- data/spec/models/engine_param_binding_value_payload_v2_spec.rb +42 -0
- data/spec/models/engine_param_binding_value_v2_spec.rb +48 -0
- data/spec/models/engine_reference_v2_spec.rb +54 -0
- data/spec/models/escalation_path_node_if_else_payload_v2_spec.rb +48 -0
- data/spec/models/escalation_path_node_if_else_v2_spec.rb +48 -0
- data/spec/models/escalation_path_node_level_v2_spec.rb +64 -0
- data/spec/models/escalation_path_node_notify_channel_v2_spec.rb +58 -0
- data/spec/models/escalation_path_node_payload_v2_spec.rb +70 -0
- data/spec/models/escalation_path_node_repeat_v2_spec.rb +42 -0
- data/spec/models/escalation_path_node_v2_spec.rb +70 -0
- data/spec/models/escalation_path_round_robin_config_v2_spec.rb +42 -0
- data/spec/models/escalation_path_target_v2_spec.rb +66 -0
- data/spec/models/escalation_path_v2_spec.rb +60 -0
- data/spec/models/escalations_create_path_payload_v2_spec.rb +54 -0
- data/spec/models/escalations_create_path_result_v2_spec.rb +36 -0
- data/spec/models/escalations_show_path_result_v2_spec.rb +36 -0
- data/spec/models/escalations_update_path_payload_v2_spec.rb +54 -0
- data/spec/models/escalations_update_path_result_v2_spec.rb +36 -0
- data/spec/models/expression_branch_payload_v2_spec.rb +42 -0
- data/spec/models/expression_branch_v2_spec.rb +42 -0
- data/spec/models/expression_branches_opts_payload_v2_spec.rb +42 -0
- data/spec/models/expression_branches_opts_v2_spec.rb +42 -0
- data/spec/models/expression_else_branch_payload_v2_spec.rb +36 -0
- data/spec/models/expression_else_branch_v2_spec.rb +36 -0
- data/spec/models/expression_filter_opts_payload_v2_spec.rb +36 -0
- data/spec/models/expression_filter_opts_v2_spec.rb +36 -0
- data/spec/models/expression_navigate_opts_payload_v2_spec.rb +36 -0
- data/spec/models/expression_navigate_opts_v2_spec.rb +42 -0
- data/spec/models/expression_operation_payload_v2_spec.rb +64 -0
- data/spec/models/expression_operation_v2_spec.rb +70 -0
- data/spec/models/expression_parse_opts_payload_v2_spec.rb +42 -0
- data/spec/models/expression_parse_opts_v2_spec.rb +42 -0
- data/spec/models/expression_payload_v2_spec.rb +60 -0
- data/spec/models/expression_v2_spec.rb +66 -0
- data/spec/models/external_issue_reference_v1_spec.rb +52 -0
- data/spec/models/external_issue_reference_v2_spec.rb +52 -0
- data/spec/models/external_issue_reference_v6_spec.rb +52 -0
- data/spec/models/external_resource_v1_spec.rb +58 -0
- data/spec/models/follow_up_priority_v2_spec.rb +54 -0
- data/spec/models/follow_up_v2_spec.rb +100 -0
- data/spec/models/follow_ups_list_result_v2_spec.rb +36 -0
- data/spec/models/follow_ups_show_result_v2_spec.rb +36 -0
- data/spec/models/grouping_key_v2_spec.rb +36 -0
- data/spec/models/identity_v1_spec.rb +52 -0
- data/spec/models/incident_alert_v2_spec.rb +54 -0
- data/spec/models/incident_attachment_v1_spec.rb +48 -0
- data/spec/models/incident_attachments_create_payload_v1_resource_spec.rb +46 -0
- data/spec/models/incident_attachments_create_payload_v1_spec.rb +42 -0
- data/spec/models/incident_attachments_create_result_v1_spec.rb +36 -0
- data/spec/models/incident_attachments_list_result_v1_spec.rb +36 -0
- data/spec/models/incident_duration_metric_v2_spec.rb +42 -0
- data/spec/models/incident_duration_metric_with_value_v2_spec.rb +42 -0
- data/spec/models/incident_edit_payload_v2_spec.rb +84 -0
- data/spec/models/incident_membership_v1_spec.rb +60 -0
- data/spec/models/incident_memberships_create_payload_v1_spec.rb +42 -0
- data/spec/models/incident_memberships_create_result_v1_spec.rb +36 -0
- data/spec/models/incident_memberships_revoke_payload_v1_spec.rb +42 -0
- data/spec/models/incident_role_assignment_payload_v1_spec.rb +42 -0
- data/spec/models/incident_role_assignment_payload_v2_spec.rb +42 -0
- data/spec/models/incident_role_assignment_v1_spec.rb +42 -0
- data/spec/models/incident_role_assignment_v2_spec.rb +42 -0
- data/spec/models/incident_role_v1_spec.rb +88 -0
- data/spec/models/incident_role_v2_spec.rb +82 -0
- data/spec/models/incident_roles_create_payload_v1_spec.rb +60 -0
- data/spec/models/incident_roles_create_payload_v2_spec.rb +54 -0
- data/spec/models/incident_roles_create_result_v1_spec.rb +36 -0
- data/spec/models/incident_roles_create_result_v2_spec.rb +36 -0
- data/spec/models/incident_roles_list_result_v1_spec.rb +36 -0
- data/spec/models/incident_roles_list_result_v2_spec.rb +36 -0
- data/spec/models/incident_roles_show_result_v1_spec.rb +36 -0
- data/spec/models/incident_roles_show_result_v2_spec.rb +36 -0
- data/spec/models/incident_roles_update_payload_v1_spec.rb +60 -0
- data/spec/models/incident_roles_update_payload_v2_spec.rb +54 -0
- data/spec/models/incident_roles_update_result_v1_spec.rb +36 -0
- data/spec/models/incident_roles_update_result_v2_spec.rb +36 -0
- data/spec/models/incident_slim_v2_spec.rb +80 -0
- data/spec/models/incident_status_v1_spec.rb +76 -0
- data/spec/models/incident_status_v2_spec.rb +76 -0
- data/spec/models/incident_statuses_create_payload_v1_spec.rb +52 -0
- data/spec/models/incident_statuses_create_result_v1_spec.rb +36 -0
- data/spec/models/incident_statuses_list_result_v1_spec.rb +36 -0
- data/spec/models/incident_statuses_show_result_v1_spec.rb +36 -0
- data/spec/models/incident_statuses_update_payload_v1_spec.rb +42 -0
- data/spec/models/incident_statuses_update_result_v1_spec.rb +36 -0
- data/spec/models/incident_timestamp_v2_spec.rb +48 -0
- data/spec/models/incident_timestamp_value_payload_v2_spec.rb +42 -0
- data/spec/models/incident_timestamp_value_v1_spec.rb +42 -0
- data/spec/models/incident_timestamp_value_v2_spec.rb +36 -0
- data/spec/models/incident_timestamp_with_value_v2_spec.rb +42 -0
- data/spec/models/incident_timestamps_list_result_v2_spec.rb +36 -0
- data/spec/models/incident_timestamps_show_result_v2_spec.rb +36 -0
- data/spec/models/incident_type_v1_spec.rb +82 -0
- data/spec/models/incident_type_v2_spec.rb +82 -0
- data/spec/models/incident_types_list_result_v1_spec.rb +36 -0
- data/spec/models/incident_types_show_result_v1_spec.rb +36 -0
- data/spec/models/incident_update_v2_spec.rb +78 -0
- data/spec/models/incident_updates_list_result_v2_spec.rb +42 -0
- data/spec/models/incident_v1_spec.rb +168 -0
- data/spec/models/incident_v2_spec.rb +206 -0
- data/spec/models/incident_with_status_change_v2_spec.rb +54 -0
- data/spec/models/incidents_create_payload_v1_spec.rb +120 -0
- data/spec/models/incidents_create_payload_v2_spec.rb +122 -0
- data/spec/models/incidents_create_result_v1_spec.rb +36 -0
- data/spec/models/incidents_create_result_v2_spec.rb +36 -0
- data/spec/models/incidents_edit_payload_v2_spec.rb +42 -0
- data/spec/models/incidents_edit_result_v2_spec.rb +36 -0
- data/spec/models/incidents_list_result_v1_spec.rb +42 -0
- data/spec/models/incidents_list_result_v2_spec.rb +42 -0
- data/spec/models/incidents_show_result_v1_spec.rb +36 -0
- data/spec/models/incidents_show_result_v2_spec.rb +36 -0
- data/spec/models/management_meta_v2_spec.rb +52 -0
- data/spec/models/pagination_meta_result_v1_spec.rb +42 -0
- data/spec/models/pagination_meta_result_v2_spec.rb +42 -0
- data/spec/models/pagination_meta_result_v3_spec.rb +42 -0
- data/spec/models/pagination_meta_result_with_total_v1_spec.rb +48 -0
- data/spec/models/pagination_meta_result_with_total_v2_spec.rb +48 -0
- data/spec/models/rbac_role_v2_spec.rb +54 -0
- data/spec/models/retrospective_incident_options_v2_spec.rb +48 -0
- data/spec/models/returns_meta_v2_spec.rb +42 -0
- data/spec/models/schedule_config_create_payload_v2_spec.rb +36 -0
- data/spec/models/schedule_config_update_payload_v2_spec.rb +36 -0
- data/spec/models/schedule_config_v2_spec.rb +36 -0
- data/spec/models/schedule_create_payload_v2_spec.rb +66 -0
- data/spec/models/schedule_entries_list_payload_v2_spec.rb +48 -0
- data/spec/models/schedule_entry_v2_spec.rb +72 -0
- data/spec/models/schedule_holidays_public_config_payload_v2_spec.rb +36 -0
- data/spec/models/schedule_holidays_public_config_v2_spec.rb +36 -0
- data/spec/models/schedule_layer_create_payload_v2_spec.rb +42 -0
- data/spec/models/schedule_layer_update_payload_v2_spec.rb +42 -0
- data/spec/models/schedule_layer_v2_spec.rb +42 -0
- data/spec/models/schedule_override_v2_spec.rb +84 -0
- data/spec/models/schedule_rotation_create_payload_v2_spec.rb +78 -0
- data/spec/models/schedule_rotation_handover_v2_spec.rb +46 -0
- data/spec/models/schedule_rotation_update_payload_v2_spec.rb +78 -0
- data/spec/models/schedule_rotation_v2_spec.rb +84 -0
- data/spec/models/schedule_rotation_working_interval_create_payload_v2_spec.rb +52 -0
- data/spec/models/schedule_rotation_working_interval_update_payload_v2_spec.rb +52 -0
- data/spec/models/schedule_rotation_working_interval_v2_spec.rb +52 -0
- data/spec/models/schedule_update_payload_v2_spec.rb +66 -0
- data/spec/models/schedule_v2_spec.rb +90 -0
- data/spec/models/schedules_create_override_payload_v2_spec.rb +66 -0
- data/spec/models/schedules_create_override_result_v2_spec.rb +36 -0
- data/spec/models/schedules_create_payload_v2_spec.rb +36 -0
- data/spec/models/schedules_create_result_v2_spec.rb +36 -0
- data/spec/models/schedules_list_result_v2_spec.rb +42 -0
- data/spec/models/schedules_list_schedule_entries_result_v2_spec.rb +42 -0
- data/spec/models/schedules_show_result_v2_spec.rb +36 -0
- data/spec/models/schedules_update_payload_v2_spec.rb +36 -0
- data/spec/models/schedules_update_result_v2_spec.rb +36 -0
- data/spec/models/severities_create_payload_v1_spec.rb +48 -0
- data/spec/models/severities_create_result_v1_spec.rb +36 -0
- data/spec/models/severities_list_result_v1_spec.rb +36 -0
- data/spec/models/severities_show_result_v1_spec.rb +36 -0
- data/spec/models/severities_update_payload_v1_spec.rb +48 -0
- data/spec/models/severities_update_result_v1_spec.rb +36 -0
- data/spec/models/severity_v1_spec.rb +66 -0
- data/spec/models/severity_v2_spec.rb +66 -0
- data/spec/models/step_config_payload_v2_spec.rb +54 -0
- data/spec/models/step_config_slim_v2_spec.rb +42 -0
- data/spec/models/step_config_v2_spec.rb +60 -0
- data/spec/models/trigger_slim_v2_spec.rb +42 -0
- data/spec/models/user_reference_payload_v1_spec.rb +48 -0
- data/spec/models/user_reference_payload_v2_spec.rb +48 -0
- data/spec/models/user_v1_spec.rb +64 -0
- data/spec/models/user_v2_spec.rb +64 -0
- data/spec/models/user_with_roles_v2_spec.rb +76 -0
- data/spec/models/users_list_result_v2_spec.rb +42 -0
- data/spec/models/users_show_result_v2_spec.rb +36 -0
- data/spec/models/utilities_identity_result_v1_spec.rb +36 -0
- data/spec/models/webhook_incident_user_v2_spec.rb +48 -0
- data/spec/models/webhook_incident_v2_spec.rb +218 -0
- data/spec/models/webhook_private_resource_v2_spec.rb +36 -0
- data/spec/models/webhooks_private_incident_action_created_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_action_updated_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_follow_up_created_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_follow_up_updated_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_incident_created_v2_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_incident_updated_v2_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_membership_granted_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_private_incident_membership_revoked_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_action_created_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_action_updated_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_follow_up_created_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_follow_up_updated_v1_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_incident_created_v2_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_incident_status_updated_v2_response_body_spec.rb +46 -0
- data/spec/models/webhooks_public_incident_incident_updated_v2_response_body_spec.rb +46 -0
- data/spec/models/weekday_interval_config_v2_spec.rb +54 -0
- data/spec/models/weekday_interval_v2_spec.rb +52 -0
- data/spec/models/workflow_delay_v2_spec.rb +42 -0
- data/spec/models/workflow_slim_v2_spec.rb +144 -0
- data/spec/models/workflow_v2_spec.rb +144 -0
- data/spec/models/workflows_create_workflow_payload_v2_spec.rb +132 -0
- data/spec/models/workflows_create_workflow_result_v2_spec.rb +42 -0
- data/spec/models/workflows_list_workflows_result_v2_spec.rb +36 -0
- data/spec/models/workflows_show_workflow_result_v2_spec.rb +42 -0
- data/spec/models/workflows_update_workflow_payload_v2_spec.rb +126 -0
- data/spec/models/workflows_update_workflow_result_v2_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1621 -0
@@ -0,0 +1,95 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for IncidentIoSdk::SeveritiesV1Api
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'SeveritiesV1Api' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = IncidentIoSdk::SeveritiesV1Api.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of SeveritiesV1Api' do
|
30
|
+
it 'should create an instance of SeveritiesV1Api' do
|
31
|
+
expect(@api_instance).to be_instance_of(IncidentIoSdk::SeveritiesV1Api)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for severities_v1_create
|
36
|
+
# Create Severities V1
|
37
|
+
# Create a new severity
|
38
|
+
# @param severities_create_payload_v1
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [SeveritiesCreateResultV1]
|
41
|
+
describe 'severities_v1_create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for severities_v1_delete
|
48
|
+
# Delete Severities V1
|
49
|
+
# Delete a severity
|
50
|
+
# @param id Unique identifier of the severity
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
53
|
+
describe 'severities_v1_delete test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for severities_v1_list
|
60
|
+
# List Severities V1
|
61
|
+
# List all incident severities for an organisation.
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [SeveritiesListResultV1]
|
64
|
+
describe 'severities_v1_list test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for severities_v1_show
|
71
|
+
# Show Severities V1
|
72
|
+
# Get a single incident severity.
|
73
|
+
# @param id Unique identifier of the severity
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @return [SeveritiesShowResultV1]
|
76
|
+
describe 'severities_v1_show test' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# unit tests for severities_v1_update
|
83
|
+
# Update Severities V1
|
84
|
+
# Update an existing severity
|
85
|
+
# @param id Unique identifier of the severity
|
86
|
+
# @param severities_update_payload_v1
|
87
|
+
# @param [Hash] opts the optional parameters
|
88
|
+
# @return [SeveritiesUpdateResultV1]
|
89
|
+
describe 'severities_v1_update test' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for IncidentIoSdk::UsersV2Api
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UsersV2Api' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = IncidentIoSdk::UsersV2Api.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UsersV2Api' do
|
30
|
+
it 'should create an instance of UsersV2Api' do
|
31
|
+
expect(@api_instance).to be_instance_of(IncidentIoSdk::UsersV2Api)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for users_v2_list
|
36
|
+
# List Users V2
|
37
|
+
# List users in your account.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :email Filter by email address
|
40
|
+
# @option opts [String] :slack_user_id Filter by Slack user ID
|
41
|
+
# @option opts [Integer] :page_size Integer number of records to return
|
42
|
+
# @option opts [String] :after An record's ID. This endpoint will return a list of records after this ID in relation to the API response order.
|
43
|
+
# @return [UsersListResultV2]
|
44
|
+
describe 'users_v2_list test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for users_v2_show
|
51
|
+
# Show Users V2
|
52
|
+
# Get a single user.
|
53
|
+
# @param id Unique identifier of the user
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @return [UsersShowResultV2]
|
56
|
+
describe 'users_v2_show test' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for IncidentIoSdk::UtilitiesV1Api
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'UtilitiesV1Api' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = IncidentIoSdk::UtilitiesV1Api.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of UtilitiesV1Api' do
|
30
|
+
it 'should create an instance of UtilitiesV1Api' do
|
31
|
+
expect(@api_instance).to be_instance_of(IncidentIoSdk::UtilitiesV1Api)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for utilities_v1_identity
|
36
|
+
# Identity Utilities V1
|
37
|
+
# Test if your API key is valid, and which roles it has.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [UtilitiesIdentityResultV1]
|
40
|
+
describe 'utilities_v1_identity test' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# unit tests for utilities_v1_open_api
|
47
|
+
# OpenAPI Utilities V1
|
48
|
+
# Get the OpenAPI (v2) definition. **DEPRECATED**: Please use the OpenAPIV3 endpoint instead. The schema returned from this endpoint does not contain new options and endpoints added in 2025 and later.
|
49
|
+
# @param [Hash] opts the optional parameters
|
50
|
+
# @return [File]
|
51
|
+
describe 'utilities_v1_open_api test' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# unit tests for utilities_v1_open_apiv3
|
58
|
+
# OpenAPIV3 Utilities V1
|
59
|
+
# Get the OpenAPI (v3) definition.
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @return [File]
|
62
|
+
describe 'utilities_v1_open_apiv3 test' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for IncidentIoSdk::WorkflowsV2Api
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'WorkflowsV2Api' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = IncidentIoSdk::WorkflowsV2Api.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of WorkflowsV2Api' do
|
30
|
+
it 'should create an instance of WorkflowsV2Api' do
|
31
|
+
expect(@api_instance).to be_instance_of(IncidentIoSdk::WorkflowsV2Api)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for workflows_v2_create_workflow
|
36
|
+
# CreateWorkflow Workflows V2
|
37
|
+
# Create a new workflow
|
38
|
+
# @param workflows_create_workflow_payload_v2
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [WorkflowsCreateWorkflowResultV2]
|
41
|
+
describe 'workflows_v2_create_workflow test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for workflows_v2_destroy_workflow
|
48
|
+
# DestroyWorkflow Workflows V2
|
49
|
+
# Archives a workflow
|
50
|
+
# @param id Unique identifier for the workflow
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
53
|
+
describe 'workflows_v2_destroy_workflow test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for workflows_v2_list_workflows
|
60
|
+
# ListWorkflows Workflows V2
|
61
|
+
# List all workflows
|
62
|
+
# @param [Hash] opts the optional parameters
|
63
|
+
# @return [WorkflowsListWorkflowsResultV2]
|
64
|
+
describe 'workflows_v2_list_workflows test' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# unit tests for workflows_v2_show_workflow
|
71
|
+
# ShowWorkflow Workflows V2
|
72
|
+
# Show a workflow by ID
|
73
|
+
# @param id Unique identifier for the workflow
|
74
|
+
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [Boolean] :skip_step_upgrades Skips workflow step upgrades, when the parameters for an existing workflow step change
|
76
|
+
# @return [WorkflowsShowWorkflowResultV2]
|
77
|
+
describe 'workflows_v2_show_workflow test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for workflows_v2_update_workflow
|
84
|
+
# UpdateWorkflow Workflows V2
|
85
|
+
# Updates a workflow
|
86
|
+
# @param id ID of the workflow to update
|
87
|
+
# @param workflows_update_workflow_payload_v2
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @return [WorkflowsUpdateWorkflowResultV2]
|
90
|
+
describe 'workflows_v2_update_workflow test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IncidentIoSdk::ActionV1
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe IncidentIoSdk::ActionV1 do
|
21
|
+
let(:instance) { IncidentIoSdk::ActionV1.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ActionV1' do
|
24
|
+
it 'should create an instance of ActionV1' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(IncidentIoSdk::ActionV1)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "assignee"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "completed_at"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "created_at"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "description"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "external_issue_reference"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "follow_up"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "id"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "incident_id"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "status"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["outstanding", "completed", "deleted", "not_doing"])
|
82
|
+
# validator.allowable_values.each do |value|
|
83
|
+
# expect { instance.status = value }.not_to raise_error
|
84
|
+
# end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "updated_at"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
@@ -0,0 +1,82 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IncidentIoSdk::ActionV2
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe IncidentIoSdk::ActionV2 do
|
21
|
+
let(:instance) { IncidentIoSdk::ActionV2.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ActionV2' do
|
24
|
+
it 'should create an instance of ActionV2' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(IncidentIoSdk::ActionV2)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "assignee"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "completed_at"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "created_at"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "description"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "id"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "incident_id"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "status"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["outstanding", "completed", "deleted", "not_doing"])
|
70
|
+
# validator.allowable_values.each do |value|
|
71
|
+
# expect { instance.status = value }.not_to raise_error
|
72
|
+
# end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "updated_at"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#incident.io
|
3
|
+
|
4
|
+
#This is the API reference for incident.io. It documents available API endpoints, provides examples of how to use it, and instructions around things like authentication and error handling. The API is hosted at: - https://api.incident.io/ And you will need to create an API key via your [incident.io dashboard](https://app.incident.io/settings/api-keys) to make requests. # Making requests Here are the key concepts required to make requests to the incident.io API. ## Authentication For all requests made to the incident.io API, you'll need an API key. To create an API key, head to the incident dashboard and visit [API keys](https://app.incident.io/settings/api-keys). When you create the key, you'll be able to choose what actions it can take for your account: choose carefully, as those roles can only be set when you first create the key. We'll only show you the token once, so make sure you store it somewhere safe. API keys are global to your incident.io account, and can be managed by anyone who has the right permissions. We display the user that created the API key, and the API key will remain valid if that user becomes deactivated. Once you have the key, you should make requests to the API that set the `Authorization` request header using a \"Bearer\" authentication scheme: ``` Authorization: Bearer <YOUR_API_KEY> ``` ## Rate Limits The incident.io API enforces rate limits to ensure consistent performance for all users. The default rate limit is 1200 requests/minute per API key. This limit applies to most endpoints across the API. Some endpoints have lower rate limits, particularly those that interact with external third-party systems that impose their own limitations. These specific limits vary by endpoint, and we recommend relying on the rate-limit error responses to understand usage patterns and implement appropriate retry strategies. When you exceed a rate limit, the API will respond with a `429 Too Many Requests` status code, along with a JSON response that includes information about the limit and when you can retry: ```json { \"type\": \"too_many_requests\", \"status\": 429, \"request_id\": \"b839a403-7704-41c1-bf6a-39a2d68caefa\", \"rate_limit\": { \"name\": \"api_key_name\", \"limit\": 1200, \"remaining\": 0, \"retry_after\": \"Thu, 17 Apr 2025 11:17:18 UTC\" }, \"errors\": [ { \"code\": \"too_many_requests\", \"message\": \"Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.\" } ] } ``` The response includes: * The name of the API key (`name`) * The bucket limit (`limit`) * The number of requests remaining (`remaining`) * When you can retry requests (`retry_after`) ## Errors We use standard HTTP response codes to indicate the status or failure of API requests. The API response body will be JSON, and contain more detailed information on the nature of the error. An example error when a request is made without an API key: ```json { \"type\": \"authentication_error\", \"status\": 401, \"request_id\": \"8e3cc412-b49d-4957-9073-2c19d2c61804\", \"errors\": [ { \"code\": \"missing_authorization_material\", \"message\": \"No authorization material provided in request\" } ] } ``` Note that the error: - Contains the HTTP status (`401`) - References the type of error (`authentication_error`) - Includes a `request_id` that can be provided to incident.io support to help debug questions with your API request - Provides a list of individual errors, which go into detail about why the error occurred The most common error will be a 422 Validation Error, which is returned when the request was rejected due to failing validations. These errors look like this: ```json { \"type\": \"validation_error\", \"status\": 422, \"request_id\": \"631766c4-4afd-4803-997c-cd700928fa4b\", \"errors\": [ { \"code\": \"is_required\", \"message\": \"A severity is required to open an incident\", \"source\": { \"field\": \"severity_id\" } } ] } ``` This error is caused by not providing a severity identifier, which should be at the `severity_id` field of the request payload. Errors like these can be mapped to forms, should you be integrating with the API from a user-interface. ## Compatibility We won't make breaking changes to existing API services or endpoints, but will expect integrators to upgrade themselves to the latest API endpoints within 3 months of us deprecating the old service. We will make changes that are considered backwards compatible, which include: - Adding new API endpoints and services - Adding new properties to responses from existing API endpoints - Reordering properties returned from existing API endpoints - Adding optional request parameters to existing API endpoints - Altering the format or length of IDs - Adding new values to enums It is important that clients are robust to these changes, to ensure reliable integrations. As an example, if you are generating a client using an openapi-generator, ensure the generated client is configured to support unknown enum values, often configured via the `enumUnknownDefaultCase` parameter. When breaking changes are unavoidable, we'll create a new service version on a separate path, and run them in parallel. For example: - https://api.incident.io/v1/incidents - https://api.incident.io/v2/incidents For any questions, email support@incident.io.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for IncidentIoSdk::ActionsListResultV1
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe IncidentIoSdk::ActionsListResultV1 do
|
21
|
+
let(:instance) { IncidentIoSdk::ActionsListResultV1.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ActionsListResultV1' do
|
24
|
+
it 'should create an instance of ActionsListResultV1' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(IncidentIoSdk::ActionsListResultV1)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "actions"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|