instana-client 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
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.
- instana_client/__init__.py +1754 -514
- instana_client/api/__init__.py +85 -1
- instana_client/api/action_catalog_api.py +329 -6
- instana_client/api/action_history_api.py +54 -2
- instana_client/api/ai_management_api.py +1973 -0
- instana_client/api/apdex_report_api.py +2 -2
- instana_client/api/apdex_settings_api.py +8 -9
- instana_client/api/api_token_api.py +17 -17
- instana_client/api/application_alert_configuration_api.py +79 -66
- instana_client/api/application_analyze_api.py +20 -282
- instana_client/api/application_catalog_api.py +11 -11
- instana_client/api/application_metrics_api.py +14 -14
- instana_client/api/application_resources_api.py +21 -21
- instana_client/api/application_settings_api.py +134 -104
- instana_client/api/application_topology_api.py +11 -2
- instana_client/api/audit_log_api.py +2 -2
- instana_client/api/authentication_api.py +2 -2
- instana_client/api/business_monitoring_api.py +2 -2
- instana_client/api/custom_dashboards_api.py +29 -19
- instana_client/api/custom_entities_api.py +1673 -0
- instana_client/api/end_user_monitoring_api.py +310 -0
- instana_client/api/event_settings_api.py +1251 -653
- instana_client/api/events_api.py +11 -26
- instana_client/api/global_application_alert_configuration_api.py +53 -56
- instana_client/api/groups_api.py +1121 -62
- instana_client/api/health_api.py +8 -5
- instana_client/api/host_agent_api.py +274 -8
- instana_client/api/infrastructure_alert_configuration_api.py +2 -2
- instana_client/api/infrastructure_analyze_api.py +14 -14
- instana_client/api/infrastructure_catalog_api.py +44 -13
- instana_client/api/infrastructure_metrics_api.py +5 -5
- instana_client/api/infrastructure_resources_api.py +11 -11
- instana_client/api/infrastructure_topology_api.py +2 -2
- instana_client/api/log_alert_configuration_api.py +44 -30
- instana_client/api/logging_analyze_api.py +343 -0
- instana_client/api/maintenance_configuration_api.py +32 -20
- instana_client/api/mobile_app_analyze_api.py +2 -2
- instana_client/api/mobile_app_catalog_api.py +8 -2
- instana_client/api/mobile_app_configuration_api.py +3058 -334
- instana_client/api/mobile_app_metrics_api.py +3 -6
- instana_client/api/policies_api.py +14 -11
- instana_client/api/releases_api.py +8 -11
- instana_client/api/roles_api.py +1394 -0
- instana_client/api/service_levels_alert_configuration_api.py +2 -2
- instana_client/api/service_levels_objective_slo_configurations_api.py +160 -89
- instana_client/api/service_levels_objective_slo_report_api.py +38 -2
- instana_client/api/session_settings_api.py +2 -2
- instana_client/api/sli_report_api.py +2 -2
- instana_client/api/sli_settings_api.py +5 -8
- instana_client/api/slo_correction_configurations_api.py +1528 -0
- instana_client/api/slo_correction_windows_api.py +392 -0
- instana_client/api/synthetic_alert_configuration_api.py +53 -56
- instana_client/api/synthetic_calls_api.py +20 -9
- instana_client/api/synthetic_catalog_api.py +20 -2
- instana_client/api/synthetic_metrics_api.py +5 -5
- instana_client/api/synthetic_settings_api.py +1238 -369
- instana_client/api/synthetic_test_playback_results_api.py +307 -20
- instana_client/api/teams_api.py +1380 -0
- instana_client/api/usage_api.py +2 -2
- instana_client/api/user_api.py +302 -28
- instana_client/api/website_analyze_api.py +8 -8
- instana_client/api/website_catalog_api.py +11 -8
- instana_client/api/website_configuration_api.py +1801 -336
- instana_client/api/website_metrics_api.py +3 -3
- instana_client/api_client.py +11 -4
- instana_client/configuration.py +14 -7
- instana_client/exceptions.py +2 -2
- instana_client/models/__init__.py +585 -9
- instana_client/models/abstract_integration.py +11 -5
- instana_client/models/abstract_rule.py +2 -2
- instana_client/models/access_log_entry.py +12 -7
- instana_client/models/access_log_response.py +2 -2
- instana_client/models/access_rule.py +2 -2
- instana_client/models/action.py +2 -2
- instana_client/models/action_configuration.py +2 -2
- instana_client/models/action_instance.py +2 -2
- instana_client/models/action_instance_metadata_entry.py +2 -2
- instana_client/models/action_instance_parameter.py +2 -2
- instana_client/models/action_instance_request.py +2 -2
- instana_client/models/action_instance_request_parameters.py +2 -2
- instana_client/models/action_match.py +19 -6
- instana_client/models/action_search_space.py +2 -2
- instana_client/models/adaptive_baseline.py +3 -3
- instana_client/models/adaptive_threshold_rule.py +3 -3
- instana_client/models/addition.py +97 -0
- instana_client/models/adjusted_timeframe.py +2 -2
- instana_client/models/agent_configuration_update.py +2 -2
- instana_client/models/alerting_configuration.py +2 -2
- instana_client/models/alerting_configuration_with_last_updated.py +2 -2
- instana_client/models/alerting_time_window.py +2 -2
- instana_client/models/apdex_configuration.py +2 -2
- instana_client/models/apdex_configuration_input.py +2 -2
- instana_client/models/apdex_entity.py +2 -2
- instana_client/models/apdex_report.py +2 -2
- instana_client/models/api_create_group.py +2 -2
- instana_client/models/api_create_role.py +101 -0
- instana_client/models/api_group.py +2 -2
- instana_client/models/api_member.py +5 -3
- instana_client/models/api_permission_set.py +12 -3
- instana_client/models/api_restricted_application_filter.py +2 -2
- instana_client/models/api_role.py +102 -0
- instana_client/models/api_tag.py +91 -0
- instana_client/models/api_team.py +113 -0
- instana_client/models/api_team_info.py +89 -0
- instana_client/models/api_team_member.py +102 -0
- instana_client/models/api_team_role.py +92 -0
- instana_client/models/api_team_scope.py +131 -0
- instana_client/models/api_token.py +29 -5
- instana_client/models/app_data_metric_configuration.py +2 -2
- instana_client/models/application.py +2 -2
- instana_client/models/application_alert_config.py +2 -2
- instana_client/models/application_alert_config_with_metadata.py +2 -2
- instana_client/models/application_alert_rule.py +2 -2
- instana_client/models/application_apdex_entity.py +2 -2
- instana_client/models/application_config.py +2 -2
- instana_client/models/application_event_result.py +5 -7
- instana_client/models/application_item.py +2 -2
- instana_client/models/application_metric_result.py +2 -2
- instana_client/models/application_node.py +2 -2
- instana_client/models/application_result.py +2 -2
- instana_client/models/application_scope.py +4 -4
- instana_client/models/application_scope_with_metadata.py +6 -6
- instana_client/models/application_sli_entity.py +2 -2
- instana_client/models/application_slo_entity.py +2 -2
- instana_client/models/application_time_threshold.py +2 -2
- instana_client/models/arithmetic_configuration.py +121 -0
- instana_client/models/arithmetic_operand.py +154 -0
- instana_client/models/arithmetic_operation.py +128 -0
- instana_client/models/audit_log_entry.py +2 -2
- instana_client/models/audit_log_ui_response.py +2 -2
- instana_client/models/author.py +2 -2
- instana_client/models/availability_blueprint_indicator.py +5 -16
- instana_client/models/availability_sli_entity.py +2 -2
- instana_client/models/available_metrics.py +2 -2
- instana_client/models/available_plugins.py +2 -2
- instana_client/models/backend_trace_reference.py +2 -2
- instana_client/models/bidirectional_ms_teams_app_integration.py +108 -0
- instana_client/models/bidirectional_slack_app_integration.py +102 -0
- instana_client/models/binary_operator_dto.py +2 -2
- instana_client/models/browser_script_configuration.py +5 -3
- instana_client/models/built_in_event_specification.py +2 -2
- instana_client/models/built_in_event_specification_with_last_updated.py +2 -2
- instana_client/models/business_activity.py +5 -3
- instana_client/models/business_perspective_config.py +2 -2
- instana_client/models/call_groups_item.py +2 -2
- instana_client/models/call_groups_result.py +2 -2
- instana_client/models/call_relation.py +2 -2
- instana_client/models/change_summary.py +2 -2
- instana_client/models/cloudfoundry_physical_context.py +4 -4
- instana_client/models/condition.py +2 -2
- instana_client/models/config_version.py +2 -2
- instana_client/models/correction.py +105 -0
- instana_client/models/correction_configuration.py +109 -0
- instana_client/models/correction_scheduling.py +104 -0
- instana_client/models/correction_window.py +95 -0
- instana_client/models/crash_mobile_app_alert_rule.py +2 -2
- instana_client/models/create_website_request_inner.py +90 -0
- instana_client/models/cursor_paginated_business_activity_item.py +2 -2
- instana_client/models/cursor_pagination.py +2 -2
- instana_client/models/cursor_pagination_infra_explore_cursor.py +2 -2
- instana_client/models/custom_blueprint_indicator.py +8 -4
- instana_client/models/custom_dashboard.py +2 -2
- instana_client/models/custom_dashboard_preview.py +2 -2
- instana_client/models/custom_dashboard_with_user_specific_information.py +115 -0
- instana_client/models/custom_dependency.py +116 -0
- instana_client/models/custom_email_subject_prefix.py +2 -2
- instana_client/models/custom_entity_model.py +126 -0
- instana_client/models/custom_entity_with_metadata.py +98 -0
- instana_client/models/custom_event_mobile_app_alert_rule.py +2 -2
- instana_client/models/custom_event_specification.py +9 -3
- instana_client/models/custom_event_specification_with_last_updated.py +9 -3
- instana_client/models/custom_event_website_alert_rule.py +2 -2
- instana_client/models/custom_metric.py +134 -0
- instana_client/models/custom_payload_configuration.py +2 -2
- instana_client/models/custom_payload_field.py +2 -2
- instana_client/models/custom_payload_with_last_updated.py +2 -2
- instana_client/models/custom_payload_with_version.py +101 -0
- instana_client/models/dashboard_api_token.py +2 -2
- instana_client/models/database_integration.py +2 -2
- instana_client/models/deprecated_tag_filter.py +4 -4
- instana_client/models/division.py +97 -0
- instana_client/models/dns_configuration.py +146 -0
- instana_client/models/dns_filter_query_time.py +99 -0
- instana_client/models/dns_filter_target_value.py +106 -0
- instana_client/models/duration.py +2 -2
- instana_client/models/dynamic_field.py +2 -2
- instana_client/models/dynamic_field_value.py +2 -2
- instana_client/models/dynamic_parameter.py +2 -2
- instana_client/models/edit_user.py +2 -2
- instana_client/models/email_integration.py +2 -2
- instana_client/models/empty_configuration.py +2 -2
- instana_client/models/endpoint.py +4 -4
- instana_client/models/endpoint_config.py +2 -2
- instana_client/models/endpoint_event_result.py +7 -9
- instana_client/models/endpoint_item.py +2 -2
- instana_client/models/endpoint_metric_result.py +2 -2
- instana_client/models/endpoint_node.py +2 -2
- instana_client/models/endpoint_result.py +3 -3
- instana_client/models/endpoint_simple.py +3 -3
- instana_client/models/entity_count_rule.py +2 -2
- instana_client/models/entity_count_verification_rule.py +3 -3
- instana_client/models/entity_health_info.py +2 -2
- instana_client/models/entity_id.py +2 -2
- instana_client/models/entity_verification_rule.py +3 -3
- instana_client/models/error_budget_alert_rule.py +5 -5
- instana_client/models/errors_application_alert_rule.py +2 -2
- instana_client/models/event.py +7 -3
- instana_client/models/event_filtering_configuration.py +2 -2
- instana_client/models/event_result.py +2 -2
- instana_client/models/event_specification_info.py +2 -2
- instana_client/models/extended_service.py +2 -2
- instana_client/models/failure_synthetic_alert_rule.py +2 -2
- instana_client/models/fixed_http_path_segment_matching_rule.py +2 -2
- instana_client/models/fixed_time_window.py +4 -3
- instana_client/models/generic_infra_alert_rule.py +12 -4
- instana_client/models/geo_location_configuration.py +2 -2
- instana_client/models/geo_mapping_rule.py +2 -2
- instana_client/models/geo_subdivision.py +2 -2
- instana_client/models/get_activities.py +2 -2
- instana_client/models/get_application_metrics.py +2 -2
- instana_client/models/get_applications.py +2 -2
- instana_client/models/get_available_metrics_query.py +2 -2
- instana_client/models/get_available_plugins_query.py +2 -2
- instana_client/models/get_call_groups.py +2 -2
- instana_client/models/get_combined_metrics.py +2 -2
- instana_client/models/get_dynamic_parameter_values.py +2 -2
- instana_client/models/get_endpoints.py +2 -2
- instana_client/models/get_infrastructure_groups_query.py +2 -2
- instana_client/models/get_infrastructure_query.py +2 -2
- instana_client/models/get_metrics_result.py +2 -2
- instana_client/models/get_mobile_app_beacon_groups.py +2 -2
- instana_client/models/get_mobile_app_beacons.py +2 -2
- instana_client/models/get_mobile_app_metrics.py +2 -2
- instana_client/models/get_mobile_app_metrics_v2.py +2 -2
- instana_client/models/get_payload_keys_result.py +2 -2
- instana_client/models/get_services.py +2 -2
- instana_client/models/get_snapshots_query.py +2 -2
- instana_client/models/get_test_result.py +2 -2
- instana_client/models/get_test_result_analytic.py +126 -0
- instana_client/models/get_test_result_base.py +2 -2
- instana_client/models/get_test_result_list.py +2 -2
- instana_client/models/get_test_summary_result.py +2 -2
- instana_client/models/get_trace_download_result_item.py +3 -3
- instana_client/models/get_trace_groups.py +2 -2
- instana_client/models/get_traces.py +4 -4
- instana_client/models/get_website_beacon_groups.py +2 -2
- instana_client/models/get_website_beacons.py +2 -2
- instana_client/models/get_website_metrics.py +2 -2
- instana_client/models/get_website_metrics_v2.py +2 -2
- instana_client/models/global_application_alert_config_with_metadata.py +2 -2
- instana_client/models/global_applications_alert_config.py +2 -2
- instana_client/models/google_chat_integration.py +2 -2
- instana_client/models/graph_edge.py +2 -2
- instana_client/models/graph_node.py +2 -2
- instana_client/models/group.py +2 -2
- instana_client/models/group_by_tag.py +2 -2
- instana_client/models/group_mapping.py +5 -3
- instana_client/models/group_mapping_overview.py +96 -0
- instana_client/models/health_state.py +2 -2
- instana_client/models/historic_baseline.py +3 -3
- instana_client/models/host_availability_rule.py +2 -2
- instana_client/models/http_action_configuration.py +2 -2
- instana_client/models/http_endpoint_config.py +2 -2
- instana_client/models/http_endpoint_rule.py +2 -2
- instana_client/models/http_path_segment_matching_rule.py +2 -2
- instana_client/models/http_script_configuration.py +5 -3
- instana_client/models/hyper_param.py +2 -2
- instana_client/models/identity_provider_patch.py +2 -2
- instana_client/models/impacted_beacon_info.py +96 -0
- instana_client/models/infra_alert_config.py +8 -6
- instana_client/models/infra_alert_config_with_metadata.py +7 -5
- instana_client/models/infra_alert_rule.py +9 -3
- instana_client/models/infra_event_result.py +6 -8
- instana_client/models/infra_metric_configuration.py +103 -80
- instana_client/models/infra_slo_entity.py +95 -0
- instana_client/models/infra_time_threshold.py +2 -2
- instana_client/models/infrastructure_entities_result.py +2 -2
- instana_client/models/infrastructure_group.py +5 -3
- instana_client/models/infrastructure_groups_result.py +2 -2
- instana_client/models/infrastructure_item.py +2 -2
- instana_client/models/infrastructure_metric_result.py +2 -2
- instana_client/models/instana_version_info.py +2 -2
- instana_client/models/integration_overview.py +14 -4
- instana_client/models/invitation.py +2 -2
- instana_client/models/invitation_response.py +2 -2
- instana_client/models/invitation_result.py +2 -2
- instana_client/models/ip_masking_configuration.py +2 -2
- instana_client/models/js_stack_trace_line.py +2 -2
- instana_client/models/kubernetes_physical_context.py +3 -3
- instana_client/models/latency_blueprint_indicator.py +5 -16
- instana_client/models/llm_egress_gateway.py +125 -0
- instana_client/models/location_status.py +2 -2
- instana_client/models/log_alert_config.py +8 -6
- instana_client/models/log_alert_config_with_metadata.py +8 -6
- instana_client/models/log_alert_rule.py +2 -2
- instana_client/models/log_count_alert_rule.py +2 -2
- instana_client/models/log_entry_actor.py +2 -2
- instana_client/models/log_event_result.py +5 -7
- instana_client/models/log_time_threshold.py +2 -2
- instana_client/models/log_volume_group.py +91 -0
- instana_client/models/log_volume_usage_item.py +101 -0
- instana_client/models/log_volume_usage_result.py +96 -0
- instana_client/models/logs_application_alert_rule.py +4 -4
- instana_client/models/maintenance_config.py +2 -2
- instana_client/models/maintenance_config_scheduling.py +2 -2
- instana_client/models/maintenance_config_v2.py +2 -2
- instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/maintenance_config_with_last_updated.py +2 -2
- instana_client/models/maintenance_window.py +2 -2
- instana_client/models/manual_alerting_channel_configuration.py +2 -2
- instana_client/models/manual_close_info.py +2 -2
- instana_client/models/manual_service_config.py +2 -2
- instana_client/models/match_all_http_path_segment_matching_rule.py +2 -2
- instana_client/models/match_expression_dto.py +3 -3
- instana_client/models/meta_data.py +2 -2
- instana_client/models/metric_api_result.py +2 -2
- instana_client/models/metric_config.py +2 -2
- instana_client/models/metric_configuration.py +3 -3
- instana_client/models/metric_description.py +2 -2
- instana_client/models/metric_instance.py +2 -2
- instana_client/models/metric_item.py +2 -2
- instana_client/models/metric_metadata.py +4 -4
- instana_client/models/metric_pattern.py +2 -2
- instana_client/models/metric_query.py +128 -0
- instana_client/models/metrics_result.py +2 -2
- instana_client/models/metrics_result_item.py +5 -3
- instana_client/models/metrics_test_result_item.py +2 -2
- instana_client/models/mobile_app.py +2 -2
- instana_client/models/mobile_app_alert_config.py +2 -2
- instana_client/models/mobile_app_alert_rule.py +8 -5
- instana_client/models/mobile_app_beacon_groups_item.py +2 -2
- instana_client/models/mobile_app_beacon_groups_result.py +2 -2
- instana_client/models/mobile_app_beacon_result.py +2 -2
- instana_client/models/mobile_app_beacon_tag_group.py +2 -2
- instana_client/models/mobile_app_beacons_item.py +11 -5
- instana_client/models/mobile_app_event_result.py +5 -7
- instana_client/models/mobile_app_metric_result.py +2 -2
- instana_client/models/mobile_app_monitoring_beacon.py +22 -4
- instana_client/models/mobile_app_monitoring_metric_description.py +5 -3
- instana_client/models/mobile_app_monitoring_metrics_configuration.py +2 -2
- instana_client/models/mobile_app_time_threshold.py +2 -2
- instana_client/models/model_field.py +2 -2
- instana_client/models/monitored_entities_stats.py +92 -0
- instana_client/models/monitoring_state.py +11 -3
- instana_client/models/multiple_scripts_configuration.py +2 -2
- instana_client/models/multiplication.py +97 -0
- instana_client/models/nested_operation.py +128 -0
- instana_client/models/new_application_config.py +2 -2
- instana_client/models/new_business_perspective_config.py +2 -2
- instana_client/models/new_manual_service_config.py +2 -2
- instana_client/models/o_auth_config.py +107 -0
- instana_client/models/o_auth_integration.py +98 -0
- instana_client/models/o_auth_token.py +121 -0
- instana_client/models/occurrence.py +2 -2
- instana_client/models/office365_integration.py +2 -2
- instana_client/models/one_time_maintenance_window.py +2 -2
- instana_client/models/opsgenie_integration.py +2 -2
- instana_client/models/order.py +2 -2
- instana_client/models/pagerduty_integration.py +2 -2
- instana_client/models/paginated_result.py +2 -2
- instana_client/models/pagination.py +2 -2
- instana_client/models/parameter.py +2 -2
- instana_client/models/parameter_value.py +2 -2
- instana_client/models/path_parameter_http_path_segment_matching_rule.py +2 -2
- instana_client/models/physical_context.py +3 -3
- instana_client/models/plugin_result.py +2 -2
- instana_client/models/policy.py +2 -2
- instana_client/models/policy_runnable.py +2 -2
- instana_client/models/policy_scheduling.py +91 -0
- instana_client/models/post_mobile_app_source_map_config_request.py +88 -0
- instana_client/models/post_snapshots_result.py +2 -2
- instana_client/models/problem.py +2 -2
- instana_client/models/prometheus_webhook_integration.py +2 -2
- instana_client/models/recurrent_maintenance_window.py +2 -2
- instana_client/models/release.py +6 -6
- instana_client/models/release_scope.py +2 -2
- instana_client/models/release_with_metadata.py +8 -8
- instana_client/models/retention_period.py +101 -0
- instana_client/models/rolling_time_window.py +4 -3
- instana_client/models/rule_input.py +2 -2
- instana_client/models/rule_with_threshold_application_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_infra_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_log_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +2 -2
- instana_client/models/rule_with_threshold_website_alert_rule.py +2 -2
- instana_client/models/run_configuration.py +2 -2
- instana_client/models/salesforce_integration.py +2 -2
- instana_client/models/saturation_blueprint_indicator.py +97 -0
- instana_client/models/scope_binding.py +2 -2
- instana_client/models/search_field_result.py +2 -2
- instana_client/models/service.py +3 -3
- instana_client/models/service_config.py +2 -2
- instana_client/models/service_event_result.py +5 -7
- instana_client/models/service_item.py +2 -2
- instana_client/models/service_level_indicator.py +10 -7
- instana_client/models/service_level_objective_alert_rule.py +2 -2
- instana_client/models/service_level_objective_configuration.py +3 -3
- instana_client/models/service_levels_alert_config.py +15 -5
- instana_client/models/service_levels_alert_rule.py +2 -2
- instana_client/models/service_levels_burn_rate_config.py +115 -0
- instana_client/models/service_levels_burn_rate_time_windows.py +2 -2
- instana_client/models/service_levels_static_threshold_config.py +100 -0
- instana_client/models/service_levels_time_threshold.py +5 -5
- instana_client/models/service_levelse_alert_config_with_metadata.py +15 -5
- instana_client/models/service_map.py +2 -2
- instana_client/models/service_map_connection.py +2 -2
- instana_client/models/service_matching_rule.py +2 -2
- instana_client/models/service_metric_result.py +2 -2
- instana_client/models/service_node.py +2 -2
- instana_client/models/service_now_enhanced_integration.py +2 -2
- instana_client/models/service_now_integration.py +2 -2
- instana_client/models/service_result.py +3 -3
- instana_client/models/service_scope.py +4 -4
- instana_client/models/service_scope_with_metadata.py +5 -5
- instana_client/models/service_scoped_to.py +3 -3
- instana_client/models/service_scoped_to_with_metadata.py +4 -4
- instana_client/models/service_simple.py +2 -2
- instana_client/models/session_settings.py +4 -4
- instana_client/models/simple_metric_configuration.py +121 -0
- instana_client/models/single_value.py +128 -0
- instana_client/models/slack_integration.py +2 -2
- instana_client/models/sli_configuration.py +2 -2
- instana_client/models/sli_configuration_with_last_updated.py +2 -2
- instana_client/models/sli_entity.py +2 -2
- instana_client/models/sli_report.py +2 -2
- instana_client/models/slo_config_with_rbac_tag.py +128 -0
- instana_client/models/slo_entity.py +8 -5
- instana_client/models/slo_report.py +2 -2
- instana_client/models/slowness_application_alert_rule.py +2 -2
- instana_client/models/slowness_mobile_app_alert_rule.py +90 -0
- instana_client/models/slowness_website_alert_rule.py +2 -2
- instana_client/models/snapshot_item.py +2 -2
- instana_client/models/snapshot_preview.py +7 -7
- instana_client/models/snapshot_result.py +2 -2
- instana_client/models/software_user.py +2 -2
- instana_client/models/software_version.py +2 -2
- instana_client/models/source_map_file_blob.py +2 -2
- instana_client/models/source_map_file_meta.py +2 -2
- instana_client/models/source_map_upload_config.py +2 -2
- instana_client/models/source_map_upload_configs.py +106 -0
- instana_client/models/span_excerpt.py +12 -12
- instana_client/models/span_relation.py +3 -3
- instana_client/models/specific_js_errors_website_alert_rule.py +4 -4
- instana_client/models/splunk_integration.py +2 -2
- instana_client/models/ssl_certificate_configuration.py +17 -5
- instana_client/models/ssl_certificate_validation.py +99 -0
- instana_client/models/stack_trace_item.py +7 -7
- instana_client/models/stack_trace_line.py +2 -2
- instana_client/models/static_baseline_threshold_rule.py +3 -3
- instana_client/models/static_string_field.py +2 -2
- instana_client/models/static_threshold.py +2 -2
- instana_client/models/static_threshold_rule.py +2 -2
- instana_client/models/status_code_application_alert_rule.py +2 -2
- instana_client/models/status_code_mobile_app_alert_rule.py +4 -4
- instana_client/models/status_code_website_alert_rule.py +4 -4
- instana_client/models/subtraction.py +97 -0
- instana_client/models/synthetic_alert_config.py +2 -2
- instana_client/models/synthetic_alert_config_with_metadata.py +2 -2
- instana_client/models/synthetic_alert_rule.py +2 -2
- instana_client/models/synthetic_call_config.py +4 -4
- instana_client/models/synthetic_call_rule.py +6 -6
- instana_client/models/synthetic_call_with_defaults_config.py +4 -4
- instana_client/models/synthetic_configuration.py +93 -0
- instana_client/models/synthetic_credential.py +23 -3
- instana_client/models/synthetic_datacenter.py +2 -2
- instana_client/models/synthetic_datacenter_configuration.py +2 -2
- instana_client/models/synthetic_geo_point.py +2 -2
- instana_client/models/synthetic_location.py +2 -2
- instana_client/models/synthetic_location_configuration.py +2 -2
- instana_client/models/synthetic_metric_configuration.py +2 -2
- instana_client/models/synthetic_metric_tag_group.py +2 -2
- instana_client/models/synthetic_playback_capabilities.py +17 -4
- instana_client/models/synthetic_slo_entity.py +7 -5
- instana_client/models/synthetic_test.py +27 -3
- instana_client/models/synthetic_test_cicd.py +96 -0
- instana_client/models/synthetic_test_cicd_customization.py +96 -0
- instana_client/models/synthetic_test_cicd_item.py +114 -0
- instana_client/models/synthetic_test_cicd_response.py +92 -0
- instana_client/models/synthetic_time_threshold.py +2 -2
- instana_client/models/synthetic_type_configuration.py +11 -11
- instana_client/models/synthetics_event_result.py +5 -7
- instana_client/models/system_rule.py +2 -2
- instana_client/models/system_rule_label.py +2 -2
- instana_client/models/tag.py +6 -6
- instana_client/models/tag_catalog.py +2 -2
- instana_client/models/tag_filter.py +4 -4
- instana_client/models/tag_filter_expression.py +2 -2
- instana_client/models/tag_filter_expression_element.py +2 -2
- instana_client/models/tag_matcher_dto.py +2 -2
- instana_client/models/tag_tree_level.py +2 -2
- instana_client/models/tag_tree_node.py +2 -2
- instana_client/models/tag_tree_tag.py +2 -2
- instana_client/models/test_common_properties.py +2 -2
- instana_client/models/test_last_error.py +90 -0
- instana_client/models/test_result.py +2 -2
- instana_client/models/test_result_common_properties.py +24 -3
- instana_client/models/test_result_detail_data.py +2 -2
- instana_client/models/test_result_item.py +2 -2
- instana_client/models/test_result_list_item.py +2 -2
- instana_client/models/test_result_list_result.py +2 -2
- instana_client/models/test_result_metadata.py +2 -2
- instana_client/models/test_result_subtransaction.py +2 -2
- instana_client/models/threshold.py +2 -2
- instana_client/models/threshold_config_rule.py +2 -2
- instana_client/models/threshold_rule.py +2 -2
- instana_client/models/throughput_application_alert_rule.py +2 -2
- instana_client/models/throughput_mobile_app_alert_rule.py +2 -2
- instana_client/models/throughput_website_alert_rule.py +2 -2
- instana_client/models/time_frame.py +2 -2
- instana_client/models/time_window.py +5 -4
- instana_client/models/topology.py +2 -2
- instana_client/models/trace.py +8 -8
- instana_client/models/trace_activity_tree_node_details.py +13 -13
- instana_client/models/trace_download_result.py +2 -2
- instana_client/models/trace_groups_item.py +2 -2
- instana_client/models/trace_groups_result.py +2 -2
- instana_client/models/trace_impact_application_time_threshold.py +2 -2
- instana_client/models/trace_item.py +2 -2
- instana_client/models/trace_result.py +2 -2
- instana_client/models/traffic_blueprint_indicator.py +3 -3
- instana_client/models/trigger.py +15 -7
- instana_client/models/type_configuration.py +2 -2
- instana_client/models/unsupported_http_path_segment_matching_rule.py +2 -2
- instana_client/models/updated_business_perspective_config.py +2 -2
- instana_client/models/usage_result.py +2 -2
- instana_client/models/usage_result_items.py +2 -2
- instana_client/models/user_basic_result.py +2 -2
- instana_client/models/user_impact_mobile_app_time_threshold.py +3 -3
- instana_client/models/user_impact_website_time_threshold.py +3 -3
- instana_client/models/user_result.py +2 -2
- instana_client/models/users_result.py +2 -2
- instana_client/models/validated_alerting_channel_input_info.py +4 -4
- instana_client/models/validated_alerting_configuration.py +2 -2
- instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +2 -2
- instana_client/models/validated_maintenance_config_with_status.py +2 -2
- instana_client/models/victor_ops_integration.py +2 -2
- instana_client/models/violations_in_period_application_time_threshold.py +2 -2
- instana_client/models/violations_in_period_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_period_website_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_application_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_infra_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_log_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_synthetic_time_threshold.py +2 -2
- instana_client/models/violations_in_sequence_website_time_threshold.py +2 -2
- instana_client/models/watson_ai_ops_webhook_integration.py +2 -2
- instana_client/models/webex_teams_webhook_integration.py +2 -2
- instana_client/models/webhook_integration.py +14 -4
- instana_client/models/webpage_action_configuration.py +2 -2
- instana_client/models/webpage_script_configuration.py +5 -3
- instana_client/models/website.py +2 -2
- instana_client/models/website_alert_config.py +2 -2
- instana_client/models/website_alert_config_with_metadata.py +2 -2
- instana_client/models/website_alert_rule.py +2 -2
- instana_client/models/website_apdex_entity.py +2 -2
- instana_client/models/website_beacon_groups_item.py +2 -2
- instana_client/models/website_beacon_groups_result.py +2 -2
- instana_client/models/website_beacon_result.py +2 -2
- instana_client/models/website_beacon_tag_group.py +2 -2
- instana_client/models/website_beacons_item.py +11 -5
- instana_client/models/website_event_based_sli_entity.py +2 -2
- instana_client/models/website_event_result.py +4 -6
- instana_client/models/website_metric_result.py +2 -2
- instana_client/models/website_monitoring_beacon.py +7 -3
- instana_client/models/website_monitoring_metric_description.py +2 -2
- instana_client/models/website_monitoring_metrics_configuration.py +2 -2
- instana_client/models/website_slo_entity.py +2 -2
- instana_client/models/website_time_based_sli_entity.py +2 -2
- instana_client/models/website_time_threshold.py +2 -2
- instana_client/models/widget.py +2 -2
- instana_client/models/with_metadata.py +2 -2
- instana_client/models/with_resolved_name.py +2 -2
- instana_client/models/z_chat_ops_integration.py +2 -2
- instana_client/rest.py +3 -2
- instana_client-1.0.1.dist-info/METADATA +1068 -0
- instana_client-1.0.1.dist-info/RECORD +581 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/WHEEL +1 -1
- instana_client/models/dns_action_configuration.py +0 -134
- instana_client/models/dns_action_filter_query_time.py +0 -99
- instana_client/models/dns_action_filter_target_value.py +0 -106
- instana_client/models/full_trace.py +0 -97
- instana_client/models/span.py +0 -156
- instana_client-1.0.0.dist-info/METADATA +0 -25
- instana_client-1.0.0.dist-info/RECORD +0 -515
- {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Instana REST API documentation
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Documentation for INSTANA REST API
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.306.1368
|
|
9
9
|
Contact: support@instana.com
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
@@ -20,9 +20,13 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBytes, StrictStr
|
|
21
21
|
from typing import List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from instana_client.models.api_tag import ApiTag
|
|
24
|
+
from instana_client.models.create_website_request_inner import CreateWebsiteRequestInner
|
|
23
25
|
from instana_client.models.geo_location_configuration import GeoLocationConfiguration
|
|
24
26
|
from instana_client.models.ip_masking_configuration import IpMaskingConfiguration
|
|
27
|
+
from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest
|
|
25
28
|
from instana_client.models.source_map_upload_config import SourceMapUploadConfig
|
|
29
|
+
from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs
|
|
26
30
|
from instana_client.models.website import Website
|
|
27
31
|
|
|
28
32
|
from instana_client.api_client import ApiClient, RequestSerialized
|
|
@@ -61,9 +65,9 @@ class WebsiteConfigurationApi:
|
|
|
61
65
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
62
66
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
63
67
|
) -> None:
|
|
64
|
-
"""Clear source map files for
|
|
68
|
+
"""Clear source map files for sourcemap upload configuration
|
|
65
69
|
|
|
66
|
-
API request to clear source map files for
|
|
70
|
+
API request to clear source map files for sourcemap upload configuration.
|
|
67
71
|
|
|
68
72
|
:param website_id: Website ID (required)
|
|
69
73
|
:type website_id: str
|
|
@@ -136,9 +140,9 @@ class WebsiteConfigurationApi:
|
|
|
136
140
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
137
141
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
138
142
|
) -> ApiResponse[None]:
|
|
139
|
-
"""Clear source map files for
|
|
143
|
+
"""Clear source map files for sourcemap upload configuration
|
|
140
144
|
|
|
141
|
-
API request to clear source map files for
|
|
145
|
+
API request to clear source map files for sourcemap upload configuration.
|
|
142
146
|
|
|
143
147
|
:param website_id: Website ID (required)
|
|
144
148
|
:type website_id: str
|
|
@@ -211,9 +215,9 @@ class WebsiteConfigurationApi:
|
|
|
211
215
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
212
216
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
213
217
|
) -> RESTResponseType:
|
|
214
|
-
"""Clear source map files for
|
|
218
|
+
"""Clear source map files for sourcemap upload configuration
|
|
215
219
|
|
|
216
|
-
API request to clear source map files for
|
|
220
|
+
API request to clear source map files for sourcemap upload configuration.
|
|
217
221
|
|
|
218
222
|
:param website_id: Website ID (required)
|
|
219
223
|
:type website_id: str
|
|
@@ -328,6 +332,7 @@ class WebsiteConfigurationApi:
|
|
|
328
332
|
def create_website(
|
|
329
333
|
self,
|
|
330
334
|
name: Optional[StrictStr] = None,
|
|
335
|
+
create_website_request_inner: Optional[List[CreateWebsiteRequestInner]] = None,
|
|
331
336
|
_request_timeout: Union[
|
|
332
337
|
None,
|
|
333
338
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -347,6 +352,8 @@ class WebsiteConfigurationApi:
|
|
|
347
352
|
|
|
348
353
|
:param name:
|
|
349
354
|
:type name: str
|
|
355
|
+
:param create_website_request_inner:
|
|
356
|
+
:type create_website_request_inner: List[CreateWebsiteRequestInner]
|
|
350
357
|
:param _request_timeout: timeout setting for this request. If one
|
|
351
358
|
number provided, it will be total request
|
|
352
359
|
timeout. It can also be a pair (tuple) of
|
|
@@ -371,6 +378,7 @@ class WebsiteConfigurationApi:
|
|
|
371
378
|
|
|
372
379
|
_param = self._create_website_serialize(
|
|
373
380
|
name=name,
|
|
381
|
+
create_website_request_inner=create_website_request_inner,
|
|
374
382
|
_request_auth=_request_auth,
|
|
375
383
|
_content_type=_content_type,
|
|
376
384
|
_headers=_headers,
|
|
@@ -399,6 +407,7 @@ class WebsiteConfigurationApi:
|
|
|
399
407
|
def create_website_with_http_info(
|
|
400
408
|
self,
|
|
401
409
|
name: Optional[StrictStr] = None,
|
|
410
|
+
create_website_request_inner: Optional[List[CreateWebsiteRequestInner]] = None,
|
|
402
411
|
_request_timeout: Union[
|
|
403
412
|
None,
|
|
404
413
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -418,6 +427,8 @@ class WebsiteConfigurationApi:
|
|
|
418
427
|
|
|
419
428
|
:param name:
|
|
420
429
|
:type name: str
|
|
430
|
+
:param create_website_request_inner:
|
|
431
|
+
:type create_website_request_inner: List[CreateWebsiteRequestInner]
|
|
421
432
|
:param _request_timeout: timeout setting for this request. If one
|
|
422
433
|
number provided, it will be total request
|
|
423
434
|
timeout. It can also be a pair (tuple) of
|
|
@@ -442,6 +453,7 @@ class WebsiteConfigurationApi:
|
|
|
442
453
|
|
|
443
454
|
_param = self._create_website_serialize(
|
|
444
455
|
name=name,
|
|
456
|
+
create_website_request_inner=create_website_request_inner,
|
|
445
457
|
_request_auth=_request_auth,
|
|
446
458
|
_content_type=_content_type,
|
|
447
459
|
_headers=_headers,
|
|
@@ -470,6 +482,7 @@ class WebsiteConfigurationApi:
|
|
|
470
482
|
def create_website_without_preload_content(
|
|
471
483
|
self,
|
|
472
484
|
name: Optional[StrictStr] = None,
|
|
485
|
+
create_website_request_inner: Optional[List[CreateWebsiteRequestInner]] = None,
|
|
473
486
|
_request_timeout: Union[
|
|
474
487
|
None,
|
|
475
488
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -489,6 +502,8 @@ class WebsiteConfigurationApi:
|
|
|
489
502
|
|
|
490
503
|
:param name:
|
|
491
504
|
:type name: str
|
|
505
|
+
:param create_website_request_inner:
|
|
506
|
+
:type create_website_request_inner: List[CreateWebsiteRequestInner]
|
|
492
507
|
:param _request_timeout: timeout setting for this request. If one
|
|
493
508
|
number provided, it will be total request
|
|
494
509
|
timeout. It can also be a pair (tuple) of
|
|
@@ -513,6 +528,7 @@ class WebsiteConfigurationApi:
|
|
|
513
528
|
|
|
514
529
|
_param = self._create_website_serialize(
|
|
515
530
|
name=name,
|
|
531
|
+
create_website_request_inner=create_website_request_inner,
|
|
516
532
|
_request_auth=_request_auth,
|
|
517
533
|
_content_type=_content_type,
|
|
518
534
|
_headers=_headers,
|
|
@@ -536,6 +552,7 @@ class WebsiteConfigurationApi:
|
|
|
536
552
|
def _create_website_serialize(
|
|
537
553
|
self,
|
|
538
554
|
name,
|
|
555
|
+
create_website_request_inner,
|
|
539
556
|
_request_auth,
|
|
540
557
|
_content_type,
|
|
541
558
|
_headers,
|
|
@@ -545,6 +562,7 @@ class WebsiteConfigurationApi:
|
|
|
545
562
|
_host = None
|
|
546
563
|
|
|
547
564
|
_collection_formats: Dict[str, str] = {
|
|
565
|
+
'CreateWebsiteRequestInner': '',
|
|
548
566
|
}
|
|
549
567
|
|
|
550
568
|
_path_params: Dict[str, str] = {}
|
|
@@ -565,6 +583,8 @@ class WebsiteConfigurationApi:
|
|
|
565
583
|
# process the header parameters
|
|
566
584
|
# process the form parameters
|
|
567
585
|
# process the body parameter
|
|
586
|
+
if create_website_request_inner is not None:
|
|
587
|
+
_body_params = create_website_request_inner
|
|
568
588
|
|
|
569
589
|
|
|
570
590
|
# set the HTTP header `Accept`
|
|
@@ -575,6 +595,19 @@ class WebsiteConfigurationApi:
|
|
|
575
595
|
]
|
|
576
596
|
)
|
|
577
597
|
|
|
598
|
+
# set the HTTP header `Content-Type`
|
|
599
|
+
if _content_type:
|
|
600
|
+
_header_params['Content-Type'] = _content_type
|
|
601
|
+
else:
|
|
602
|
+
_default_content_type = (
|
|
603
|
+
self.api_client.select_header_content_type(
|
|
604
|
+
[
|
|
605
|
+
'application/json'
|
|
606
|
+
]
|
|
607
|
+
)
|
|
608
|
+
)
|
|
609
|
+
if _default_content_type is not None:
|
|
610
|
+
_header_params['Content-Type'] = _default_content_type
|
|
578
611
|
|
|
579
612
|
# authentication setting
|
|
580
613
|
_auth_settings: List[str] = [
|
|
@@ -602,7 +635,7 @@ class WebsiteConfigurationApi:
|
|
|
602
635
|
@validate_call
|
|
603
636
|
def delete_website(
|
|
604
637
|
self,
|
|
605
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
638
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
606
639
|
_request_timeout: Union[
|
|
607
640
|
None,
|
|
608
641
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -620,7 +653,7 @@ class WebsiteConfigurationApi:
|
|
|
620
653
|
|
|
621
654
|
API request to delete website.
|
|
622
655
|
|
|
623
|
-
:param website_id:
|
|
656
|
+
:param website_id: Website ID (required)
|
|
624
657
|
:type website_id: str
|
|
625
658
|
:param _request_timeout: timeout setting for this request. If one
|
|
626
659
|
number provided, it will be total request
|
|
@@ -672,7 +705,7 @@ class WebsiteConfigurationApi:
|
|
|
672
705
|
@validate_call
|
|
673
706
|
def delete_website_with_http_info(
|
|
674
707
|
self,
|
|
675
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
708
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
676
709
|
_request_timeout: Union[
|
|
677
710
|
None,
|
|
678
711
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -690,7 +723,7 @@ class WebsiteConfigurationApi:
|
|
|
690
723
|
|
|
691
724
|
API request to delete website.
|
|
692
725
|
|
|
693
|
-
:param website_id:
|
|
726
|
+
:param website_id: Website ID (required)
|
|
694
727
|
:type website_id: str
|
|
695
728
|
:param _request_timeout: timeout setting for this request. If one
|
|
696
729
|
number provided, it will be total request
|
|
@@ -742,7 +775,7 @@ class WebsiteConfigurationApi:
|
|
|
742
775
|
@validate_call
|
|
743
776
|
def delete_website_without_preload_content(
|
|
744
777
|
self,
|
|
745
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
778
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
746
779
|
_request_timeout: Union[
|
|
747
780
|
None,
|
|
748
781
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -760,7 +793,7 @@ class WebsiteConfigurationApi:
|
|
|
760
793
|
|
|
761
794
|
API request to delete website.
|
|
762
795
|
|
|
763
|
-
:param website_id:
|
|
796
|
+
:param website_id: Website ID (required)
|
|
764
797
|
:type website_id: str
|
|
765
798
|
:param _request_timeout: timeout setting for this request. If one
|
|
766
799
|
number provided, it will be total request
|
|
@@ -863,9 +896,10 @@ class WebsiteConfigurationApi:
|
|
|
863
896
|
|
|
864
897
|
|
|
865
898
|
@validate_call
|
|
866
|
-
def
|
|
899
|
+
def delete_website_source_map_upload_configuration(
|
|
867
900
|
self,
|
|
868
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
901
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
902
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
869
903
|
_request_timeout: Union[
|
|
870
904
|
None,
|
|
871
905
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -878,13 +912,15 @@ class WebsiteConfigurationApi:
|
|
|
878
912
|
_content_type: Optional[StrictStr] = None,
|
|
879
913
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
880
914
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
881
|
-
) ->
|
|
882
|
-
"""
|
|
915
|
+
) -> None:
|
|
916
|
+
"""Delete sourcemap upload configuration for website
|
|
883
917
|
|
|
884
|
-
API request to
|
|
918
|
+
API request to delete sourcemap upload configuration for website.
|
|
885
919
|
|
|
886
|
-
:param website_id:
|
|
920
|
+
:param website_id: Website ID (required)
|
|
887
921
|
:type website_id: str
|
|
922
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
923
|
+
:type source_map_config_id: str
|
|
888
924
|
:param _request_timeout: timeout setting for this request. If one
|
|
889
925
|
number provided, it will be total request
|
|
890
926
|
timeout. It can also be a pair (tuple) of
|
|
@@ -907,8 +943,9 @@ class WebsiteConfigurationApi:
|
|
|
907
943
|
:return: Returns the result object.
|
|
908
944
|
""" # noqa: E501
|
|
909
945
|
|
|
910
|
-
_param = self.
|
|
946
|
+
_param = self._delete_website_source_map_upload_configuration_serialize(
|
|
911
947
|
website_id=website_id,
|
|
948
|
+
source_map_config_id=source_map_config_id,
|
|
912
949
|
_request_auth=_request_auth,
|
|
913
950
|
_content_type=_content_type,
|
|
914
951
|
_headers=_headers,
|
|
@@ -916,8 +953,9 @@ class WebsiteConfigurationApi:
|
|
|
916
953
|
)
|
|
917
954
|
|
|
918
955
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
919
|
-
'
|
|
956
|
+
'204': None,
|
|
920
957
|
'401': None,
|
|
958
|
+
'403': None,
|
|
921
959
|
'500': None,
|
|
922
960
|
}
|
|
923
961
|
response_data = self.api_client.call_api(
|
|
@@ -932,9 +970,10 @@ class WebsiteConfigurationApi:
|
|
|
932
970
|
|
|
933
971
|
|
|
934
972
|
@validate_call
|
|
935
|
-
def
|
|
973
|
+
def delete_website_source_map_upload_configuration_with_http_info(
|
|
936
974
|
self,
|
|
937
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
975
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
976
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
938
977
|
_request_timeout: Union[
|
|
939
978
|
None,
|
|
940
979
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -947,13 +986,15 @@ class WebsiteConfigurationApi:
|
|
|
947
986
|
_content_type: Optional[StrictStr] = None,
|
|
948
987
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
949
988
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
950
|
-
) -> ApiResponse[
|
|
951
|
-
"""
|
|
989
|
+
) -> ApiResponse[None]:
|
|
990
|
+
"""Delete sourcemap upload configuration for website
|
|
952
991
|
|
|
953
|
-
API request to
|
|
992
|
+
API request to delete sourcemap upload configuration for website.
|
|
954
993
|
|
|
955
|
-
:param website_id:
|
|
994
|
+
:param website_id: Website ID (required)
|
|
956
995
|
:type website_id: str
|
|
996
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
997
|
+
:type source_map_config_id: str
|
|
957
998
|
:param _request_timeout: timeout setting for this request. If one
|
|
958
999
|
number provided, it will be total request
|
|
959
1000
|
timeout. It can also be a pair (tuple) of
|
|
@@ -976,8 +1017,9 @@ class WebsiteConfigurationApi:
|
|
|
976
1017
|
:return: Returns the result object.
|
|
977
1018
|
""" # noqa: E501
|
|
978
1019
|
|
|
979
|
-
_param = self.
|
|
1020
|
+
_param = self._delete_website_source_map_upload_configuration_serialize(
|
|
980
1021
|
website_id=website_id,
|
|
1022
|
+
source_map_config_id=source_map_config_id,
|
|
981
1023
|
_request_auth=_request_auth,
|
|
982
1024
|
_content_type=_content_type,
|
|
983
1025
|
_headers=_headers,
|
|
@@ -985,8 +1027,9 @@ class WebsiteConfigurationApi:
|
|
|
985
1027
|
)
|
|
986
1028
|
|
|
987
1029
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
988
|
-
'
|
|
1030
|
+
'204': None,
|
|
989
1031
|
'401': None,
|
|
1032
|
+
'403': None,
|
|
990
1033
|
'500': None,
|
|
991
1034
|
}
|
|
992
1035
|
response_data = self.api_client.call_api(
|
|
@@ -1001,9 +1044,10 @@ class WebsiteConfigurationApi:
|
|
|
1001
1044
|
|
|
1002
1045
|
|
|
1003
1046
|
@validate_call
|
|
1004
|
-
def
|
|
1047
|
+
def delete_website_source_map_upload_configuration_without_preload_content(
|
|
1005
1048
|
self,
|
|
1006
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1049
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1050
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
1007
1051
|
_request_timeout: Union[
|
|
1008
1052
|
None,
|
|
1009
1053
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1017,12 +1061,14 @@ class WebsiteConfigurationApi:
|
|
|
1017
1061
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1018
1062
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1019
1063
|
) -> RESTResponseType:
|
|
1020
|
-
"""
|
|
1064
|
+
"""Delete sourcemap upload configuration for website
|
|
1021
1065
|
|
|
1022
|
-
API request to
|
|
1066
|
+
API request to delete sourcemap upload configuration for website.
|
|
1023
1067
|
|
|
1024
|
-
:param website_id:
|
|
1068
|
+
:param website_id: Website ID (required)
|
|
1025
1069
|
:type website_id: str
|
|
1070
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
1071
|
+
:type source_map_config_id: str
|
|
1026
1072
|
:param _request_timeout: timeout setting for this request. If one
|
|
1027
1073
|
number provided, it will be total request
|
|
1028
1074
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1045,8 +1091,9 @@ class WebsiteConfigurationApi:
|
|
|
1045
1091
|
:return: Returns the result object.
|
|
1046
1092
|
""" # noqa: E501
|
|
1047
1093
|
|
|
1048
|
-
_param = self.
|
|
1094
|
+
_param = self._delete_website_source_map_upload_configuration_serialize(
|
|
1049
1095
|
website_id=website_id,
|
|
1096
|
+
source_map_config_id=source_map_config_id,
|
|
1050
1097
|
_request_auth=_request_auth,
|
|
1051
1098
|
_content_type=_content_type,
|
|
1052
1099
|
_headers=_headers,
|
|
@@ -1054,8 +1101,9 @@ class WebsiteConfigurationApi:
|
|
|
1054
1101
|
)
|
|
1055
1102
|
|
|
1056
1103
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1057
|
-
'
|
|
1104
|
+
'204': None,
|
|
1058
1105
|
'401': None,
|
|
1106
|
+
'403': None,
|
|
1059
1107
|
'500': None,
|
|
1060
1108
|
}
|
|
1061
1109
|
response_data = self.api_client.call_api(
|
|
@@ -1065,9 +1113,10 @@ class WebsiteConfigurationApi:
|
|
|
1065
1113
|
return response_data.response
|
|
1066
1114
|
|
|
1067
1115
|
|
|
1068
|
-
def
|
|
1116
|
+
def _delete_website_source_map_upload_configuration_serialize(
|
|
1069
1117
|
self,
|
|
1070
1118
|
website_id,
|
|
1119
|
+
source_map_config_id,
|
|
1071
1120
|
_request_auth,
|
|
1072
1121
|
_content_type,
|
|
1073
1122
|
_headers,
|
|
@@ -1091,29 +1140,23 @@ class WebsiteConfigurationApi:
|
|
|
1091
1140
|
# process the path parameters
|
|
1092
1141
|
if website_id is not None:
|
|
1093
1142
|
_path_params['websiteId'] = website_id
|
|
1143
|
+
if source_map_config_id is not None:
|
|
1144
|
+
_path_params['sourceMapConfigId'] = source_map_config_id
|
|
1094
1145
|
# process the query parameters
|
|
1095
1146
|
# process the header parameters
|
|
1096
1147
|
# process the form parameters
|
|
1097
1148
|
# process the body parameter
|
|
1098
1149
|
|
|
1099
1150
|
|
|
1100
|
-
# set the HTTP header `Accept`
|
|
1101
|
-
if 'Accept' not in _header_params:
|
|
1102
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1103
|
-
[
|
|
1104
|
-
'application/json'
|
|
1105
|
-
]
|
|
1106
|
-
)
|
|
1107
1151
|
|
|
1108
1152
|
|
|
1109
1153
|
# authentication setting
|
|
1110
1154
|
_auth_settings: List[str] = [
|
|
1111
|
-
'ApiKeyAuth'
|
|
1112
1155
|
]
|
|
1113
1156
|
|
|
1114
1157
|
return self.api_client.param_serialize(
|
|
1115
|
-
method='
|
|
1116
|
-
resource_path='/api/website-monitoring/config/{websiteId}',
|
|
1158
|
+
method='DELETE',
|
|
1159
|
+
resource_path='/api/website-monitoring/config/{websiteId}/sourcemap-upload/{sourceMapConfigId}',
|
|
1117
1160
|
path_params=_path_params,
|
|
1118
1161
|
query_params=_query_params,
|
|
1119
1162
|
header_params=_header_params,
|
|
@@ -1130,9 +1173,9 @@ class WebsiteConfigurationApi:
|
|
|
1130
1173
|
|
|
1131
1174
|
|
|
1132
1175
|
@validate_call
|
|
1133
|
-
def
|
|
1176
|
+
def get_website(
|
|
1134
1177
|
self,
|
|
1135
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1178
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1136
1179
|
_request_timeout: Union[
|
|
1137
1180
|
None,
|
|
1138
1181
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1145,12 +1188,12 @@ class WebsiteConfigurationApi:
|
|
|
1145
1188
|
_content_type: Optional[StrictStr] = None,
|
|
1146
1189
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1147
1190
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1148
|
-
) ->
|
|
1149
|
-
"""Get
|
|
1191
|
+
) -> Website:
|
|
1192
|
+
"""Get configured website
|
|
1150
1193
|
|
|
1151
|
-
API request to get
|
|
1194
|
+
API request to get configured website details for specified websiteId
|
|
1152
1195
|
|
|
1153
|
-
:param website_id:
|
|
1196
|
+
:param website_id: Website ID (required)
|
|
1154
1197
|
:type website_id: str
|
|
1155
1198
|
:param _request_timeout: timeout setting for this request. If one
|
|
1156
1199
|
number provided, it will be total request
|
|
@@ -1174,7 +1217,7 @@ class WebsiteConfigurationApi:
|
|
|
1174
1217
|
:return: Returns the result object.
|
|
1175
1218
|
""" # noqa: E501
|
|
1176
1219
|
|
|
1177
|
-
_param = self.
|
|
1220
|
+
_param = self._get_website_serialize(
|
|
1178
1221
|
website_id=website_id,
|
|
1179
1222
|
_request_auth=_request_auth,
|
|
1180
1223
|
_content_type=_content_type,
|
|
@@ -1183,10 +1226,8 @@ class WebsiteConfigurationApi:
|
|
|
1183
1226
|
)
|
|
1184
1227
|
|
|
1185
1228
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1186
|
-
'200': "
|
|
1229
|
+
'200': "Website",
|
|
1187
1230
|
'401': None,
|
|
1188
|
-
'403': None,
|
|
1189
|
-
'404': None,
|
|
1190
1231
|
'500': None,
|
|
1191
1232
|
}
|
|
1192
1233
|
response_data = self.api_client.call_api(
|
|
@@ -1201,9 +1242,9 @@ class WebsiteConfigurationApi:
|
|
|
1201
1242
|
|
|
1202
1243
|
|
|
1203
1244
|
@validate_call
|
|
1204
|
-
def
|
|
1245
|
+
def get_website_with_http_info(
|
|
1205
1246
|
self,
|
|
1206
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1247
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1207
1248
|
_request_timeout: Union[
|
|
1208
1249
|
None,
|
|
1209
1250
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1216,12 +1257,12 @@ class WebsiteConfigurationApi:
|
|
|
1216
1257
|
_content_type: Optional[StrictStr] = None,
|
|
1217
1258
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1218
1259
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1219
|
-
) -> ApiResponse[
|
|
1220
|
-
"""Get
|
|
1260
|
+
) -> ApiResponse[Website]:
|
|
1261
|
+
"""Get configured website
|
|
1221
1262
|
|
|
1222
|
-
API request to get
|
|
1263
|
+
API request to get configured website details for specified websiteId
|
|
1223
1264
|
|
|
1224
|
-
:param website_id:
|
|
1265
|
+
:param website_id: Website ID (required)
|
|
1225
1266
|
:type website_id: str
|
|
1226
1267
|
:param _request_timeout: timeout setting for this request. If one
|
|
1227
1268
|
number provided, it will be total request
|
|
@@ -1245,7 +1286,7 @@ class WebsiteConfigurationApi:
|
|
|
1245
1286
|
:return: Returns the result object.
|
|
1246
1287
|
""" # noqa: E501
|
|
1247
1288
|
|
|
1248
|
-
_param = self.
|
|
1289
|
+
_param = self._get_website_serialize(
|
|
1249
1290
|
website_id=website_id,
|
|
1250
1291
|
_request_auth=_request_auth,
|
|
1251
1292
|
_content_type=_content_type,
|
|
@@ -1254,10 +1295,8 @@ class WebsiteConfigurationApi:
|
|
|
1254
1295
|
)
|
|
1255
1296
|
|
|
1256
1297
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1257
|
-
'200': "
|
|
1298
|
+
'200': "Website",
|
|
1258
1299
|
'401': None,
|
|
1259
|
-
'403': None,
|
|
1260
|
-
'404': None,
|
|
1261
1300
|
'500': None,
|
|
1262
1301
|
}
|
|
1263
1302
|
response_data = self.api_client.call_api(
|
|
@@ -1272,9 +1311,9 @@ class WebsiteConfigurationApi:
|
|
|
1272
1311
|
|
|
1273
1312
|
|
|
1274
1313
|
@validate_call
|
|
1275
|
-
def
|
|
1314
|
+
def get_website_without_preload_content(
|
|
1276
1315
|
self,
|
|
1277
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1316
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1278
1317
|
_request_timeout: Union[
|
|
1279
1318
|
None,
|
|
1280
1319
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1288,11 +1327,11 @@ class WebsiteConfigurationApi:
|
|
|
1288
1327
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1289
1328
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1290
1329
|
) -> RESTResponseType:
|
|
1291
|
-
"""Get
|
|
1330
|
+
"""Get configured website
|
|
1292
1331
|
|
|
1293
|
-
API request to get
|
|
1332
|
+
API request to get configured website details for specified websiteId
|
|
1294
1333
|
|
|
1295
|
-
:param website_id:
|
|
1334
|
+
:param website_id: Website ID (required)
|
|
1296
1335
|
:type website_id: str
|
|
1297
1336
|
:param _request_timeout: timeout setting for this request. If one
|
|
1298
1337
|
number provided, it will be total request
|
|
@@ -1316,7 +1355,7 @@ class WebsiteConfigurationApi:
|
|
|
1316
1355
|
:return: Returns the result object.
|
|
1317
1356
|
""" # noqa: E501
|
|
1318
1357
|
|
|
1319
|
-
_param = self.
|
|
1358
|
+
_param = self._get_website_serialize(
|
|
1320
1359
|
website_id=website_id,
|
|
1321
1360
|
_request_auth=_request_auth,
|
|
1322
1361
|
_content_type=_content_type,
|
|
@@ -1325,10 +1364,8 @@ class WebsiteConfigurationApi:
|
|
|
1325
1364
|
)
|
|
1326
1365
|
|
|
1327
1366
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1328
|
-
'200': "
|
|
1367
|
+
'200': "Website",
|
|
1329
1368
|
'401': None,
|
|
1330
|
-
'403': None,
|
|
1331
|
-
'404': None,
|
|
1332
1369
|
'500': None,
|
|
1333
1370
|
}
|
|
1334
1371
|
response_data = self.api_client.call_api(
|
|
@@ -1338,7 +1375,7 @@ class WebsiteConfigurationApi:
|
|
|
1338
1375
|
return response_data.response
|
|
1339
1376
|
|
|
1340
1377
|
|
|
1341
|
-
def
|
|
1378
|
+
def _get_website_serialize(
|
|
1342
1379
|
self,
|
|
1343
1380
|
website_id,
|
|
1344
1381
|
_request_auth,
|
|
@@ -1386,7 +1423,7 @@ class WebsiteConfigurationApi:
|
|
|
1386
1423
|
|
|
1387
1424
|
return self.api_client.param_serialize(
|
|
1388
1425
|
method='GET',
|
|
1389
|
-
resource_path='/api/website-monitoring/config/{websiteId}
|
|
1426
|
+
resource_path='/api/website-monitoring/config/{websiteId}',
|
|
1390
1427
|
path_params=_path_params,
|
|
1391
1428
|
query_params=_query_params,
|
|
1392
1429
|
header_params=_header_params,
|
|
@@ -1403,7 +1440,7 @@ class WebsiteConfigurationApi:
|
|
|
1403
1440
|
|
|
1404
1441
|
|
|
1405
1442
|
@validate_call
|
|
1406
|
-
def
|
|
1443
|
+
def get_website_geo_location_configuration(
|
|
1407
1444
|
self,
|
|
1408
1445
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1409
1446
|
_request_timeout: Union[
|
|
@@ -1418,10 +1455,10 @@ class WebsiteConfigurationApi:
|
|
|
1418
1455
|
_content_type: Optional[StrictStr] = None,
|
|
1419
1456
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1420
1457
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1421
|
-
) ->
|
|
1422
|
-
"""Get
|
|
1458
|
+
) -> GeoLocationConfiguration:
|
|
1459
|
+
"""Get geo location configuration for website
|
|
1423
1460
|
|
|
1424
|
-
API request to get
|
|
1461
|
+
API request to get geo-location configuration of a website specified by its websiteId
|
|
1425
1462
|
|
|
1426
1463
|
:param website_id: Website ID (required)
|
|
1427
1464
|
:type website_id: str
|
|
@@ -1447,7 +1484,7 @@ class WebsiteConfigurationApi:
|
|
|
1447
1484
|
:return: Returns the result object.
|
|
1448
1485
|
""" # noqa: E501
|
|
1449
1486
|
|
|
1450
|
-
_param = self.
|
|
1487
|
+
_param = self._get_website_geo_location_configuration_serialize(
|
|
1451
1488
|
website_id=website_id,
|
|
1452
1489
|
_request_auth=_request_auth,
|
|
1453
1490
|
_content_type=_content_type,
|
|
@@ -1456,7 +1493,7 @@ class WebsiteConfigurationApi:
|
|
|
1456
1493
|
)
|
|
1457
1494
|
|
|
1458
1495
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1459
|
-
'200':
|
|
1496
|
+
'200': "GeoLocationConfiguration",
|
|
1460
1497
|
'401': None,
|
|
1461
1498
|
'403': None,
|
|
1462
1499
|
'404': None,
|
|
@@ -1474,7 +1511,7 @@ class WebsiteConfigurationApi:
|
|
|
1474
1511
|
|
|
1475
1512
|
|
|
1476
1513
|
@validate_call
|
|
1477
|
-
def
|
|
1514
|
+
def get_website_geo_location_configuration_with_http_info(
|
|
1478
1515
|
self,
|
|
1479
1516
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1480
1517
|
_request_timeout: Union[
|
|
@@ -1489,10 +1526,10 @@ class WebsiteConfigurationApi:
|
|
|
1489
1526
|
_content_type: Optional[StrictStr] = None,
|
|
1490
1527
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1491
1528
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1492
|
-
) -> ApiResponse[
|
|
1493
|
-
"""Get
|
|
1529
|
+
) -> ApiResponse[GeoLocationConfiguration]:
|
|
1530
|
+
"""Get geo location configuration for website
|
|
1494
1531
|
|
|
1495
|
-
API request to get
|
|
1532
|
+
API request to get geo-location configuration of a website specified by its websiteId
|
|
1496
1533
|
|
|
1497
1534
|
:param website_id: Website ID (required)
|
|
1498
1535
|
:type website_id: str
|
|
@@ -1518,7 +1555,7 @@ class WebsiteConfigurationApi:
|
|
|
1518
1555
|
:return: Returns the result object.
|
|
1519
1556
|
""" # noqa: E501
|
|
1520
1557
|
|
|
1521
|
-
_param = self.
|
|
1558
|
+
_param = self._get_website_geo_location_configuration_serialize(
|
|
1522
1559
|
website_id=website_id,
|
|
1523
1560
|
_request_auth=_request_auth,
|
|
1524
1561
|
_content_type=_content_type,
|
|
@@ -1527,7 +1564,7 @@ class WebsiteConfigurationApi:
|
|
|
1527
1564
|
)
|
|
1528
1565
|
|
|
1529
1566
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1530
|
-
'200':
|
|
1567
|
+
'200': "GeoLocationConfiguration",
|
|
1531
1568
|
'401': None,
|
|
1532
1569
|
'403': None,
|
|
1533
1570
|
'404': None,
|
|
@@ -1545,7 +1582,7 @@ class WebsiteConfigurationApi:
|
|
|
1545
1582
|
|
|
1546
1583
|
|
|
1547
1584
|
@validate_call
|
|
1548
|
-
def
|
|
1585
|
+
def get_website_geo_location_configuration_without_preload_content(
|
|
1549
1586
|
self,
|
|
1550
1587
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1551
1588
|
_request_timeout: Union[
|
|
@@ -1561,9 +1598,9 @@ class WebsiteConfigurationApi:
|
|
|
1561
1598
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1562
1599
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1563
1600
|
) -> RESTResponseType:
|
|
1564
|
-
"""Get
|
|
1601
|
+
"""Get geo location configuration for website
|
|
1565
1602
|
|
|
1566
|
-
API request to get
|
|
1603
|
+
API request to get geo-location configuration of a website specified by its websiteId
|
|
1567
1604
|
|
|
1568
1605
|
:param website_id: Website ID (required)
|
|
1569
1606
|
:type website_id: str
|
|
@@ -1589,7 +1626,7 @@ class WebsiteConfigurationApi:
|
|
|
1589
1626
|
:return: Returns the result object.
|
|
1590
1627
|
""" # noqa: E501
|
|
1591
1628
|
|
|
1592
|
-
_param = self.
|
|
1629
|
+
_param = self._get_website_geo_location_configuration_serialize(
|
|
1593
1630
|
website_id=website_id,
|
|
1594
1631
|
_request_auth=_request_auth,
|
|
1595
1632
|
_content_type=_content_type,
|
|
@@ -1598,7 +1635,7 @@ class WebsiteConfigurationApi:
|
|
|
1598
1635
|
)
|
|
1599
1636
|
|
|
1600
1637
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1601
|
-
'200':
|
|
1638
|
+
'200': "GeoLocationConfiguration",
|
|
1602
1639
|
'401': None,
|
|
1603
1640
|
'403': None,
|
|
1604
1641
|
'404': None,
|
|
@@ -1611,7 +1648,7 @@ class WebsiteConfigurationApi:
|
|
|
1611
1648
|
return response_data.response
|
|
1612
1649
|
|
|
1613
1650
|
|
|
1614
|
-
def
|
|
1651
|
+
def _get_website_geo_location_configuration_serialize(
|
|
1615
1652
|
self,
|
|
1616
1653
|
website_id,
|
|
1617
1654
|
_request_auth,
|
|
@@ -1647,7 +1684,7 @@ class WebsiteConfigurationApi:
|
|
|
1647
1684
|
if 'Accept' not in _header_params:
|
|
1648
1685
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1649
1686
|
[
|
|
1650
|
-
'
|
|
1687
|
+
'application/json'
|
|
1651
1688
|
]
|
|
1652
1689
|
)
|
|
1653
1690
|
|
|
@@ -1659,7 +1696,7 @@ class WebsiteConfigurationApi:
|
|
|
1659
1696
|
|
|
1660
1697
|
return self.api_client.param_serialize(
|
|
1661
1698
|
method='GET',
|
|
1662
|
-
resource_path='/api/website-monitoring/config/{websiteId}/geo-
|
|
1699
|
+
resource_path='/api/website-monitoring/config/{websiteId}/geo-location',
|
|
1663
1700
|
path_params=_path_params,
|
|
1664
1701
|
query_params=_query_params,
|
|
1665
1702
|
header_params=_header_params,
|
|
@@ -1676,9 +1713,9 @@ class WebsiteConfigurationApi:
|
|
|
1676
1713
|
|
|
1677
1714
|
|
|
1678
1715
|
@validate_call
|
|
1679
|
-
def
|
|
1716
|
+
def get_website_geo_mapping_rules(
|
|
1680
1717
|
self,
|
|
1681
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1718
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1682
1719
|
_request_timeout: Union[
|
|
1683
1720
|
None,
|
|
1684
1721
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1691,12 +1728,12 @@ class WebsiteConfigurationApi:
|
|
|
1691
1728
|
_content_type: Optional[StrictStr] = None,
|
|
1692
1729
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1693
1730
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1694
|
-
) ->
|
|
1695
|
-
"""Get
|
|
1731
|
+
) -> None:
|
|
1732
|
+
"""Get custom geo mapping rules for website
|
|
1696
1733
|
|
|
1697
|
-
API request to get
|
|
1734
|
+
API request to get custom geo mapping rules for website.
|
|
1698
1735
|
|
|
1699
|
-
:param website_id:
|
|
1736
|
+
:param website_id: Website ID (required)
|
|
1700
1737
|
:type website_id: str
|
|
1701
1738
|
:param _request_timeout: timeout setting for this request. If one
|
|
1702
1739
|
number provided, it will be total request
|
|
@@ -1720,7 +1757,7 @@ class WebsiteConfigurationApi:
|
|
|
1720
1757
|
:return: Returns the result object.
|
|
1721
1758
|
""" # noqa: E501
|
|
1722
1759
|
|
|
1723
|
-
_param = self.
|
|
1760
|
+
_param = self._get_website_geo_mapping_rules_serialize(
|
|
1724
1761
|
website_id=website_id,
|
|
1725
1762
|
_request_auth=_request_auth,
|
|
1726
1763
|
_content_type=_content_type,
|
|
@@ -1729,7 +1766,7 @@ class WebsiteConfigurationApi:
|
|
|
1729
1766
|
)
|
|
1730
1767
|
|
|
1731
1768
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1732
|
-
'200':
|
|
1769
|
+
'200': None,
|
|
1733
1770
|
'401': None,
|
|
1734
1771
|
'403': None,
|
|
1735
1772
|
'404': None,
|
|
@@ -1747,9 +1784,9 @@ class WebsiteConfigurationApi:
|
|
|
1747
1784
|
|
|
1748
1785
|
|
|
1749
1786
|
@validate_call
|
|
1750
|
-
def
|
|
1787
|
+
def get_website_geo_mapping_rules_with_http_info(
|
|
1751
1788
|
self,
|
|
1752
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1789
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1753
1790
|
_request_timeout: Union[
|
|
1754
1791
|
None,
|
|
1755
1792
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1762,12 +1799,12 @@ class WebsiteConfigurationApi:
|
|
|
1762
1799
|
_content_type: Optional[StrictStr] = None,
|
|
1763
1800
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1764
1801
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1765
|
-
) -> ApiResponse[
|
|
1766
|
-
"""Get
|
|
1802
|
+
) -> ApiResponse[None]:
|
|
1803
|
+
"""Get custom geo mapping rules for website
|
|
1767
1804
|
|
|
1768
|
-
API request to get
|
|
1805
|
+
API request to get custom geo mapping rules for website.
|
|
1769
1806
|
|
|
1770
|
-
:param website_id:
|
|
1807
|
+
:param website_id: Website ID (required)
|
|
1771
1808
|
:type website_id: str
|
|
1772
1809
|
:param _request_timeout: timeout setting for this request. If one
|
|
1773
1810
|
number provided, it will be total request
|
|
@@ -1791,7 +1828,7 @@ class WebsiteConfigurationApi:
|
|
|
1791
1828
|
:return: Returns the result object.
|
|
1792
1829
|
""" # noqa: E501
|
|
1793
1830
|
|
|
1794
|
-
_param = self.
|
|
1831
|
+
_param = self._get_website_geo_mapping_rules_serialize(
|
|
1795
1832
|
website_id=website_id,
|
|
1796
1833
|
_request_auth=_request_auth,
|
|
1797
1834
|
_content_type=_content_type,
|
|
@@ -1800,7 +1837,7 @@ class WebsiteConfigurationApi:
|
|
|
1800
1837
|
)
|
|
1801
1838
|
|
|
1802
1839
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1803
|
-
'200':
|
|
1840
|
+
'200': None,
|
|
1804
1841
|
'401': None,
|
|
1805
1842
|
'403': None,
|
|
1806
1843
|
'404': None,
|
|
@@ -1818,9 +1855,9 @@ class WebsiteConfigurationApi:
|
|
|
1818
1855
|
|
|
1819
1856
|
|
|
1820
1857
|
@validate_call
|
|
1821
|
-
def
|
|
1858
|
+
def get_website_geo_mapping_rules_without_preload_content(
|
|
1822
1859
|
self,
|
|
1823
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
1860
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1824
1861
|
_request_timeout: Union[
|
|
1825
1862
|
None,
|
|
1826
1863
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1834,11 +1871,11 @@ class WebsiteConfigurationApi:
|
|
|
1834
1871
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1835
1872
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1836
1873
|
) -> RESTResponseType:
|
|
1837
|
-
"""Get
|
|
1874
|
+
"""Get custom geo mapping rules for website
|
|
1838
1875
|
|
|
1839
|
-
API request to get
|
|
1876
|
+
API request to get custom geo mapping rules for website.
|
|
1840
1877
|
|
|
1841
|
-
:param website_id:
|
|
1878
|
+
:param website_id: Website ID (required)
|
|
1842
1879
|
:type website_id: str
|
|
1843
1880
|
:param _request_timeout: timeout setting for this request. If one
|
|
1844
1881
|
number provided, it will be total request
|
|
@@ -1862,7 +1899,7 @@ class WebsiteConfigurationApi:
|
|
|
1862
1899
|
:return: Returns the result object.
|
|
1863
1900
|
""" # noqa: E501
|
|
1864
1901
|
|
|
1865
|
-
_param = self.
|
|
1902
|
+
_param = self._get_website_geo_mapping_rules_serialize(
|
|
1866
1903
|
website_id=website_id,
|
|
1867
1904
|
_request_auth=_request_auth,
|
|
1868
1905
|
_content_type=_content_type,
|
|
@@ -1871,7 +1908,7 @@ class WebsiteConfigurationApi:
|
|
|
1871
1908
|
)
|
|
1872
1909
|
|
|
1873
1910
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1874
|
-
'200':
|
|
1911
|
+
'200': None,
|
|
1875
1912
|
'401': None,
|
|
1876
1913
|
'403': None,
|
|
1877
1914
|
'404': None,
|
|
@@ -1884,7 +1921,7 @@ class WebsiteConfigurationApi:
|
|
|
1884
1921
|
return response_data.response
|
|
1885
1922
|
|
|
1886
1923
|
|
|
1887
|
-
def
|
|
1924
|
+
def _get_website_geo_mapping_rules_serialize(
|
|
1888
1925
|
self,
|
|
1889
1926
|
website_id,
|
|
1890
1927
|
_request_auth,
|
|
@@ -1920,7 +1957,7 @@ class WebsiteConfigurationApi:
|
|
|
1920
1957
|
if 'Accept' not in _header_params:
|
|
1921
1958
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1922
1959
|
[
|
|
1923
|
-
'
|
|
1960
|
+
'text/csv'
|
|
1924
1961
|
]
|
|
1925
1962
|
)
|
|
1926
1963
|
|
|
@@ -1932,7 +1969,7 @@ class WebsiteConfigurationApi:
|
|
|
1932
1969
|
|
|
1933
1970
|
return self.api_client.param_serialize(
|
|
1934
1971
|
method='GET',
|
|
1935
|
-
resource_path='/api/website-monitoring/config/{websiteId}/
|
|
1972
|
+
resource_path='/api/website-monitoring/config/{websiteId}/geo-mapping-rules',
|
|
1936
1973
|
path_params=_path_params,
|
|
1937
1974
|
query_params=_query_params,
|
|
1938
1975
|
header_params=_header_params,
|
|
@@ -1949,8 +1986,9 @@ class WebsiteConfigurationApi:
|
|
|
1949
1986
|
|
|
1950
1987
|
|
|
1951
1988
|
@validate_call
|
|
1952
|
-
def
|
|
1989
|
+
def get_website_ip_masking_configuration(
|
|
1953
1990
|
self,
|
|
1991
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
1954
1992
|
_request_timeout: Union[
|
|
1955
1993
|
None,
|
|
1956
1994
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1963,11 +2001,13 @@ class WebsiteConfigurationApi:
|
|
|
1963
2001
|
_content_type: Optional[StrictStr] = None,
|
|
1964
2002
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1965
2003
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1966
|
-
) ->
|
|
1967
|
-
"""Get
|
|
2004
|
+
) -> IpMaskingConfiguration:
|
|
2005
|
+
"""Get IP masking configuration for website
|
|
1968
2006
|
|
|
1969
|
-
API request to get
|
|
2007
|
+
API request to get IP masking configuration of a website specified by its websiteId
|
|
1970
2008
|
|
|
2009
|
+
:param website_id: Website ID (required)
|
|
2010
|
+
:type website_id: str
|
|
1971
2011
|
:param _request_timeout: timeout setting for this request. If one
|
|
1972
2012
|
number provided, it will be total request
|
|
1973
2013
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1990,7 +2030,8 @@ class WebsiteConfigurationApi:
|
|
|
1990
2030
|
:return: Returns the result object.
|
|
1991
2031
|
""" # noqa: E501
|
|
1992
2032
|
|
|
1993
|
-
_param = self.
|
|
2033
|
+
_param = self._get_website_ip_masking_configuration_serialize(
|
|
2034
|
+
website_id=website_id,
|
|
1994
2035
|
_request_auth=_request_auth,
|
|
1995
2036
|
_content_type=_content_type,
|
|
1996
2037
|
_headers=_headers,
|
|
@@ -1998,9 +2039,10 @@ class WebsiteConfigurationApi:
|
|
|
1998
2039
|
)
|
|
1999
2040
|
|
|
2000
2041
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2001
|
-
'200': "
|
|
2002
|
-
'400': None,
|
|
2042
|
+
'200': "IpMaskingConfiguration",
|
|
2003
2043
|
'401': None,
|
|
2044
|
+
'403': None,
|
|
2045
|
+
'404': None,
|
|
2004
2046
|
'500': None,
|
|
2005
2047
|
}
|
|
2006
2048
|
response_data = self.api_client.call_api(
|
|
@@ -2015,8 +2057,9 @@ class WebsiteConfigurationApi:
|
|
|
2015
2057
|
|
|
2016
2058
|
|
|
2017
2059
|
@validate_call
|
|
2018
|
-
def
|
|
2060
|
+
def get_website_ip_masking_configuration_with_http_info(
|
|
2019
2061
|
self,
|
|
2062
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2020
2063
|
_request_timeout: Union[
|
|
2021
2064
|
None,
|
|
2022
2065
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2029,11 +2072,13 @@ class WebsiteConfigurationApi:
|
|
|
2029
2072
|
_content_type: Optional[StrictStr] = None,
|
|
2030
2073
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2031
2074
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2032
|
-
) -> ApiResponse[
|
|
2033
|
-
"""Get
|
|
2075
|
+
) -> ApiResponse[IpMaskingConfiguration]:
|
|
2076
|
+
"""Get IP masking configuration for website
|
|
2034
2077
|
|
|
2035
|
-
API request to get
|
|
2078
|
+
API request to get IP masking configuration of a website specified by its websiteId
|
|
2036
2079
|
|
|
2080
|
+
:param website_id: Website ID (required)
|
|
2081
|
+
:type website_id: str
|
|
2037
2082
|
:param _request_timeout: timeout setting for this request. If one
|
|
2038
2083
|
number provided, it will be total request
|
|
2039
2084
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2056,7 +2101,8 @@ class WebsiteConfigurationApi:
|
|
|
2056
2101
|
:return: Returns the result object.
|
|
2057
2102
|
""" # noqa: E501
|
|
2058
2103
|
|
|
2059
|
-
_param = self.
|
|
2104
|
+
_param = self._get_website_ip_masking_configuration_serialize(
|
|
2105
|
+
website_id=website_id,
|
|
2060
2106
|
_request_auth=_request_auth,
|
|
2061
2107
|
_content_type=_content_type,
|
|
2062
2108
|
_headers=_headers,
|
|
@@ -2064,9 +2110,10 @@ class WebsiteConfigurationApi:
|
|
|
2064
2110
|
)
|
|
2065
2111
|
|
|
2066
2112
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2067
|
-
'200': "
|
|
2068
|
-
'400': None,
|
|
2113
|
+
'200': "IpMaskingConfiguration",
|
|
2069
2114
|
'401': None,
|
|
2115
|
+
'403': None,
|
|
2116
|
+
'404': None,
|
|
2070
2117
|
'500': None,
|
|
2071
2118
|
}
|
|
2072
2119
|
response_data = self.api_client.call_api(
|
|
@@ -2081,8 +2128,9 @@ class WebsiteConfigurationApi:
|
|
|
2081
2128
|
|
|
2082
2129
|
|
|
2083
2130
|
@validate_call
|
|
2084
|
-
def
|
|
2131
|
+
def get_website_ip_masking_configuration_without_preload_content(
|
|
2085
2132
|
self,
|
|
2133
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2086
2134
|
_request_timeout: Union[
|
|
2087
2135
|
None,
|
|
2088
2136
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2096,7 +2144,816 @@ class WebsiteConfigurationApi:
|
|
|
2096
2144
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2097
2145
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2098
2146
|
) -> RESTResponseType:
|
|
2099
|
-
"""Get
|
|
2147
|
+
"""Get IP masking configuration for website
|
|
2148
|
+
|
|
2149
|
+
API request to get IP masking configuration of a website specified by its websiteId
|
|
2150
|
+
|
|
2151
|
+
:param website_id: Website ID (required)
|
|
2152
|
+
:type website_id: str
|
|
2153
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2154
|
+
number provided, it will be total request
|
|
2155
|
+
timeout. It can also be a pair (tuple) of
|
|
2156
|
+
(connection, read) timeouts.
|
|
2157
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2158
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2159
|
+
request; this effectively ignores the
|
|
2160
|
+
authentication in the spec for a single request.
|
|
2161
|
+
:type _request_auth: dict, optional
|
|
2162
|
+
:param _content_type: force content-type for the request.
|
|
2163
|
+
:type _content_type: str, Optional
|
|
2164
|
+
:param _headers: set to override the headers for a single
|
|
2165
|
+
request; this effectively ignores the headers
|
|
2166
|
+
in the spec for a single request.
|
|
2167
|
+
:type _headers: dict, optional
|
|
2168
|
+
:param _host_index: set to override the host_index for a single
|
|
2169
|
+
request; this effectively ignores the host_index
|
|
2170
|
+
in the spec for a single request.
|
|
2171
|
+
:type _host_index: int, optional
|
|
2172
|
+
:return: Returns the result object.
|
|
2173
|
+
""" # noqa: E501
|
|
2174
|
+
|
|
2175
|
+
_param = self._get_website_ip_masking_configuration_serialize(
|
|
2176
|
+
website_id=website_id,
|
|
2177
|
+
_request_auth=_request_auth,
|
|
2178
|
+
_content_type=_content_type,
|
|
2179
|
+
_headers=_headers,
|
|
2180
|
+
_host_index=_host_index
|
|
2181
|
+
)
|
|
2182
|
+
|
|
2183
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2184
|
+
'200': "IpMaskingConfiguration",
|
|
2185
|
+
'401': None,
|
|
2186
|
+
'403': None,
|
|
2187
|
+
'404': None,
|
|
2188
|
+
'500': None,
|
|
2189
|
+
}
|
|
2190
|
+
response_data = self.api_client.call_api(
|
|
2191
|
+
*_param,
|
|
2192
|
+
_request_timeout=_request_timeout
|
|
2193
|
+
)
|
|
2194
|
+
return response_data.response
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
def _get_website_ip_masking_configuration_serialize(
|
|
2198
|
+
self,
|
|
2199
|
+
website_id,
|
|
2200
|
+
_request_auth,
|
|
2201
|
+
_content_type,
|
|
2202
|
+
_headers,
|
|
2203
|
+
_host_index,
|
|
2204
|
+
) -> RequestSerialized:
|
|
2205
|
+
|
|
2206
|
+
_host = None
|
|
2207
|
+
|
|
2208
|
+
_collection_formats: Dict[str, str] = {
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
_path_params: Dict[str, str] = {}
|
|
2212
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2213
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2214
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2215
|
+
_files: Dict[
|
|
2216
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2217
|
+
] = {}
|
|
2218
|
+
_body_params: Optional[bytes] = None
|
|
2219
|
+
|
|
2220
|
+
# process the path parameters
|
|
2221
|
+
if website_id is not None:
|
|
2222
|
+
_path_params['websiteId'] = website_id
|
|
2223
|
+
# process the query parameters
|
|
2224
|
+
# process the header parameters
|
|
2225
|
+
# process the form parameters
|
|
2226
|
+
# process the body parameter
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
# set the HTTP header `Accept`
|
|
2230
|
+
if 'Accept' not in _header_params:
|
|
2231
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2232
|
+
[
|
|
2233
|
+
'application/json'
|
|
2234
|
+
]
|
|
2235
|
+
)
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
# authentication setting
|
|
2239
|
+
_auth_settings: List[str] = [
|
|
2240
|
+
'ApiKeyAuth'
|
|
2241
|
+
]
|
|
2242
|
+
|
|
2243
|
+
return self.api_client.param_serialize(
|
|
2244
|
+
method='GET',
|
|
2245
|
+
resource_path='/api/website-monitoring/config/{websiteId}/ip-masking',
|
|
2246
|
+
path_params=_path_params,
|
|
2247
|
+
query_params=_query_params,
|
|
2248
|
+
header_params=_header_params,
|
|
2249
|
+
body=_body_params,
|
|
2250
|
+
post_params=_form_params,
|
|
2251
|
+
files=_files,
|
|
2252
|
+
auth_settings=_auth_settings,
|
|
2253
|
+
collection_formats=_collection_formats,
|
|
2254
|
+
_host=_host,
|
|
2255
|
+
_request_auth=_request_auth
|
|
2256
|
+
)
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
@validate_call
|
|
2262
|
+
def get_website_source_map_upload_configuration(
|
|
2263
|
+
self,
|
|
2264
|
+
website_id: StrictStr,
|
|
2265
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
2266
|
+
_request_timeout: Union[
|
|
2267
|
+
None,
|
|
2268
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2269
|
+
Tuple[
|
|
2270
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2271
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2272
|
+
]
|
|
2273
|
+
] = None,
|
|
2274
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2275
|
+
_content_type: Optional[StrictStr] = None,
|
|
2276
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2277
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2278
|
+
) -> SourceMapUploadConfig:
|
|
2279
|
+
"""Get sourcemap upload configurations for website
|
|
2280
|
+
|
|
2281
|
+
API request to get sourcemap upload configuration for website.
|
|
2282
|
+
|
|
2283
|
+
:param website_id: (required)
|
|
2284
|
+
:type website_id: str
|
|
2285
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
2286
|
+
:type source_map_config_id: str
|
|
2287
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2288
|
+
number provided, it will be total request
|
|
2289
|
+
timeout. It can also be a pair (tuple) of
|
|
2290
|
+
(connection, read) timeouts.
|
|
2291
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2292
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2293
|
+
request; this effectively ignores the
|
|
2294
|
+
authentication in the spec for a single request.
|
|
2295
|
+
:type _request_auth: dict, optional
|
|
2296
|
+
:param _content_type: force content-type for the request.
|
|
2297
|
+
:type _content_type: str, Optional
|
|
2298
|
+
:param _headers: set to override the headers for a single
|
|
2299
|
+
request; this effectively ignores the headers
|
|
2300
|
+
in the spec for a single request.
|
|
2301
|
+
:type _headers: dict, optional
|
|
2302
|
+
:param _host_index: set to override the host_index for a single
|
|
2303
|
+
request; this effectively ignores the host_index
|
|
2304
|
+
in the spec for a single request.
|
|
2305
|
+
:type _host_index: int, optional
|
|
2306
|
+
:return: Returns the result object.
|
|
2307
|
+
""" # noqa: E501
|
|
2308
|
+
|
|
2309
|
+
_param = self._get_website_source_map_upload_configuration_serialize(
|
|
2310
|
+
website_id=website_id,
|
|
2311
|
+
source_map_config_id=source_map_config_id,
|
|
2312
|
+
_request_auth=_request_auth,
|
|
2313
|
+
_content_type=_content_type,
|
|
2314
|
+
_headers=_headers,
|
|
2315
|
+
_host_index=_host_index
|
|
2316
|
+
)
|
|
2317
|
+
|
|
2318
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2319
|
+
'200': "SourceMapUploadConfig",
|
|
2320
|
+
'401': None,
|
|
2321
|
+
'500': None,
|
|
2322
|
+
}
|
|
2323
|
+
response_data = self.api_client.call_api(
|
|
2324
|
+
*_param,
|
|
2325
|
+
_request_timeout=_request_timeout
|
|
2326
|
+
)
|
|
2327
|
+
response_data.read()
|
|
2328
|
+
return self.api_client.response_deserialize(
|
|
2329
|
+
response_data=response_data,
|
|
2330
|
+
response_types_map=_response_types_map,
|
|
2331
|
+
).data
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
@validate_call
|
|
2335
|
+
def get_website_source_map_upload_configuration_with_http_info(
|
|
2336
|
+
self,
|
|
2337
|
+
website_id: StrictStr,
|
|
2338
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
2339
|
+
_request_timeout: Union[
|
|
2340
|
+
None,
|
|
2341
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2342
|
+
Tuple[
|
|
2343
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2344
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2345
|
+
]
|
|
2346
|
+
] = None,
|
|
2347
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2348
|
+
_content_type: Optional[StrictStr] = None,
|
|
2349
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2350
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2351
|
+
) -> ApiResponse[SourceMapUploadConfig]:
|
|
2352
|
+
"""Get sourcemap upload configurations for website
|
|
2353
|
+
|
|
2354
|
+
API request to get sourcemap upload configuration for website.
|
|
2355
|
+
|
|
2356
|
+
:param website_id: (required)
|
|
2357
|
+
:type website_id: str
|
|
2358
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
2359
|
+
:type source_map_config_id: str
|
|
2360
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2361
|
+
number provided, it will be total request
|
|
2362
|
+
timeout. It can also be a pair (tuple) of
|
|
2363
|
+
(connection, read) timeouts.
|
|
2364
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2365
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2366
|
+
request; this effectively ignores the
|
|
2367
|
+
authentication in the spec for a single request.
|
|
2368
|
+
:type _request_auth: dict, optional
|
|
2369
|
+
:param _content_type: force content-type for the request.
|
|
2370
|
+
:type _content_type: str, Optional
|
|
2371
|
+
:param _headers: set to override the headers for a single
|
|
2372
|
+
request; this effectively ignores the headers
|
|
2373
|
+
in the spec for a single request.
|
|
2374
|
+
:type _headers: dict, optional
|
|
2375
|
+
:param _host_index: set to override the host_index for a single
|
|
2376
|
+
request; this effectively ignores the host_index
|
|
2377
|
+
in the spec for a single request.
|
|
2378
|
+
:type _host_index: int, optional
|
|
2379
|
+
:return: Returns the result object.
|
|
2380
|
+
""" # noqa: E501
|
|
2381
|
+
|
|
2382
|
+
_param = self._get_website_source_map_upload_configuration_serialize(
|
|
2383
|
+
website_id=website_id,
|
|
2384
|
+
source_map_config_id=source_map_config_id,
|
|
2385
|
+
_request_auth=_request_auth,
|
|
2386
|
+
_content_type=_content_type,
|
|
2387
|
+
_headers=_headers,
|
|
2388
|
+
_host_index=_host_index
|
|
2389
|
+
)
|
|
2390
|
+
|
|
2391
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2392
|
+
'200': "SourceMapUploadConfig",
|
|
2393
|
+
'401': None,
|
|
2394
|
+
'500': None,
|
|
2395
|
+
}
|
|
2396
|
+
response_data = self.api_client.call_api(
|
|
2397
|
+
*_param,
|
|
2398
|
+
_request_timeout=_request_timeout
|
|
2399
|
+
)
|
|
2400
|
+
response_data.read()
|
|
2401
|
+
return self.api_client.response_deserialize(
|
|
2402
|
+
response_data=response_data,
|
|
2403
|
+
response_types_map=_response_types_map,
|
|
2404
|
+
)
|
|
2405
|
+
|
|
2406
|
+
|
|
2407
|
+
@validate_call
|
|
2408
|
+
def get_website_source_map_upload_configuration_without_preload_content(
|
|
2409
|
+
self,
|
|
2410
|
+
website_id: StrictStr,
|
|
2411
|
+
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
2412
|
+
_request_timeout: Union[
|
|
2413
|
+
None,
|
|
2414
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2415
|
+
Tuple[
|
|
2416
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2417
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2418
|
+
]
|
|
2419
|
+
] = None,
|
|
2420
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2421
|
+
_content_type: Optional[StrictStr] = None,
|
|
2422
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2423
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2424
|
+
) -> RESTResponseType:
|
|
2425
|
+
"""Get sourcemap upload configurations for website
|
|
2426
|
+
|
|
2427
|
+
API request to get sourcemap upload configuration for website.
|
|
2428
|
+
|
|
2429
|
+
:param website_id: (required)
|
|
2430
|
+
:type website_id: str
|
|
2431
|
+
:param source_map_config_id: Source Map Config ID (required)
|
|
2432
|
+
:type source_map_config_id: str
|
|
2433
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2434
|
+
number provided, it will be total request
|
|
2435
|
+
timeout. It can also be a pair (tuple) of
|
|
2436
|
+
(connection, read) timeouts.
|
|
2437
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2438
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2439
|
+
request; this effectively ignores the
|
|
2440
|
+
authentication in the spec for a single request.
|
|
2441
|
+
:type _request_auth: dict, optional
|
|
2442
|
+
:param _content_type: force content-type for the request.
|
|
2443
|
+
:type _content_type: str, Optional
|
|
2444
|
+
:param _headers: set to override the headers for a single
|
|
2445
|
+
request; this effectively ignores the headers
|
|
2446
|
+
in the spec for a single request.
|
|
2447
|
+
:type _headers: dict, optional
|
|
2448
|
+
:param _host_index: set to override the host_index for a single
|
|
2449
|
+
request; this effectively ignores the host_index
|
|
2450
|
+
in the spec for a single request.
|
|
2451
|
+
:type _host_index: int, optional
|
|
2452
|
+
:return: Returns the result object.
|
|
2453
|
+
""" # noqa: E501
|
|
2454
|
+
|
|
2455
|
+
_param = self._get_website_source_map_upload_configuration_serialize(
|
|
2456
|
+
website_id=website_id,
|
|
2457
|
+
source_map_config_id=source_map_config_id,
|
|
2458
|
+
_request_auth=_request_auth,
|
|
2459
|
+
_content_type=_content_type,
|
|
2460
|
+
_headers=_headers,
|
|
2461
|
+
_host_index=_host_index
|
|
2462
|
+
)
|
|
2463
|
+
|
|
2464
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2465
|
+
'200': "SourceMapUploadConfig",
|
|
2466
|
+
'401': None,
|
|
2467
|
+
'500': None,
|
|
2468
|
+
}
|
|
2469
|
+
response_data = self.api_client.call_api(
|
|
2470
|
+
*_param,
|
|
2471
|
+
_request_timeout=_request_timeout
|
|
2472
|
+
)
|
|
2473
|
+
return response_data.response
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
def _get_website_source_map_upload_configuration_serialize(
|
|
2477
|
+
self,
|
|
2478
|
+
website_id,
|
|
2479
|
+
source_map_config_id,
|
|
2480
|
+
_request_auth,
|
|
2481
|
+
_content_type,
|
|
2482
|
+
_headers,
|
|
2483
|
+
_host_index,
|
|
2484
|
+
) -> RequestSerialized:
|
|
2485
|
+
|
|
2486
|
+
_host = None
|
|
2487
|
+
|
|
2488
|
+
_collection_formats: Dict[str, str] = {
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
_path_params: Dict[str, str] = {}
|
|
2492
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2493
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2494
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2495
|
+
_files: Dict[
|
|
2496
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2497
|
+
] = {}
|
|
2498
|
+
_body_params: Optional[bytes] = None
|
|
2499
|
+
|
|
2500
|
+
# process the path parameters
|
|
2501
|
+
if website_id is not None:
|
|
2502
|
+
_path_params['websiteId'] = website_id
|
|
2503
|
+
if source_map_config_id is not None:
|
|
2504
|
+
_path_params['sourceMapConfigId'] = source_map_config_id
|
|
2505
|
+
# process the query parameters
|
|
2506
|
+
# process the header parameters
|
|
2507
|
+
# process the form parameters
|
|
2508
|
+
# process the body parameter
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
# set the HTTP header `Accept`
|
|
2512
|
+
if 'Accept' not in _header_params:
|
|
2513
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2514
|
+
[
|
|
2515
|
+
'application/json'
|
|
2516
|
+
]
|
|
2517
|
+
)
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
# authentication setting
|
|
2521
|
+
_auth_settings: List[str] = [
|
|
2522
|
+
]
|
|
2523
|
+
|
|
2524
|
+
return self.api_client.param_serialize(
|
|
2525
|
+
method='GET',
|
|
2526
|
+
resource_path='/api/website-monitoring/config/{websiteId}/sourcemap-upload/{sourceMapConfigId}',
|
|
2527
|
+
path_params=_path_params,
|
|
2528
|
+
query_params=_query_params,
|
|
2529
|
+
header_params=_header_params,
|
|
2530
|
+
body=_body_params,
|
|
2531
|
+
post_params=_form_params,
|
|
2532
|
+
files=_files,
|
|
2533
|
+
auth_settings=_auth_settings,
|
|
2534
|
+
collection_formats=_collection_formats,
|
|
2535
|
+
_host=_host,
|
|
2536
|
+
_request_auth=_request_auth
|
|
2537
|
+
)
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
@validate_call
|
|
2543
|
+
def get_website_source_map_upload_configurations(
|
|
2544
|
+
self,
|
|
2545
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2546
|
+
_request_timeout: Union[
|
|
2547
|
+
None,
|
|
2548
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2549
|
+
Tuple[
|
|
2550
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2551
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2552
|
+
]
|
|
2553
|
+
] = None,
|
|
2554
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2555
|
+
_content_type: Optional[StrictStr] = None,
|
|
2556
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2557
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2558
|
+
) -> SourceMapUploadConfigs:
|
|
2559
|
+
"""Get all sourcemap upload configurations for website
|
|
2560
|
+
|
|
2561
|
+
API request to get all sourcemap upload configurations for website.
|
|
2562
|
+
|
|
2563
|
+
:param website_id: Website ID (required)
|
|
2564
|
+
:type website_id: str
|
|
2565
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2566
|
+
number provided, it will be total request
|
|
2567
|
+
timeout. It can also be a pair (tuple) of
|
|
2568
|
+
(connection, read) timeouts.
|
|
2569
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2570
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2571
|
+
request; this effectively ignores the
|
|
2572
|
+
authentication in the spec for a single request.
|
|
2573
|
+
:type _request_auth: dict, optional
|
|
2574
|
+
:param _content_type: force content-type for the request.
|
|
2575
|
+
:type _content_type: str, Optional
|
|
2576
|
+
:param _headers: set to override the headers for a single
|
|
2577
|
+
request; this effectively ignores the headers
|
|
2578
|
+
in the spec for a single request.
|
|
2579
|
+
:type _headers: dict, optional
|
|
2580
|
+
:param _host_index: set to override the host_index for a single
|
|
2581
|
+
request; this effectively ignores the host_index
|
|
2582
|
+
in the spec for a single request.
|
|
2583
|
+
:type _host_index: int, optional
|
|
2584
|
+
:return: Returns the result object.
|
|
2585
|
+
""" # noqa: E501
|
|
2586
|
+
|
|
2587
|
+
_param = self._get_website_source_map_upload_configurations_serialize(
|
|
2588
|
+
website_id=website_id,
|
|
2589
|
+
_request_auth=_request_auth,
|
|
2590
|
+
_content_type=_content_type,
|
|
2591
|
+
_headers=_headers,
|
|
2592
|
+
_host_index=_host_index
|
|
2593
|
+
)
|
|
2594
|
+
|
|
2595
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2596
|
+
'200': "SourceMapUploadConfigs",
|
|
2597
|
+
'401': None,
|
|
2598
|
+
'500': None,
|
|
2599
|
+
}
|
|
2600
|
+
response_data = self.api_client.call_api(
|
|
2601
|
+
*_param,
|
|
2602
|
+
_request_timeout=_request_timeout
|
|
2603
|
+
)
|
|
2604
|
+
response_data.read()
|
|
2605
|
+
return self.api_client.response_deserialize(
|
|
2606
|
+
response_data=response_data,
|
|
2607
|
+
response_types_map=_response_types_map,
|
|
2608
|
+
).data
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
@validate_call
|
|
2612
|
+
def get_website_source_map_upload_configurations_with_http_info(
|
|
2613
|
+
self,
|
|
2614
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2615
|
+
_request_timeout: Union[
|
|
2616
|
+
None,
|
|
2617
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2618
|
+
Tuple[
|
|
2619
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2620
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2621
|
+
]
|
|
2622
|
+
] = None,
|
|
2623
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2624
|
+
_content_type: Optional[StrictStr] = None,
|
|
2625
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2626
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2627
|
+
) -> ApiResponse[SourceMapUploadConfigs]:
|
|
2628
|
+
"""Get all sourcemap upload configurations for website
|
|
2629
|
+
|
|
2630
|
+
API request to get all sourcemap upload configurations for website.
|
|
2631
|
+
|
|
2632
|
+
:param website_id: Website ID (required)
|
|
2633
|
+
:type website_id: str
|
|
2634
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2635
|
+
number provided, it will be total request
|
|
2636
|
+
timeout. It can also be a pair (tuple) of
|
|
2637
|
+
(connection, read) timeouts.
|
|
2638
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2639
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2640
|
+
request; this effectively ignores the
|
|
2641
|
+
authentication in the spec for a single request.
|
|
2642
|
+
:type _request_auth: dict, optional
|
|
2643
|
+
:param _content_type: force content-type for the request.
|
|
2644
|
+
:type _content_type: str, Optional
|
|
2645
|
+
:param _headers: set to override the headers for a single
|
|
2646
|
+
request; this effectively ignores the headers
|
|
2647
|
+
in the spec for a single request.
|
|
2648
|
+
:type _headers: dict, optional
|
|
2649
|
+
:param _host_index: set to override the host_index for a single
|
|
2650
|
+
request; this effectively ignores the host_index
|
|
2651
|
+
in the spec for a single request.
|
|
2652
|
+
:type _host_index: int, optional
|
|
2653
|
+
:return: Returns the result object.
|
|
2654
|
+
""" # noqa: E501
|
|
2655
|
+
|
|
2656
|
+
_param = self._get_website_source_map_upload_configurations_serialize(
|
|
2657
|
+
website_id=website_id,
|
|
2658
|
+
_request_auth=_request_auth,
|
|
2659
|
+
_content_type=_content_type,
|
|
2660
|
+
_headers=_headers,
|
|
2661
|
+
_host_index=_host_index
|
|
2662
|
+
)
|
|
2663
|
+
|
|
2664
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2665
|
+
'200': "SourceMapUploadConfigs",
|
|
2666
|
+
'401': None,
|
|
2667
|
+
'500': None,
|
|
2668
|
+
}
|
|
2669
|
+
response_data = self.api_client.call_api(
|
|
2670
|
+
*_param,
|
|
2671
|
+
_request_timeout=_request_timeout
|
|
2672
|
+
)
|
|
2673
|
+
response_data.read()
|
|
2674
|
+
return self.api_client.response_deserialize(
|
|
2675
|
+
response_data=response_data,
|
|
2676
|
+
response_types_map=_response_types_map,
|
|
2677
|
+
)
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
@validate_call
|
|
2681
|
+
def get_website_source_map_upload_configurations_without_preload_content(
|
|
2682
|
+
self,
|
|
2683
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2684
|
+
_request_timeout: Union[
|
|
2685
|
+
None,
|
|
2686
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2687
|
+
Tuple[
|
|
2688
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2689
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2690
|
+
]
|
|
2691
|
+
] = None,
|
|
2692
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2693
|
+
_content_type: Optional[StrictStr] = None,
|
|
2694
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2695
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2696
|
+
) -> RESTResponseType:
|
|
2697
|
+
"""Get all sourcemap upload configurations for website
|
|
2698
|
+
|
|
2699
|
+
API request to get all sourcemap upload configurations for website.
|
|
2700
|
+
|
|
2701
|
+
:param website_id: Website ID (required)
|
|
2702
|
+
:type website_id: str
|
|
2703
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2704
|
+
number provided, it will be total request
|
|
2705
|
+
timeout. It can also be a pair (tuple) of
|
|
2706
|
+
(connection, read) timeouts.
|
|
2707
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2708
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2709
|
+
request; this effectively ignores the
|
|
2710
|
+
authentication in the spec for a single request.
|
|
2711
|
+
:type _request_auth: dict, optional
|
|
2712
|
+
:param _content_type: force content-type for the request.
|
|
2713
|
+
:type _content_type: str, Optional
|
|
2714
|
+
:param _headers: set to override the headers for a single
|
|
2715
|
+
request; this effectively ignores the headers
|
|
2716
|
+
in the spec for a single request.
|
|
2717
|
+
:type _headers: dict, optional
|
|
2718
|
+
:param _host_index: set to override the host_index for a single
|
|
2719
|
+
request; this effectively ignores the host_index
|
|
2720
|
+
in the spec for a single request.
|
|
2721
|
+
:type _host_index: int, optional
|
|
2722
|
+
:return: Returns the result object.
|
|
2723
|
+
""" # noqa: E501
|
|
2724
|
+
|
|
2725
|
+
_param = self._get_website_source_map_upload_configurations_serialize(
|
|
2726
|
+
website_id=website_id,
|
|
2727
|
+
_request_auth=_request_auth,
|
|
2728
|
+
_content_type=_content_type,
|
|
2729
|
+
_headers=_headers,
|
|
2730
|
+
_host_index=_host_index
|
|
2731
|
+
)
|
|
2732
|
+
|
|
2733
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2734
|
+
'200': "SourceMapUploadConfigs",
|
|
2735
|
+
'401': None,
|
|
2736
|
+
'500': None,
|
|
2737
|
+
}
|
|
2738
|
+
response_data = self.api_client.call_api(
|
|
2739
|
+
*_param,
|
|
2740
|
+
_request_timeout=_request_timeout
|
|
2741
|
+
)
|
|
2742
|
+
return response_data.response
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
def _get_website_source_map_upload_configurations_serialize(
|
|
2746
|
+
self,
|
|
2747
|
+
website_id,
|
|
2748
|
+
_request_auth,
|
|
2749
|
+
_content_type,
|
|
2750
|
+
_headers,
|
|
2751
|
+
_host_index,
|
|
2752
|
+
) -> RequestSerialized:
|
|
2753
|
+
|
|
2754
|
+
_host = None
|
|
2755
|
+
|
|
2756
|
+
_collection_formats: Dict[str, str] = {
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
_path_params: Dict[str, str] = {}
|
|
2760
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2761
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2762
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2763
|
+
_files: Dict[
|
|
2764
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2765
|
+
] = {}
|
|
2766
|
+
_body_params: Optional[bytes] = None
|
|
2767
|
+
|
|
2768
|
+
# process the path parameters
|
|
2769
|
+
if website_id is not None:
|
|
2770
|
+
_path_params['websiteId'] = website_id
|
|
2771
|
+
# process the query parameters
|
|
2772
|
+
# process the header parameters
|
|
2773
|
+
# process the form parameters
|
|
2774
|
+
# process the body parameter
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
# set the HTTP header `Accept`
|
|
2778
|
+
if 'Accept' not in _header_params:
|
|
2779
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2780
|
+
[
|
|
2781
|
+
'application/json'
|
|
2782
|
+
]
|
|
2783
|
+
)
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
# authentication setting
|
|
2787
|
+
_auth_settings: List[str] = [
|
|
2788
|
+
]
|
|
2789
|
+
|
|
2790
|
+
return self.api_client.param_serialize(
|
|
2791
|
+
method='GET',
|
|
2792
|
+
resource_path='/api/website-monitoring/config/{websiteId}/sourcemap-upload',
|
|
2793
|
+
path_params=_path_params,
|
|
2794
|
+
query_params=_query_params,
|
|
2795
|
+
header_params=_header_params,
|
|
2796
|
+
body=_body_params,
|
|
2797
|
+
post_params=_form_params,
|
|
2798
|
+
files=_files,
|
|
2799
|
+
auth_settings=_auth_settings,
|
|
2800
|
+
collection_formats=_collection_formats,
|
|
2801
|
+
_host=_host,
|
|
2802
|
+
_request_auth=_request_auth
|
|
2803
|
+
)
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
@validate_call
|
|
2809
|
+
def get_websites(
|
|
2810
|
+
self,
|
|
2811
|
+
_request_timeout: Union[
|
|
2812
|
+
None,
|
|
2813
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2814
|
+
Tuple[
|
|
2815
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2816
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2817
|
+
]
|
|
2818
|
+
] = None,
|
|
2819
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2820
|
+
_content_type: Optional[StrictStr] = None,
|
|
2821
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2822
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2823
|
+
) -> List[Website]:
|
|
2824
|
+
"""Get configured websites
|
|
2825
|
+
|
|
2826
|
+
API request to get all configured websites details.
|
|
2827
|
+
|
|
2828
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2829
|
+
number provided, it will be total request
|
|
2830
|
+
timeout. It can also be a pair (tuple) of
|
|
2831
|
+
(connection, read) timeouts.
|
|
2832
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2833
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2834
|
+
request; this effectively ignores the
|
|
2835
|
+
authentication in the spec for a single request.
|
|
2836
|
+
:type _request_auth: dict, optional
|
|
2837
|
+
:param _content_type: force content-type for the request.
|
|
2838
|
+
:type _content_type: str, Optional
|
|
2839
|
+
:param _headers: set to override the headers for a single
|
|
2840
|
+
request; this effectively ignores the headers
|
|
2841
|
+
in the spec for a single request.
|
|
2842
|
+
:type _headers: dict, optional
|
|
2843
|
+
:param _host_index: set to override the host_index for a single
|
|
2844
|
+
request; this effectively ignores the host_index
|
|
2845
|
+
in the spec for a single request.
|
|
2846
|
+
:type _host_index: int, optional
|
|
2847
|
+
:return: Returns the result object.
|
|
2848
|
+
""" # noqa: E501
|
|
2849
|
+
|
|
2850
|
+
_param = self._get_websites_serialize(
|
|
2851
|
+
_request_auth=_request_auth,
|
|
2852
|
+
_content_type=_content_type,
|
|
2853
|
+
_headers=_headers,
|
|
2854
|
+
_host_index=_host_index
|
|
2855
|
+
)
|
|
2856
|
+
|
|
2857
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2858
|
+
'200': "List[Website]",
|
|
2859
|
+
'400': None,
|
|
2860
|
+
'401': None,
|
|
2861
|
+
'500': None,
|
|
2862
|
+
}
|
|
2863
|
+
response_data = self.api_client.call_api(
|
|
2864
|
+
*_param,
|
|
2865
|
+
_request_timeout=_request_timeout
|
|
2866
|
+
)
|
|
2867
|
+
response_data.read()
|
|
2868
|
+
return self.api_client.response_deserialize(
|
|
2869
|
+
response_data=response_data,
|
|
2870
|
+
response_types_map=_response_types_map,
|
|
2871
|
+
).data
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
@validate_call
|
|
2875
|
+
def get_websites_with_http_info(
|
|
2876
|
+
self,
|
|
2877
|
+
_request_timeout: Union[
|
|
2878
|
+
None,
|
|
2879
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2880
|
+
Tuple[
|
|
2881
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2882
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2883
|
+
]
|
|
2884
|
+
] = None,
|
|
2885
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2886
|
+
_content_type: Optional[StrictStr] = None,
|
|
2887
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2888
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2889
|
+
) -> ApiResponse[List[Website]]:
|
|
2890
|
+
"""Get configured websites
|
|
2891
|
+
|
|
2892
|
+
API request to get all configured websites details.
|
|
2893
|
+
|
|
2894
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2895
|
+
number provided, it will be total request
|
|
2896
|
+
timeout. It can also be a pair (tuple) of
|
|
2897
|
+
(connection, read) timeouts.
|
|
2898
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2899
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2900
|
+
request; this effectively ignores the
|
|
2901
|
+
authentication in the spec for a single request.
|
|
2902
|
+
:type _request_auth: dict, optional
|
|
2903
|
+
:param _content_type: force content-type for the request.
|
|
2904
|
+
:type _content_type: str, Optional
|
|
2905
|
+
:param _headers: set to override the headers for a single
|
|
2906
|
+
request; this effectively ignores the headers
|
|
2907
|
+
in the spec for a single request.
|
|
2908
|
+
:type _headers: dict, optional
|
|
2909
|
+
:param _host_index: set to override the host_index for a single
|
|
2910
|
+
request; this effectively ignores the host_index
|
|
2911
|
+
in the spec for a single request.
|
|
2912
|
+
:type _host_index: int, optional
|
|
2913
|
+
:return: Returns the result object.
|
|
2914
|
+
""" # noqa: E501
|
|
2915
|
+
|
|
2916
|
+
_param = self._get_websites_serialize(
|
|
2917
|
+
_request_auth=_request_auth,
|
|
2918
|
+
_content_type=_content_type,
|
|
2919
|
+
_headers=_headers,
|
|
2920
|
+
_host_index=_host_index
|
|
2921
|
+
)
|
|
2922
|
+
|
|
2923
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2924
|
+
'200': "List[Website]",
|
|
2925
|
+
'400': None,
|
|
2926
|
+
'401': None,
|
|
2927
|
+
'500': None,
|
|
2928
|
+
}
|
|
2929
|
+
response_data = self.api_client.call_api(
|
|
2930
|
+
*_param,
|
|
2931
|
+
_request_timeout=_request_timeout
|
|
2932
|
+
)
|
|
2933
|
+
response_data.read()
|
|
2934
|
+
return self.api_client.response_deserialize(
|
|
2935
|
+
response_data=response_data,
|
|
2936
|
+
response_types_map=_response_types_map,
|
|
2937
|
+
)
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
@validate_call
|
|
2941
|
+
def get_websites_without_preload_content(
|
|
2942
|
+
self,
|
|
2943
|
+
_request_timeout: Union[
|
|
2944
|
+
None,
|
|
2945
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2946
|
+
Tuple[
|
|
2947
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2948
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2949
|
+
]
|
|
2950
|
+
] = None,
|
|
2951
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2952
|
+
_content_type: Optional[StrictStr] = None,
|
|
2953
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2954
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2955
|
+
) -> RESTResponseType:
|
|
2956
|
+
"""Get configured websites
|
|
2100
2957
|
|
|
2101
2958
|
API request to get all configured websites details.
|
|
2102
2959
|
|
|
@@ -2122,7 +2979,441 @@ class WebsiteConfigurationApi:
|
|
|
2122
2979
|
:return: Returns the result object.
|
|
2123
2980
|
""" # noqa: E501
|
|
2124
2981
|
|
|
2125
|
-
_param = self._get_websites_serialize(
|
|
2982
|
+
_param = self._get_websites_serialize(
|
|
2983
|
+
_request_auth=_request_auth,
|
|
2984
|
+
_content_type=_content_type,
|
|
2985
|
+
_headers=_headers,
|
|
2986
|
+
_host_index=_host_index
|
|
2987
|
+
)
|
|
2988
|
+
|
|
2989
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2990
|
+
'200': "List[Website]",
|
|
2991
|
+
'400': None,
|
|
2992
|
+
'401': None,
|
|
2993
|
+
'500': None,
|
|
2994
|
+
}
|
|
2995
|
+
response_data = self.api_client.call_api(
|
|
2996
|
+
*_param,
|
|
2997
|
+
_request_timeout=_request_timeout
|
|
2998
|
+
)
|
|
2999
|
+
return response_data.response
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
def _get_websites_serialize(
|
|
3003
|
+
self,
|
|
3004
|
+
_request_auth,
|
|
3005
|
+
_content_type,
|
|
3006
|
+
_headers,
|
|
3007
|
+
_host_index,
|
|
3008
|
+
) -> RequestSerialized:
|
|
3009
|
+
|
|
3010
|
+
_host = None
|
|
3011
|
+
|
|
3012
|
+
_collection_formats: Dict[str, str] = {
|
|
3013
|
+
}
|
|
3014
|
+
|
|
3015
|
+
_path_params: Dict[str, str] = {}
|
|
3016
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3017
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3018
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3019
|
+
_files: Dict[
|
|
3020
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3021
|
+
] = {}
|
|
3022
|
+
_body_params: Optional[bytes] = None
|
|
3023
|
+
|
|
3024
|
+
# process the path parameters
|
|
3025
|
+
# process the query parameters
|
|
3026
|
+
# process the header parameters
|
|
3027
|
+
# process the form parameters
|
|
3028
|
+
# process the body parameter
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
# set the HTTP header `Accept`
|
|
3032
|
+
if 'Accept' not in _header_params:
|
|
3033
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3034
|
+
[
|
|
3035
|
+
'application/json'
|
|
3036
|
+
]
|
|
3037
|
+
)
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
# authentication setting
|
|
3041
|
+
_auth_settings: List[str] = [
|
|
3042
|
+
'ApiKeyAuth'
|
|
3043
|
+
]
|
|
3044
|
+
|
|
3045
|
+
return self.api_client.param_serialize(
|
|
3046
|
+
method='GET',
|
|
3047
|
+
resource_path='/api/website-monitoring/config',
|
|
3048
|
+
path_params=_path_params,
|
|
3049
|
+
query_params=_query_params,
|
|
3050
|
+
header_params=_header_params,
|
|
3051
|
+
body=_body_params,
|
|
3052
|
+
post_params=_form_params,
|
|
3053
|
+
files=_files,
|
|
3054
|
+
auth_settings=_auth_settings,
|
|
3055
|
+
collection_formats=_collection_formats,
|
|
3056
|
+
_host=_host,
|
|
3057
|
+
_request_auth=_request_auth
|
|
3058
|
+
)
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
@validate_call
|
|
3064
|
+
def post_website_source_map_upload_config(
|
|
3065
|
+
self,
|
|
3066
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3067
|
+
post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
|
|
3068
|
+
_request_timeout: Union[
|
|
3069
|
+
None,
|
|
3070
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3071
|
+
Tuple[
|
|
3072
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3073
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3074
|
+
]
|
|
3075
|
+
] = None,
|
|
3076
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3077
|
+
_content_type: Optional[StrictStr] = None,
|
|
3078
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3079
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3080
|
+
) -> SourceMapUploadConfig:
|
|
3081
|
+
"""Add new sourcemap upload configuration for website
|
|
3082
|
+
|
|
3083
|
+
API request to add sourcemap upload configuration for website.
|
|
3084
|
+
|
|
3085
|
+
:param website_id: Website ID (required)
|
|
3086
|
+
:type website_id: str
|
|
3087
|
+
:param post_mobile_app_source_map_config_request:
|
|
3088
|
+
:type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
|
|
3089
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3090
|
+
number provided, it will be total request
|
|
3091
|
+
timeout. It can also be a pair (tuple) of
|
|
3092
|
+
(connection, read) timeouts.
|
|
3093
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3094
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3095
|
+
request; this effectively ignores the
|
|
3096
|
+
authentication in the spec for a single request.
|
|
3097
|
+
:type _request_auth: dict, optional
|
|
3098
|
+
:param _content_type: force content-type for the request.
|
|
3099
|
+
:type _content_type: str, Optional
|
|
3100
|
+
:param _headers: set to override the headers for a single
|
|
3101
|
+
request; this effectively ignores the headers
|
|
3102
|
+
in the spec for a single request.
|
|
3103
|
+
:type _headers: dict, optional
|
|
3104
|
+
:param _host_index: set to override the host_index for a single
|
|
3105
|
+
request; this effectively ignores the host_index
|
|
3106
|
+
in the spec for a single request.
|
|
3107
|
+
:type _host_index: int, optional
|
|
3108
|
+
:return: Returns the result object.
|
|
3109
|
+
""" # noqa: E501
|
|
3110
|
+
|
|
3111
|
+
_param = self._post_website_source_map_upload_config_serialize(
|
|
3112
|
+
website_id=website_id,
|
|
3113
|
+
post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
|
|
3114
|
+
_request_auth=_request_auth,
|
|
3115
|
+
_content_type=_content_type,
|
|
3116
|
+
_headers=_headers,
|
|
3117
|
+
_host_index=_host_index
|
|
3118
|
+
)
|
|
3119
|
+
|
|
3120
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3121
|
+
'200': "SourceMapUploadConfig",
|
|
3122
|
+
'400': None,
|
|
3123
|
+
'401': None,
|
|
3124
|
+
'403': None,
|
|
3125
|
+
'422': None,
|
|
3126
|
+
'500': None,
|
|
3127
|
+
}
|
|
3128
|
+
response_data = self.api_client.call_api(
|
|
3129
|
+
*_param,
|
|
3130
|
+
_request_timeout=_request_timeout
|
|
3131
|
+
)
|
|
3132
|
+
response_data.read()
|
|
3133
|
+
return self.api_client.response_deserialize(
|
|
3134
|
+
response_data=response_data,
|
|
3135
|
+
response_types_map=_response_types_map,
|
|
3136
|
+
).data
|
|
3137
|
+
|
|
3138
|
+
|
|
3139
|
+
@validate_call
|
|
3140
|
+
def post_website_source_map_upload_config_with_http_info(
|
|
3141
|
+
self,
|
|
3142
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3143
|
+
post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
|
|
3144
|
+
_request_timeout: Union[
|
|
3145
|
+
None,
|
|
3146
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3147
|
+
Tuple[
|
|
3148
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3149
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3150
|
+
]
|
|
3151
|
+
] = None,
|
|
3152
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3153
|
+
_content_type: Optional[StrictStr] = None,
|
|
3154
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3155
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3156
|
+
) -> ApiResponse[SourceMapUploadConfig]:
|
|
3157
|
+
"""Add new sourcemap upload configuration for website
|
|
3158
|
+
|
|
3159
|
+
API request to add sourcemap upload configuration for website.
|
|
3160
|
+
|
|
3161
|
+
:param website_id: Website ID (required)
|
|
3162
|
+
:type website_id: str
|
|
3163
|
+
:param post_mobile_app_source_map_config_request:
|
|
3164
|
+
:type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
|
|
3165
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3166
|
+
number provided, it will be total request
|
|
3167
|
+
timeout. It can also be a pair (tuple) of
|
|
3168
|
+
(connection, read) timeouts.
|
|
3169
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3170
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3171
|
+
request; this effectively ignores the
|
|
3172
|
+
authentication in the spec for a single request.
|
|
3173
|
+
:type _request_auth: dict, optional
|
|
3174
|
+
:param _content_type: force content-type for the request.
|
|
3175
|
+
:type _content_type: str, Optional
|
|
3176
|
+
:param _headers: set to override the headers for a single
|
|
3177
|
+
request; this effectively ignores the headers
|
|
3178
|
+
in the spec for a single request.
|
|
3179
|
+
:type _headers: dict, optional
|
|
3180
|
+
:param _host_index: set to override the host_index for a single
|
|
3181
|
+
request; this effectively ignores the host_index
|
|
3182
|
+
in the spec for a single request.
|
|
3183
|
+
:type _host_index: int, optional
|
|
3184
|
+
:return: Returns the result object.
|
|
3185
|
+
""" # noqa: E501
|
|
3186
|
+
|
|
3187
|
+
_param = self._post_website_source_map_upload_config_serialize(
|
|
3188
|
+
website_id=website_id,
|
|
3189
|
+
post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
|
|
3190
|
+
_request_auth=_request_auth,
|
|
3191
|
+
_content_type=_content_type,
|
|
3192
|
+
_headers=_headers,
|
|
3193
|
+
_host_index=_host_index
|
|
3194
|
+
)
|
|
3195
|
+
|
|
3196
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3197
|
+
'200': "SourceMapUploadConfig",
|
|
3198
|
+
'400': None,
|
|
3199
|
+
'401': None,
|
|
3200
|
+
'403': None,
|
|
3201
|
+
'422': None,
|
|
3202
|
+
'500': None,
|
|
3203
|
+
}
|
|
3204
|
+
response_data = self.api_client.call_api(
|
|
3205
|
+
*_param,
|
|
3206
|
+
_request_timeout=_request_timeout
|
|
3207
|
+
)
|
|
3208
|
+
response_data.read()
|
|
3209
|
+
return self.api_client.response_deserialize(
|
|
3210
|
+
response_data=response_data,
|
|
3211
|
+
response_types_map=_response_types_map,
|
|
3212
|
+
)
|
|
3213
|
+
|
|
3214
|
+
|
|
3215
|
+
@validate_call
|
|
3216
|
+
def post_website_source_map_upload_config_without_preload_content(
|
|
3217
|
+
self,
|
|
3218
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3219
|
+
post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
|
|
3220
|
+
_request_timeout: Union[
|
|
3221
|
+
None,
|
|
3222
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3223
|
+
Tuple[
|
|
3224
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3225
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3226
|
+
]
|
|
3227
|
+
] = None,
|
|
3228
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3229
|
+
_content_type: Optional[StrictStr] = None,
|
|
3230
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3231
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3232
|
+
) -> RESTResponseType:
|
|
3233
|
+
"""Add new sourcemap upload configuration for website
|
|
3234
|
+
|
|
3235
|
+
API request to add sourcemap upload configuration for website.
|
|
3236
|
+
|
|
3237
|
+
:param website_id: Website ID (required)
|
|
3238
|
+
:type website_id: str
|
|
3239
|
+
:param post_mobile_app_source_map_config_request:
|
|
3240
|
+
:type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
|
|
3241
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3242
|
+
number provided, it will be total request
|
|
3243
|
+
timeout. It can also be a pair (tuple) of
|
|
3244
|
+
(connection, read) timeouts.
|
|
3245
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3246
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3247
|
+
request; this effectively ignores the
|
|
3248
|
+
authentication in the spec for a single request.
|
|
3249
|
+
:type _request_auth: dict, optional
|
|
3250
|
+
:param _content_type: force content-type for the request.
|
|
3251
|
+
:type _content_type: str, Optional
|
|
3252
|
+
:param _headers: set to override the headers for a single
|
|
3253
|
+
request; this effectively ignores the headers
|
|
3254
|
+
in the spec for a single request.
|
|
3255
|
+
:type _headers: dict, optional
|
|
3256
|
+
:param _host_index: set to override the host_index for a single
|
|
3257
|
+
request; this effectively ignores the host_index
|
|
3258
|
+
in the spec for a single request.
|
|
3259
|
+
:type _host_index: int, optional
|
|
3260
|
+
:return: Returns the result object.
|
|
3261
|
+
""" # noqa: E501
|
|
3262
|
+
|
|
3263
|
+
_param = self._post_website_source_map_upload_config_serialize(
|
|
3264
|
+
website_id=website_id,
|
|
3265
|
+
post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
|
|
3266
|
+
_request_auth=_request_auth,
|
|
3267
|
+
_content_type=_content_type,
|
|
3268
|
+
_headers=_headers,
|
|
3269
|
+
_host_index=_host_index
|
|
3270
|
+
)
|
|
3271
|
+
|
|
3272
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3273
|
+
'200': "SourceMapUploadConfig",
|
|
3274
|
+
'400': None,
|
|
3275
|
+
'401': None,
|
|
3276
|
+
'403': None,
|
|
3277
|
+
'422': None,
|
|
3278
|
+
'500': None,
|
|
3279
|
+
}
|
|
3280
|
+
response_data = self.api_client.call_api(
|
|
3281
|
+
*_param,
|
|
3282
|
+
_request_timeout=_request_timeout
|
|
3283
|
+
)
|
|
3284
|
+
return response_data.response
|
|
3285
|
+
|
|
3286
|
+
|
|
3287
|
+
def _post_website_source_map_upload_config_serialize(
|
|
3288
|
+
self,
|
|
3289
|
+
website_id,
|
|
3290
|
+
post_mobile_app_source_map_config_request,
|
|
3291
|
+
_request_auth,
|
|
3292
|
+
_content_type,
|
|
3293
|
+
_headers,
|
|
3294
|
+
_host_index,
|
|
3295
|
+
) -> RequestSerialized:
|
|
3296
|
+
|
|
3297
|
+
_host = None
|
|
3298
|
+
|
|
3299
|
+
_collection_formats: Dict[str, str] = {
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
_path_params: Dict[str, str] = {}
|
|
3303
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3304
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3305
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3306
|
+
_files: Dict[
|
|
3307
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3308
|
+
] = {}
|
|
3309
|
+
_body_params: Optional[bytes] = None
|
|
3310
|
+
|
|
3311
|
+
# process the path parameters
|
|
3312
|
+
if website_id is not None:
|
|
3313
|
+
_path_params['websiteId'] = website_id
|
|
3314
|
+
# process the query parameters
|
|
3315
|
+
# process the header parameters
|
|
3316
|
+
# process the form parameters
|
|
3317
|
+
# process the body parameter
|
|
3318
|
+
if post_mobile_app_source_map_config_request is not None:
|
|
3319
|
+
_body_params = post_mobile_app_source_map_config_request
|
|
3320
|
+
|
|
3321
|
+
|
|
3322
|
+
# set the HTTP header `Accept`
|
|
3323
|
+
if 'Accept' not in _header_params:
|
|
3324
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3325
|
+
[
|
|
3326
|
+
'application/json'
|
|
3327
|
+
]
|
|
3328
|
+
)
|
|
3329
|
+
|
|
3330
|
+
# set the HTTP header `Content-Type`
|
|
3331
|
+
if _content_type:
|
|
3332
|
+
_header_params['Content-Type'] = _content_type
|
|
3333
|
+
else:
|
|
3334
|
+
_default_content_type = (
|
|
3335
|
+
self.api_client.select_header_content_type(
|
|
3336
|
+
[
|
|
3337
|
+
'application/json'
|
|
3338
|
+
]
|
|
3339
|
+
)
|
|
3340
|
+
)
|
|
3341
|
+
if _default_content_type is not None:
|
|
3342
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3343
|
+
|
|
3344
|
+
# authentication setting
|
|
3345
|
+
_auth_settings: List[str] = [
|
|
3346
|
+
]
|
|
3347
|
+
|
|
3348
|
+
return self.api_client.param_serialize(
|
|
3349
|
+
method='POST',
|
|
3350
|
+
resource_path='/api/website-monitoring/config/{websiteId}/sourcemap-upload',
|
|
3351
|
+
path_params=_path_params,
|
|
3352
|
+
query_params=_query_params,
|
|
3353
|
+
header_params=_header_params,
|
|
3354
|
+
body=_body_params,
|
|
3355
|
+
post_params=_form_params,
|
|
3356
|
+
files=_files,
|
|
3357
|
+
auth_settings=_auth_settings,
|
|
3358
|
+
collection_formats=_collection_formats,
|
|
3359
|
+
_host=_host,
|
|
3360
|
+
_request_auth=_request_auth
|
|
3361
|
+
)
|
|
3362
|
+
|
|
3363
|
+
|
|
3364
|
+
|
|
3365
|
+
|
|
3366
|
+
@validate_call
|
|
3367
|
+
def rename_website(
|
|
3368
|
+
self,
|
|
3369
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3370
|
+
name: Optional[StrictStr] = None,
|
|
3371
|
+
_request_timeout: Union[
|
|
3372
|
+
None,
|
|
3373
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3374
|
+
Tuple[
|
|
3375
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3376
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3377
|
+
]
|
|
3378
|
+
] = None,
|
|
3379
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3380
|
+
_content_type: Optional[StrictStr] = None,
|
|
3381
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3382
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3383
|
+
) -> Website:
|
|
3384
|
+
"""Rename website
|
|
3385
|
+
|
|
3386
|
+
API request to rename website.
|
|
3387
|
+
|
|
3388
|
+
:param website_id: Website ID (required)
|
|
3389
|
+
:type website_id: str
|
|
3390
|
+
:param name:
|
|
3391
|
+
:type name: str
|
|
3392
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3393
|
+
number provided, it will be total request
|
|
3394
|
+
timeout. It can also be a pair (tuple) of
|
|
3395
|
+
(connection, read) timeouts.
|
|
3396
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3397
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3398
|
+
request; this effectively ignores the
|
|
3399
|
+
authentication in the spec for a single request.
|
|
3400
|
+
:type _request_auth: dict, optional
|
|
3401
|
+
:param _content_type: force content-type for the request.
|
|
3402
|
+
:type _content_type: str, Optional
|
|
3403
|
+
:param _headers: set to override the headers for a single
|
|
3404
|
+
request; this effectively ignores the headers
|
|
3405
|
+
in the spec for a single request.
|
|
3406
|
+
:type _headers: dict, optional
|
|
3407
|
+
:param _host_index: set to override the host_index for a single
|
|
3408
|
+
request; this effectively ignores the host_index
|
|
3409
|
+
in the spec for a single request.
|
|
3410
|
+
:type _host_index: int, optional
|
|
3411
|
+
:return: Returns the result object.
|
|
3412
|
+
""" # noqa: E501
|
|
3413
|
+
|
|
3414
|
+
_param = self._rename_website_serialize(
|
|
3415
|
+
website_id=website_id,
|
|
3416
|
+
name=name,
|
|
2126
3417
|
_request_auth=_request_auth,
|
|
2127
3418
|
_content_type=_content_type,
|
|
2128
3419
|
_headers=_headers,
|
|
@@ -2130,9 +3421,160 @@ class WebsiteConfigurationApi:
|
|
|
2130
3421
|
)
|
|
2131
3422
|
|
|
2132
3423
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2133
|
-
'200': "
|
|
3424
|
+
'200': "Website",
|
|
3425
|
+
'400': None,
|
|
3426
|
+
'401': None,
|
|
3427
|
+
'403': None,
|
|
3428
|
+
'500': None,
|
|
3429
|
+
}
|
|
3430
|
+
response_data = self.api_client.call_api(
|
|
3431
|
+
*_param,
|
|
3432
|
+
_request_timeout=_request_timeout
|
|
3433
|
+
)
|
|
3434
|
+
response_data.read()
|
|
3435
|
+
return self.api_client.response_deserialize(
|
|
3436
|
+
response_data=response_data,
|
|
3437
|
+
response_types_map=_response_types_map,
|
|
3438
|
+
).data
|
|
3439
|
+
|
|
3440
|
+
|
|
3441
|
+
@validate_call
|
|
3442
|
+
def rename_website_with_http_info(
|
|
3443
|
+
self,
|
|
3444
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3445
|
+
name: Optional[StrictStr] = None,
|
|
3446
|
+
_request_timeout: Union[
|
|
3447
|
+
None,
|
|
3448
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3449
|
+
Tuple[
|
|
3450
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3451
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3452
|
+
]
|
|
3453
|
+
] = None,
|
|
3454
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3455
|
+
_content_type: Optional[StrictStr] = None,
|
|
3456
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3457
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3458
|
+
) -> ApiResponse[Website]:
|
|
3459
|
+
"""Rename website
|
|
3460
|
+
|
|
3461
|
+
API request to rename website.
|
|
3462
|
+
|
|
3463
|
+
:param website_id: Website ID (required)
|
|
3464
|
+
:type website_id: str
|
|
3465
|
+
:param name:
|
|
3466
|
+
:type name: str
|
|
3467
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3468
|
+
number provided, it will be total request
|
|
3469
|
+
timeout. It can also be a pair (tuple) of
|
|
3470
|
+
(connection, read) timeouts.
|
|
3471
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3472
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3473
|
+
request; this effectively ignores the
|
|
3474
|
+
authentication in the spec for a single request.
|
|
3475
|
+
:type _request_auth: dict, optional
|
|
3476
|
+
:param _content_type: force content-type for the request.
|
|
3477
|
+
:type _content_type: str, Optional
|
|
3478
|
+
:param _headers: set to override the headers for a single
|
|
3479
|
+
request; this effectively ignores the headers
|
|
3480
|
+
in the spec for a single request.
|
|
3481
|
+
:type _headers: dict, optional
|
|
3482
|
+
:param _host_index: set to override the host_index for a single
|
|
3483
|
+
request; this effectively ignores the host_index
|
|
3484
|
+
in the spec for a single request.
|
|
3485
|
+
:type _host_index: int, optional
|
|
3486
|
+
:return: Returns the result object.
|
|
3487
|
+
""" # noqa: E501
|
|
3488
|
+
|
|
3489
|
+
_param = self._rename_website_serialize(
|
|
3490
|
+
website_id=website_id,
|
|
3491
|
+
name=name,
|
|
3492
|
+
_request_auth=_request_auth,
|
|
3493
|
+
_content_type=_content_type,
|
|
3494
|
+
_headers=_headers,
|
|
3495
|
+
_host_index=_host_index
|
|
3496
|
+
)
|
|
3497
|
+
|
|
3498
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3499
|
+
'200': "Website",
|
|
3500
|
+
'400': None,
|
|
3501
|
+
'401': None,
|
|
3502
|
+
'403': None,
|
|
3503
|
+
'500': None,
|
|
3504
|
+
}
|
|
3505
|
+
response_data = self.api_client.call_api(
|
|
3506
|
+
*_param,
|
|
3507
|
+
_request_timeout=_request_timeout
|
|
3508
|
+
)
|
|
3509
|
+
response_data.read()
|
|
3510
|
+
return self.api_client.response_deserialize(
|
|
3511
|
+
response_data=response_data,
|
|
3512
|
+
response_types_map=_response_types_map,
|
|
3513
|
+
)
|
|
3514
|
+
|
|
3515
|
+
|
|
3516
|
+
@validate_call
|
|
3517
|
+
def rename_website_without_preload_content(
|
|
3518
|
+
self,
|
|
3519
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3520
|
+
name: Optional[StrictStr] = None,
|
|
3521
|
+
_request_timeout: Union[
|
|
3522
|
+
None,
|
|
3523
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3524
|
+
Tuple[
|
|
3525
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3526
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3527
|
+
]
|
|
3528
|
+
] = None,
|
|
3529
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3530
|
+
_content_type: Optional[StrictStr] = None,
|
|
3531
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3532
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3533
|
+
) -> RESTResponseType:
|
|
3534
|
+
"""Rename website
|
|
3535
|
+
|
|
3536
|
+
API request to rename website.
|
|
3537
|
+
|
|
3538
|
+
:param website_id: Website ID (required)
|
|
3539
|
+
:type website_id: str
|
|
3540
|
+
:param name:
|
|
3541
|
+
:type name: str
|
|
3542
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3543
|
+
number provided, it will be total request
|
|
3544
|
+
timeout. It can also be a pair (tuple) of
|
|
3545
|
+
(connection, read) timeouts.
|
|
3546
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3547
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3548
|
+
request; this effectively ignores the
|
|
3549
|
+
authentication in the spec for a single request.
|
|
3550
|
+
:type _request_auth: dict, optional
|
|
3551
|
+
:param _content_type: force content-type for the request.
|
|
3552
|
+
:type _content_type: str, Optional
|
|
3553
|
+
:param _headers: set to override the headers for a single
|
|
3554
|
+
request; this effectively ignores the headers
|
|
3555
|
+
in the spec for a single request.
|
|
3556
|
+
:type _headers: dict, optional
|
|
3557
|
+
:param _host_index: set to override the host_index for a single
|
|
3558
|
+
request; this effectively ignores the host_index
|
|
3559
|
+
in the spec for a single request.
|
|
3560
|
+
:type _host_index: int, optional
|
|
3561
|
+
:return: Returns the result object.
|
|
3562
|
+
""" # noqa: E501
|
|
3563
|
+
|
|
3564
|
+
_param = self._rename_website_serialize(
|
|
3565
|
+
website_id=website_id,
|
|
3566
|
+
name=name,
|
|
3567
|
+
_request_auth=_request_auth,
|
|
3568
|
+
_content_type=_content_type,
|
|
3569
|
+
_headers=_headers,
|
|
3570
|
+
_host_index=_host_index
|
|
3571
|
+
)
|
|
3572
|
+
|
|
3573
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3574
|
+
'200': "Website",
|
|
2134
3575
|
'400': None,
|
|
2135
3576
|
'401': None,
|
|
3577
|
+
'403': None,
|
|
2136
3578
|
'500': None,
|
|
2137
3579
|
}
|
|
2138
3580
|
response_data = self.api_client.call_api(
|
|
@@ -2142,8 +3584,10 @@ class WebsiteConfigurationApi:
|
|
|
2142
3584
|
return response_data.response
|
|
2143
3585
|
|
|
2144
3586
|
|
|
2145
|
-
def
|
|
3587
|
+
def _rename_website_serialize(
|
|
2146
3588
|
self,
|
|
3589
|
+
website_id,
|
|
3590
|
+
name,
|
|
2147
3591
|
_request_auth,
|
|
2148
3592
|
_content_type,
|
|
2149
3593
|
_headers,
|
|
@@ -2165,7 +3609,13 @@ class WebsiteConfigurationApi:
|
|
|
2165
3609
|
_body_params: Optional[bytes] = None
|
|
2166
3610
|
|
|
2167
3611
|
# process the path parameters
|
|
3612
|
+
if website_id is not None:
|
|
3613
|
+
_path_params['websiteId'] = website_id
|
|
2168
3614
|
# process the query parameters
|
|
3615
|
+
if name is not None:
|
|
3616
|
+
|
|
3617
|
+
_query_params.append(('name', name))
|
|
3618
|
+
|
|
2169
3619
|
# process the header parameters
|
|
2170
3620
|
# process the form parameters
|
|
2171
3621
|
# process the body parameter
|
|
@@ -2186,8 +3636,8 @@ class WebsiteConfigurationApi:
|
|
|
2186
3636
|
]
|
|
2187
3637
|
|
|
2188
3638
|
return self.api_client.param_serialize(
|
|
2189
|
-
method='
|
|
2190
|
-
resource_path='/api/website-monitoring/config',
|
|
3639
|
+
method='PUT',
|
|
3640
|
+
resource_path='/api/website-monitoring/config/{websiteId}',
|
|
2191
3641
|
path_params=_path_params,
|
|
2192
3642
|
query_params=_query_params,
|
|
2193
3643
|
header_params=_header_params,
|
|
@@ -2204,10 +3654,10 @@ class WebsiteConfigurationApi:
|
|
|
2204
3654
|
|
|
2205
3655
|
|
|
2206
3656
|
@validate_call
|
|
2207
|
-
def
|
|
3657
|
+
def set_website_geo_mapping_rules(
|
|
2208
3658
|
self,
|
|
2209
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
2210
|
-
|
|
3659
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3660
|
+
body: Optional[StrictStr] = None,
|
|
2211
3661
|
_request_timeout: Union[
|
|
2212
3662
|
None,
|
|
2213
3663
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2220,15 +3670,15 @@ class WebsiteConfigurationApi:
|
|
|
2220
3670
|
_content_type: Optional[StrictStr] = None,
|
|
2221
3671
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2222
3672
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2223
|
-
) ->
|
|
2224
|
-
"""
|
|
3673
|
+
) -> None:
|
|
3674
|
+
"""Set custom geo mapping rules for website
|
|
2225
3675
|
|
|
2226
|
-
API request to
|
|
3676
|
+
API request to set custom geo mapping rules for website.
|
|
2227
3677
|
|
|
2228
|
-
:param website_id:
|
|
3678
|
+
:param website_id: Website ID (required)
|
|
2229
3679
|
:type website_id: str
|
|
2230
|
-
:param
|
|
2231
|
-
:type
|
|
3680
|
+
:param body:
|
|
3681
|
+
:type body: str
|
|
2232
3682
|
:param _request_timeout: timeout setting for this request. If one
|
|
2233
3683
|
number provided, it will be total request
|
|
2234
3684
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2251,9 +3701,9 @@ class WebsiteConfigurationApi:
|
|
|
2251
3701
|
:return: Returns the result object.
|
|
2252
3702
|
""" # noqa: E501
|
|
2253
3703
|
|
|
2254
|
-
_param = self.
|
|
3704
|
+
_param = self._set_website_geo_mapping_rules_serialize(
|
|
2255
3705
|
website_id=website_id,
|
|
2256
|
-
|
|
3706
|
+
body=body,
|
|
2257
3707
|
_request_auth=_request_auth,
|
|
2258
3708
|
_content_type=_content_type,
|
|
2259
3709
|
_headers=_headers,
|
|
@@ -2261,10 +3711,11 @@ class WebsiteConfigurationApi:
|
|
|
2261
3711
|
)
|
|
2262
3712
|
|
|
2263
3713
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2264
|
-
'200':
|
|
2265
|
-
'400': None,
|
|
3714
|
+
'200': None,
|
|
2266
3715
|
'401': None,
|
|
2267
3716
|
'403': None,
|
|
3717
|
+
'404': None,
|
|
3718
|
+
'415': None,
|
|
2268
3719
|
'500': None,
|
|
2269
3720
|
}
|
|
2270
3721
|
response_data = self.api_client.call_api(
|
|
@@ -2279,10 +3730,10 @@ class WebsiteConfigurationApi:
|
|
|
2279
3730
|
|
|
2280
3731
|
|
|
2281
3732
|
@validate_call
|
|
2282
|
-
def
|
|
3733
|
+
def set_website_geo_mapping_rules_with_http_info(
|
|
2283
3734
|
self,
|
|
2284
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
2285
|
-
|
|
3735
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3736
|
+
body: Optional[StrictStr] = None,
|
|
2286
3737
|
_request_timeout: Union[
|
|
2287
3738
|
None,
|
|
2288
3739
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2295,15 +3746,15 @@ class WebsiteConfigurationApi:
|
|
|
2295
3746
|
_content_type: Optional[StrictStr] = None,
|
|
2296
3747
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2297
3748
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2298
|
-
) -> ApiResponse[
|
|
2299
|
-
"""
|
|
3749
|
+
) -> ApiResponse[None]:
|
|
3750
|
+
"""Set custom geo mapping rules for website
|
|
2300
3751
|
|
|
2301
|
-
API request to
|
|
3752
|
+
API request to set custom geo mapping rules for website.
|
|
2302
3753
|
|
|
2303
|
-
:param website_id:
|
|
3754
|
+
:param website_id: Website ID (required)
|
|
2304
3755
|
:type website_id: str
|
|
2305
|
-
:param
|
|
2306
|
-
:type
|
|
3756
|
+
:param body:
|
|
3757
|
+
:type body: str
|
|
2307
3758
|
:param _request_timeout: timeout setting for this request. If one
|
|
2308
3759
|
number provided, it will be total request
|
|
2309
3760
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2326,9 +3777,9 @@ class WebsiteConfigurationApi:
|
|
|
2326
3777
|
:return: Returns the result object.
|
|
2327
3778
|
""" # noqa: E501
|
|
2328
3779
|
|
|
2329
|
-
_param = self.
|
|
3780
|
+
_param = self._set_website_geo_mapping_rules_serialize(
|
|
2330
3781
|
website_id=website_id,
|
|
2331
|
-
|
|
3782
|
+
body=body,
|
|
2332
3783
|
_request_auth=_request_auth,
|
|
2333
3784
|
_content_type=_content_type,
|
|
2334
3785
|
_headers=_headers,
|
|
@@ -2336,10 +3787,11 @@ class WebsiteConfigurationApi:
|
|
|
2336
3787
|
)
|
|
2337
3788
|
|
|
2338
3789
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2339
|
-
'200':
|
|
2340
|
-
'400': None,
|
|
3790
|
+
'200': None,
|
|
2341
3791
|
'401': None,
|
|
2342
3792
|
'403': None,
|
|
3793
|
+
'404': None,
|
|
3794
|
+
'415': None,
|
|
2343
3795
|
'500': None,
|
|
2344
3796
|
}
|
|
2345
3797
|
response_data = self.api_client.call_api(
|
|
@@ -2354,10 +3806,10 @@ class WebsiteConfigurationApi:
|
|
|
2354
3806
|
|
|
2355
3807
|
|
|
2356
3808
|
@validate_call
|
|
2357
|
-
def
|
|
3809
|
+
def set_website_geo_mapping_rules_without_preload_content(
|
|
2358
3810
|
self,
|
|
2359
|
-
website_id: Annotated[StrictStr, Field(description="
|
|
2360
|
-
|
|
3811
|
+
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3812
|
+
body: Optional[StrictStr] = None,
|
|
2361
3813
|
_request_timeout: Union[
|
|
2362
3814
|
None,
|
|
2363
3815
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2371,14 +3823,14 @@ class WebsiteConfigurationApi:
|
|
|
2371
3823
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2372
3824
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2373
3825
|
) -> RESTResponseType:
|
|
2374
|
-
"""
|
|
3826
|
+
"""Set custom geo mapping rules for website
|
|
2375
3827
|
|
|
2376
|
-
API request to
|
|
3828
|
+
API request to set custom geo mapping rules for website.
|
|
2377
3829
|
|
|
2378
|
-
:param website_id:
|
|
3830
|
+
:param website_id: Website ID (required)
|
|
2379
3831
|
:type website_id: str
|
|
2380
|
-
:param
|
|
2381
|
-
:type
|
|
3832
|
+
:param body:
|
|
3833
|
+
:type body: str
|
|
2382
3834
|
:param _request_timeout: timeout setting for this request. If one
|
|
2383
3835
|
number provided, it will be total request
|
|
2384
3836
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2401,9 +3853,9 @@ class WebsiteConfigurationApi:
|
|
|
2401
3853
|
:return: Returns the result object.
|
|
2402
3854
|
""" # noqa: E501
|
|
2403
3855
|
|
|
2404
|
-
_param = self.
|
|
3856
|
+
_param = self._set_website_geo_mapping_rules_serialize(
|
|
2405
3857
|
website_id=website_id,
|
|
2406
|
-
|
|
3858
|
+
body=body,
|
|
2407
3859
|
_request_auth=_request_auth,
|
|
2408
3860
|
_content_type=_content_type,
|
|
2409
3861
|
_headers=_headers,
|
|
@@ -2411,10 +3863,11 @@ class WebsiteConfigurationApi:
|
|
|
2411
3863
|
)
|
|
2412
3864
|
|
|
2413
3865
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2414
|
-
'200':
|
|
2415
|
-
'400': None,
|
|
3866
|
+
'200': None,
|
|
2416
3867
|
'401': None,
|
|
2417
3868
|
'403': None,
|
|
3869
|
+
'404': None,
|
|
3870
|
+
'415': None,
|
|
2418
3871
|
'500': None,
|
|
2419
3872
|
}
|
|
2420
3873
|
response_data = self.api_client.call_api(
|
|
@@ -2424,10 +3877,10 @@ class WebsiteConfigurationApi:
|
|
|
2424
3877
|
return response_data.response
|
|
2425
3878
|
|
|
2426
3879
|
|
|
2427
|
-
def
|
|
3880
|
+
def _set_website_geo_mapping_rules_serialize(
|
|
2428
3881
|
self,
|
|
2429
3882
|
website_id,
|
|
2430
|
-
|
|
3883
|
+
body,
|
|
2431
3884
|
_request_auth,
|
|
2432
3885
|
_content_type,
|
|
2433
3886
|
_headers,
|
|
@@ -2452,23 +3905,34 @@ class WebsiteConfigurationApi:
|
|
|
2452
3905
|
if website_id is not None:
|
|
2453
3906
|
_path_params['websiteId'] = website_id
|
|
2454
3907
|
# process the query parameters
|
|
2455
|
-
if name is not None:
|
|
2456
|
-
|
|
2457
|
-
_query_params.append(('name', name))
|
|
2458
|
-
|
|
2459
3908
|
# process the header parameters
|
|
2460
3909
|
# process the form parameters
|
|
2461
3910
|
# process the body parameter
|
|
3911
|
+
if body is not None:
|
|
3912
|
+
_body_params = body
|
|
2462
3913
|
|
|
2463
3914
|
|
|
2464
3915
|
# set the HTTP header `Accept`
|
|
2465
3916
|
if 'Accept' not in _header_params:
|
|
2466
3917
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2467
3918
|
[
|
|
2468
|
-
'
|
|
3919
|
+
'text/csv'
|
|
2469
3920
|
]
|
|
2470
3921
|
)
|
|
2471
3922
|
|
|
3923
|
+
# set the HTTP header `Content-Type`
|
|
3924
|
+
if _content_type:
|
|
3925
|
+
_header_params['Content-Type'] = _content_type
|
|
3926
|
+
else:
|
|
3927
|
+
_default_content_type = (
|
|
3928
|
+
self.api_client.select_header_content_type(
|
|
3929
|
+
[
|
|
3930
|
+
'text/csv'
|
|
3931
|
+
]
|
|
3932
|
+
)
|
|
3933
|
+
)
|
|
3934
|
+
if _default_content_type is not None:
|
|
3935
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2472
3936
|
|
|
2473
3937
|
# authentication setting
|
|
2474
3938
|
_auth_settings: List[str] = [
|
|
@@ -2477,7 +3941,7 @@ class WebsiteConfigurationApi:
|
|
|
2477
3941
|
|
|
2478
3942
|
return self.api_client.param_serialize(
|
|
2479
3943
|
method='PUT',
|
|
2480
|
-
resource_path='/api/website-monitoring/config/{websiteId}',
|
|
3944
|
+
resource_path='/api/website-monitoring/config/{websiteId}/geo-mapping-rules',
|
|
2481
3945
|
path_params=_path_params,
|
|
2482
3946
|
query_params=_query_params,
|
|
2483
3947
|
header_params=_header_params,
|
|
@@ -2494,10 +3958,10 @@ class WebsiteConfigurationApi:
|
|
|
2494
3958
|
|
|
2495
3959
|
|
|
2496
3960
|
@validate_call
|
|
2497
|
-
def
|
|
3961
|
+
def update_website_geo_location_configuration(
|
|
2498
3962
|
self,
|
|
2499
3963
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2500
|
-
|
|
3964
|
+
geo_location_configuration: Optional[GeoLocationConfiguration] = None,
|
|
2501
3965
|
_request_timeout: Union[
|
|
2502
3966
|
None,
|
|
2503
3967
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2510,15 +3974,15 @@ class WebsiteConfigurationApi:
|
|
|
2510
3974
|
_content_type: Optional[StrictStr] = None,
|
|
2511
3975
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2512
3976
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2513
|
-
) ->
|
|
2514
|
-
"""
|
|
3977
|
+
) -> GeoLocationConfiguration:
|
|
3978
|
+
"""Update geo location configuration for website
|
|
2515
3979
|
|
|
2516
|
-
API request to
|
|
3980
|
+
API request to update geo location configuration for website.
|
|
2517
3981
|
|
|
2518
3982
|
:param website_id: Website ID (required)
|
|
2519
3983
|
:type website_id: str
|
|
2520
|
-
:param
|
|
2521
|
-
:type
|
|
3984
|
+
:param geo_location_configuration:
|
|
3985
|
+
:type geo_location_configuration: GeoLocationConfiguration
|
|
2522
3986
|
:param _request_timeout: timeout setting for this request. If one
|
|
2523
3987
|
number provided, it will be total request
|
|
2524
3988
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2541,9 +4005,9 @@ class WebsiteConfigurationApi:
|
|
|
2541
4005
|
:return: Returns the result object.
|
|
2542
4006
|
""" # noqa: E501
|
|
2543
4007
|
|
|
2544
|
-
_param = self.
|
|
4008
|
+
_param = self._update_website_geo_location_configuration_serialize(
|
|
2545
4009
|
website_id=website_id,
|
|
2546
|
-
|
|
4010
|
+
geo_location_configuration=geo_location_configuration,
|
|
2547
4011
|
_request_auth=_request_auth,
|
|
2548
4012
|
_content_type=_content_type,
|
|
2549
4013
|
_headers=_headers,
|
|
@@ -2551,11 +4015,10 @@ class WebsiteConfigurationApi:
|
|
|
2551
4015
|
)
|
|
2552
4016
|
|
|
2553
4017
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2554
|
-
'200':
|
|
4018
|
+
'200': "GeoLocationConfiguration",
|
|
2555
4019
|
'401': None,
|
|
2556
4020
|
'403': None,
|
|
2557
4021
|
'404': None,
|
|
2558
|
-
'415': None,
|
|
2559
4022
|
'500': None,
|
|
2560
4023
|
}
|
|
2561
4024
|
response_data = self.api_client.call_api(
|
|
@@ -2570,10 +4033,10 @@ class WebsiteConfigurationApi:
|
|
|
2570
4033
|
|
|
2571
4034
|
|
|
2572
4035
|
@validate_call
|
|
2573
|
-
def
|
|
4036
|
+
def update_website_geo_location_configuration_with_http_info(
|
|
2574
4037
|
self,
|
|
2575
4038
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2576
|
-
|
|
4039
|
+
geo_location_configuration: Optional[GeoLocationConfiguration] = None,
|
|
2577
4040
|
_request_timeout: Union[
|
|
2578
4041
|
None,
|
|
2579
4042
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2586,15 +4049,15 @@ class WebsiteConfigurationApi:
|
|
|
2586
4049
|
_content_type: Optional[StrictStr] = None,
|
|
2587
4050
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2588
4051
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2589
|
-
) -> ApiResponse[
|
|
2590
|
-
"""
|
|
4052
|
+
) -> ApiResponse[GeoLocationConfiguration]:
|
|
4053
|
+
"""Update geo location configuration for website
|
|
2591
4054
|
|
|
2592
|
-
API request to
|
|
4055
|
+
API request to update geo location configuration for website.
|
|
2593
4056
|
|
|
2594
4057
|
:param website_id: Website ID (required)
|
|
2595
4058
|
:type website_id: str
|
|
2596
|
-
:param
|
|
2597
|
-
:type
|
|
4059
|
+
:param geo_location_configuration:
|
|
4060
|
+
:type geo_location_configuration: GeoLocationConfiguration
|
|
2598
4061
|
:param _request_timeout: timeout setting for this request. If one
|
|
2599
4062
|
number provided, it will be total request
|
|
2600
4063
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2617,9 +4080,9 @@ class WebsiteConfigurationApi:
|
|
|
2617
4080
|
:return: Returns the result object.
|
|
2618
4081
|
""" # noqa: E501
|
|
2619
4082
|
|
|
2620
|
-
_param = self.
|
|
4083
|
+
_param = self._update_website_geo_location_configuration_serialize(
|
|
2621
4084
|
website_id=website_id,
|
|
2622
|
-
|
|
4085
|
+
geo_location_configuration=geo_location_configuration,
|
|
2623
4086
|
_request_auth=_request_auth,
|
|
2624
4087
|
_content_type=_content_type,
|
|
2625
4088
|
_headers=_headers,
|
|
@@ -2627,11 +4090,10 @@ class WebsiteConfigurationApi:
|
|
|
2627
4090
|
)
|
|
2628
4091
|
|
|
2629
4092
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2630
|
-
'200':
|
|
4093
|
+
'200': "GeoLocationConfiguration",
|
|
2631
4094
|
'401': None,
|
|
2632
4095
|
'403': None,
|
|
2633
4096
|
'404': None,
|
|
2634
|
-
'415': None,
|
|
2635
4097
|
'500': None,
|
|
2636
4098
|
}
|
|
2637
4099
|
response_data = self.api_client.call_api(
|
|
@@ -2646,10 +4108,10 @@ class WebsiteConfigurationApi:
|
|
|
2646
4108
|
|
|
2647
4109
|
|
|
2648
4110
|
@validate_call
|
|
2649
|
-
def
|
|
4111
|
+
def update_website_geo_location_configuration_without_preload_content(
|
|
2650
4112
|
self,
|
|
2651
4113
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2652
|
-
|
|
4114
|
+
geo_location_configuration: Optional[GeoLocationConfiguration] = None,
|
|
2653
4115
|
_request_timeout: Union[
|
|
2654
4116
|
None,
|
|
2655
4117
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2663,14 +4125,14 @@ class WebsiteConfigurationApi:
|
|
|
2663
4125
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2664
4126
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2665
4127
|
) -> RESTResponseType:
|
|
2666
|
-
"""
|
|
4128
|
+
"""Update geo location configuration for website
|
|
2667
4129
|
|
|
2668
|
-
API request to
|
|
4130
|
+
API request to update geo location configuration for website.
|
|
2669
4131
|
|
|
2670
4132
|
:param website_id: Website ID (required)
|
|
2671
4133
|
:type website_id: str
|
|
2672
|
-
:param
|
|
2673
|
-
:type
|
|
4134
|
+
:param geo_location_configuration:
|
|
4135
|
+
:type geo_location_configuration: GeoLocationConfiguration
|
|
2674
4136
|
:param _request_timeout: timeout setting for this request. If one
|
|
2675
4137
|
number provided, it will be total request
|
|
2676
4138
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2693,9 +4155,9 @@ class WebsiteConfigurationApi:
|
|
|
2693
4155
|
:return: Returns the result object.
|
|
2694
4156
|
""" # noqa: E501
|
|
2695
4157
|
|
|
2696
|
-
_param = self.
|
|
4158
|
+
_param = self._update_website_geo_location_configuration_serialize(
|
|
2697
4159
|
website_id=website_id,
|
|
2698
|
-
|
|
4160
|
+
geo_location_configuration=geo_location_configuration,
|
|
2699
4161
|
_request_auth=_request_auth,
|
|
2700
4162
|
_content_type=_content_type,
|
|
2701
4163
|
_headers=_headers,
|
|
@@ -2703,11 +4165,10 @@ class WebsiteConfigurationApi:
|
|
|
2703
4165
|
)
|
|
2704
4166
|
|
|
2705
4167
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2706
|
-
'200':
|
|
4168
|
+
'200': "GeoLocationConfiguration",
|
|
2707
4169
|
'401': None,
|
|
2708
4170
|
'403': None,
|
|
2709
4171
|
'404': None,
|
|
2710
|
-
'415': None,
|
|
2711
4172
|
'500': None,
|
|
2712
4173
|
}
|
|
2713
4174
|
response_data = self.api_client.call_api(
|
|
@@ -2717,10 +4178,10 @@ class WebsiteConfigurationApi:
|
|
|
2717
4178
|
return response_data.response
|
|
2718
4179
|
|
|
2719
4180
|
|
|
2720
|
-
def
|
|
4181
|
+
def _update_website_geo_location_configuration_serialize(
|
|
2721
4182
|
self,
|
|
2722
4183
|
website_id,
|
|
2723
|
-
|
|
4184
|
+
geo_location_configuration,
|
|
2724
4185
|
_request_auth,
|
|
2725
4186
|
_content_type,
|
|
2726
4187
|
_headers,
|
|
@@ -2748,15 +4209,15 @@ class WebsiteConfigurationApi:
|
|
|
2748
4209
|
# process the header parameters
|
|
2749
4210
|
# process the form parameters
|
|
2750
4211
|
# process the body parameter
|
|
2751
|
-
if
|
|
2752
|
-
_body_params =
|
|
4212
|
+
if geo_location_configuration is not None:
|
|
4213
|
+
_body_params = geo_location_configuration
|
|
2753
4214
|
|
|
2754
4215
|
|
|
2755
4216
|
# set the HTTP header `Accept`
|
|
2756
4217
|
if 'Accept' not in _header_params:
|
|
2757
4218
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2758
4219
|
[
|
|
2759
|
-
'
|
|
4220
|
+
'application/json'
|
|
2760
4221
|
]
|
|
2761
4222
|
)
|
|
2762
4223
|
|
|
@@ -2767,7 +4228,7 @@ class WebsiteConfigurationApi:
|
|
|
2767
4228
|
_default_content_type = (
|
|
2768
4229
|
self.api_client.select_header_content_type(
|
|
2769
4230
|
[
|
|
2770
|
-
'
|
|
4231
|
+
'application/json'
|
|
2771
4232
|
]
|
|
2772
4233
|
)
|
|
2773
4234
|
)
|
|
@@ -2781,7 +4242,7 @@ class WebsiteConfigurationApi:
|
|
|
2781
4242
|
|
|
2782
4243
|
return self.api_client.param_serialize(
|
|
2783
4244
|
method='PUT',
|
|
2784
|
-
resource_path='/api/website-monitoring/config/{websiteId}/geo-
|
|
4245
|
+
resource_path='/api/website-monitoring/config/{websiteId}/geo-location',
|
|
2785
4246
|
path_params=_path_params,
|
|
2786
4247
|
query_params=_query_params,
|
|
2787
4248
|
header_params=_header_params,
|
|
@@ -2798,10 +4259,10 @@ class WebsiteConfigurationApi:
|
|
|
2798
4259
|
|
|
2799
4260
|
|
|
2800
4261
|
@validate_call
|
|
2801
|
-
def
|
|
4262
|
+
def update_website_ip_masking_configuration(
|
|
2802
4263
|
self,
|
|
2803
4264
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2804
|
-
|
|
4265
|
+
ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
|
|
2805
4266
|
_request_timeout: Union[
|
|
2806
4267
|
None,
|
|
2807
4268
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2814,15 +4275,15 @@ class WebsiteConfigurationApi:
|
|
|
2814
4275
|
_content_type: Optional[StrictStr] = None,
|
|
2815
4276
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2816
4277
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2817
|
-
) ->
|
|
2818
|
-
"""Update
|
|
4278
|
+
) -> IpMaskingConfiguration:
|
|
4279
|
+
"""Update IP masking configuration for website
|
|
2819
4280
|
|
|
2820
|
-
API request to update
|
|
4281
|
+
API request to update IP masking configuration for website.
|
|
2821
4282
|
|
|
2822
4283
|
:param website_id: Website ID (required)
|
|
2823
4284
|
:type website_id: str
|
|
2824
|
-
:param
|
|
2825
|
-
:type
|
|
4285
|
+
:param ip_masking_configuration:
|
|
4286
|
+
:type ip_masking_configuration: IpMaskingConfiguration
|
|
2826
4287
|
:param _request_timeout: timeout setting for this request. If one
|
|
2827
4288
|
number provided, it will be total request
|
|
2828
4289
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2845,9 +4306,9 @@ class WebsiteConfigurationApi:
|
|
|
2845
4306
|
:return: Returns the result object.
|
|
2846
4307
|
""" # noqa: E501
|
|
2847
4308
|
|
|
2848
|
-
_param = self.
|
|
4309
|
+
_param = self._update_website_ip_masking_configuration_serialize(
|
|
2849
4310
|
website_id=website_id,
|
|
2850
|
-
|
|
4311
|
+
ip_masking_configuration=ip_masking_configuration,
|
|
2851
4312
|
_request_auth=_request_auth,
|
|
2852
4313
|
_content_type=_content_type,
|
|
2853
4314
|
_headers=_headers,
|
|
@@ -2855,7 +4316,7 @@ class WebsiteConfigurationApi:
|
|
|
2855
4316
|
)
|
|
2856
4317
|
|
|
2857
4318
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2858
|
-
'200': "
|
|
4319
|
+
'200': "IpMaskingConfiguration",
|
|
2859
4320
|
'401': None,
|
|
2860
4321
|
'403': None,
|
|
2861
4322
|
'404': None,
|
|
@@ -2873,10 +4334,10 @@ class WebsiteConfigurationApi:
|
|
|
2873
4334
|
|
|
2874
4335
|
|
|
2875
4336
|
@validate_call
|
|
2876
|
-
def
|
|
4337
|
+
def update_website_ip_masking_configuration_with_http_info(
|
|
2877
4338
|
self,
|
|
2878
4339
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2879
|
-
|
|
4340
|
+
ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
|
|
2880
4341
|
_request_timeout: Union[
|
|
2881
4342
|
None,
|
|
2882
4343
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2889,15 +4350,15 @@ class WebsiteConfigurationApi:
|
|
|
2889
4350
|
_content_type: Optional[StrictStr] = None,
|
|
2890
4351
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2891
4352
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2892
|
-
) -> ApiResponse[
|
|
2893
|
-
"""Update
|
|
4353
|
+
) -> ApiResponse[IpMaskingConfiguration]:
|
|
4354
|
+
"""Update IP masking configuration for website
|
|
2894
4355
|
|
|
2895
|
-
API request to update
|
|
4356
|
+
API request to update IP masking configuration for website.
|
|
2896
4357
|
|
|
2897
4358
|
:param website_id: Website ID (required)
|
|
2898
4359
|
:type website_id: str
|
|
2899
|
-
:param
|
|
2900
|
-
:type
|
|
4360
|
+
:param ip_masking_configuration:
|
|
4361
|
+
:type ip_masking_configuration: IpMaskingConfiguration
|
|
2901
4362
|
:param _request_timeout: timeout setting for this request. If one
|
|
2902
4363
|
number provided, it will be total request
|
|
2903
4364
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2920,9 +4381,9 @@ class WebsiteConfigurationApi:
|
|
|
2920
4381
|
:return: Returns the result object.
|
|
2921
4382
|
""" # noqa: E501
|
|
2922
4383
|
|
|
2923
|
-
_param = self.
|
|
4384
|
+
_param = self._update_website_ip_masking_configuration_serialize(
|
|
2924
4385
|
website_id=website_id,
|
|
2925
|
-
|
|
4386
|
+
ip_masking_configuration=ip_masking_configuration,
|
|
2926
4387
|
_request_auth=_request_auth,
|
|
2927
4388
|
_content_type=_content_type,
|
|
2928
4389
|
_headers=_headers,
|
|
@@ -2930,7 +4391,7 @@ class WebsiteConfigurationApi:
|
|
|
2930
4391
|
)
|
|
2931
4392
|
|
|
2932
4393
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2933
|
-
'200': "
|
|
4394
|
+
'200': "IpMaskingConfiguration",
|
|
2934
4395
|
'401': None,
|
|
2935
4396
|
'403': None,
|
|
2936
4397
|
'404': None,
|
|
@@ -2948,10 +4409,10 @@ class WebsiteConfigurationApi:
|
|
|
2948
4409
|
|
|
2949
4410
|
|
|
2950
4411
|
@validate_call
|
|
2951
|
-
def
|
|
4412
|
+
def update_website_ip_masking_configuration_without_preload_content(
|
|
2952
4413
|
self,
|
|
2953
4414
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
2954
|
-
|
|
4415
|
+
ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
|
|
2955
4416
|
_request_timeout: Union[
|
|
2956
4417
|
None,
|
|
2957
4418
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2965,14 +4426,14 @@ class WebsiteConfigurationApi:
|
|
|
2965
4426
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2966
4427
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2967
4428
|
) -> RESTResponseType:
|
|
2968
|
-
"""Update
|
|
4429
|
+
"""Update IP masking configuration for website
|
|
2969
4430
|
|
|
2970
|
-
API request to update
|
|
4431
|
+
API request to update IP masking configuration for website.
|
|
2971
4432
|
|
|
2972
4433
|
:param website_id: Website ID (required)
|
|
2973
4434
|
:type website_id: str
|
|
2974
|
-
:param
|
|
2975
|
-
:type
|
|
4435
|
+
:param ip_masking_configuration:
|
|
4436
|
+
:type ip_masking_configuration: IpMaskingConfiguration
|
|
2976
4437
|
:param _request_timeout: timeout setting for this request. If one
|
|
2977
4438
|
number provided, it will be total request
|
|
2978
4439
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2995,9 +4456,9 @@ class WebsiteConfigurationApi:
|
|
|
2995
4456
|
:return: Returns the result object.
|
|
2996
4457
|
""" # noqa: E501
|
|
2997
4458
|
|
|
2998
|
-
_param = self.
|
|
4459
|
+
_param = self._update_website_ip_masking_configuration_serialize(
|
|
2999
4460
|
website_id=website_id,
|
|
3000
|
-
|
|
4461
|
+
ip_masking_configuration=ip_masking_configuration,
|
|
3001
4462
|
_request_auth=_request_auth,
|
|
3002
4463
|
_content_type=_content_type,
|
|
3003
4464
|
_headers=_headers,
|
|
@@ -3005,7 +4466,7 @@ class WebsiteConfigurationApi:
|
|
|
3005
4466
|
)
|
|
3006
4467
|
|
|
3007
4468
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3008
|
-
'200': "
|
|
4469
|
+
'200': "IpMaskingConfiguration",
|
|
3009
4470
|
'401': None,
|
|
3010
4471
|
'403': None,
|
|
3011
4472
|
'404': None,
|
|
@@ -3018,10 +4479,10 @@ class WebsiteConfigurationApi:
|
|
|
3018
4479
|
return response_data.response
|
|
3019
4480
|
|
|
3020
4481
|
|
|
3021
|
-
def
|
|
4482
|
+
def _update_website_ip_masking_configuration_serialize(
|
|
3022
4483
|
self,
|
|
3023
4484
|
website_id,
|
|
3024
|
-
|
|
4485
|
+
ip_masking_configuration,
|
|
3025
4486
|
_request_auth,
|
|
3026
4487
|
_content_type,
|
|
3027
4488
|
_headers,
|
|
@@ -3049,8 +4510,8 @@ class WebsiteConfigurationApi:
|
|
|
3049
4510
|
# process the header parameters
|
|
3050
4511
|
# process the form parameters
|
|
3051
4512
|
# process the body parameter
|
|
3052
|
-
if
|
|
3053
|
-
_body_params =
|
|
4513
|
+
if ip_masking_configuration is not None:
|
|
4514
|
+
_body_params = ip_masking_configuration
|
|
3054
4515
|
|
|
3055
4516
|
|
|
3056
4517
|
# set the HTTP header `Accept`
|
|
@@ -3082,7 +4543,7 @@ class WebsiteConfigurationApi:
|
|
|
3082
4543
|
|
|
3083
4544
|
return self.api_client.param_serialize(
|
|
3084
4545
|
method='PUT',
|
|
3085
|
-
resource_path='/api/website-monitoring/config/{websiteId}/
|
|
4546
|
+
resource_path='/api/website-monitoring/config/{websiteId}/ip-masking',
|
|
3086
4547
|
path_params=_path_params,
|
|
3087
4548
|
query_params=_query_params,
|
|
3088
4549
|
header_params=_header_params,
|
|
@@ -3099,10 +4560,10 @@ class WebsiteConfigurationApi:
|
|
|
3099
4560
|
|
|
3100
4561
|
|
|
3101
4562
|
@validate_call
|
|
3102
|
-
def
|
|
4563
|
+
def update_website_teams(
|
|
3103
4564
|
self,
|
|
3104
|
-
website_id:
|
|
3105
|
-
|
|
4565
|
+
website_id: StrictStr,
|
|
4566
|
+
api_tag: Optional[List[ApiTag]] = None,
|
|
3106
4567
|
_request_timeout: Union[
|
|
3107
4568
|
None,
|
|
3108
4569
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3115,15 +4576,15 @@ class WebsiteConfigurationApi:
|
|
|
3115
4576
|
_content_type: Optional[StrictStr] = None,
|
|
3116
4577
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3117
4578
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3118
|
-
) ->
|
|
3119
|
-
"""Update
|
|
4579
|
+
) -> List[ApiTag]:
|
|
4580
|
+
"""Update teams assigned to the website
|
|
3120
4581
|
|
|
3121
|
-
API request to update
|
|
4582
|
+
API request to update teams of a website.
|
|
3122
4583
|
|
|
3123
|
-
:param website_id:
|
|
4584
|
+
:param website_id: (required)
|
|
3124
4585
|
:type website_id: str
|
|
3125
|
-
:param
|
|
3126
|
-
:type
|
|
4586
|
+
:param api_tag:
|
|
4587
|
+
:type api_tag: List[ApiTag]
|
|
3127
4588
|
:param _request_timeout: timeout setting for this request. If one
|
|
3128
4589
|
number provided, it will be total request
|
|
3129
4590
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3146,9 +4607,9 @@ class WebsiteConfigurationApi:
|
|
|
3146
4607
|
:return: Returns the result object.
|
|
3147
4608
|
""" # noqa: E501
|
|
3148
4609
|
|
|
3149
|
-
_param = self.
|
|
4610
|
+
_param = self._update_website_teams_serialize(
|
|
3150
4611
|
website_id=website_id,
|
|
3151
|
-
|
|
4612
|
+
api_tag=api_tag,
|
|
3152
4613
|
_request_auth=_request_auth,
|
|
3153
4614
|
_content_type=_content_type,
|
|
3154
4615
|
_headers=_headers,
|
|
@@ -3156,10 +4617,10 @@ class WebsiteConfigurationApi:
|
|
|
3156
4617
|
)
|
|
3157
4618
|
|
|
3158
4619
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3159
|
-
'200': "
|
|
4620
|
+
'200': "List[ApiTag]",
|
|
4621
|
+
'400': None,
|
|
3160
4622
|
'401': None,
|
|
3161
4623
|
'403': None,
|
|
3162
|
-
'404': None,
|
|
3163
4624
|
'500': None,
|
|
3164
4625
|
}
|
|
3165
4626
|
response_data = self.api_client.call_api(
|
|
@@ -3174,10 +4635,10 @@ class WebsiteConfigurationApi:
|
|
|
3174
4635
|
|
|
3175
4636
|
|
|
3176
4637
|
@validate_call
|
|
3177
|
-
def
|
|
4638
|
+
def update_website_teams_with_http_info(
|
|
3178
4639
|
self,
|
|
3179
|
-
website_id:
|
|
3180
|
-
|
|
4640
|
+
website_id: StrictStr,
|
|
4641
|
+
api_tag: Optional[List[ApiTag]] = None,
|
|
3181
4642
|
_request_timeout: Union[
|
|
3182
4643
|
None,
|
|
3183
4644
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3190,15 +4651,15 @@ class WebsiteConfigurationApi:
|
|
|
3190
4651
|
_content_type: Optional[StrictStr] = None,
|
|
3191
4652
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3192
4653
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3193
|
-
) -> ApiResponse[
|
|
3194
|
-
"""Update
|
|
4654
|
+
) -> ApiResponse[List[ApiTag]]:
|
|
4655
|
+
"""Update teams assigned to the website
|
|
3195
4656
|
|
|
3196
|
-
API request to update
|
|
4657
|
+
API request to update teams of a website.
|
|
3197
4658
|
|
|
3198
|
-
:param website_id:
|
|
4659
|
+
:param website_id: (required)
|
|
3199
4660
|
:type website_id: str
|
|
3200
|
-
:param
|
|
3201
|
-
:type
|
|
4661
|
+
:param api_tag:
|
|
4662
|
+
:type api_tag: List[ApiTag]
|
|
3202
4663
|
:param _request_timeout: timeout setting for this request. If one
|
|
3203
4664
|
number provided, it will be total request
|
|
3204
4665
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3221,9 +4682,9 @@ class WebsiteConfigurationApi:
|
|
|
3221
4682
|
:return: Returns the result object.
|
|
3222
4683
|
""" # noqa: E501
|
|
3223
4684
|
|
|
3224
|
-
_param = self.
|
|
4685
|
+
_param = self._update_website_teams_serialize(
|
|
3225
4686
|
website_id=website_id,
|
|
3226
|
-
|
|
4687
|
+
api_tag=api_tag,
|
|
3227
4688
|
_request_auth=_request_auth,
|
|
3228
4689
|
_content_type=_content_type,
|
|
3229
4690
|
_headers=_headers,
|
|
@@ -3231,10 +4692,10 @@ class WebsiteConfigurationApi:
|
|
|
3231
4692
|
)
|
|
3232
4693
|
|
|
3233
4694
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3234
|
-
'200': "
|
|
4695
|
+
'200': "List[ApiTag]",
|
|
4696
|
+
'400': None,
|
|
3235
4697
|
'401': None,
|
|
3236
4698
|
'403': None,
|
|
3237
|
-
'404': None,
|
|
3238
4699
|
'500': None,
|
|
3239
4700
|
}
|
|
3240
4701
|
response_data = self.api_client.call_api(
|
|
@@ -3249,10 +4710,10 @@ class WebsiteConfigurationApi:
|
|
|
3249
4710
|
|
|
3250
4711
|
|
|
3251
4712
|
@validate_call
|
|
3252
|
-
def
|
|
4713
|
+
def update_website_teams_without_preload_content(
|
|
3253
4714
|
self,
|
|
3254
|
-
website_id:
|
|
3255
|
-
|
|
4715
|
+
website_id: StrictStr,
|
|
4716
|
+
api_tag: Optional[List[ApiTag]] = None,
|
|
3256
4717
|
_request_timeout: Union[
|
|
3257
4718
|
None,
|
|
3258
4719
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3266,14 +4727,14 @@ class WebsiteConfigurationApi:
|
|
|
3266
4727
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3267
4728
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3268
4729
|
) -> RESTResponseType:
|
|
3269
|
-
"""Update
|
|
4730
|
+
"""Update teams assigned to the website
|
|
3270
4731
|
|
|
3271
|
-
API request to update
|
|
4732
|
+
API request to update teams of a website.
|
|
3272
4733
|
|
|
3273
|
-
:param website_id:
|
|
4734
|
+
:param website_id: (required)
|
|
3274
4735
|
:type website_id: str
|
|
3275
|
-
:param
|
|
3276
|
-
:type
|
|
4736
|
+
:param api_tag:
|
|
4737
|
+
:type api_tag: List[ApiTag]
|
|
3277
4738
|
:param _request_timeout: timeout setting for this request. If one
|
|
3278
4739
|
number provided, it will be total request
|
|
3279
4740
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3296,9 +4757,9 @@ class WebsiteConfigurationApi:
|
|
|
3296
4757
|
:return: Returns the result object.
|
|
3297
4758
|
""" # noqa: E501
|
|
3298
4759
|
|
|
3299
|
-
_param = self.
|
|
4760
|
+
_param = self._update_website_teams_serialize(
|
|
3300
4761
|
website_id=website_id,
|
|
3301
|
-
|
|
4762
|
+
api_tag=api_tag,
|
|
3302
4763
|
_request_auth=_request_auth,
|
|
3303
4764
|
_content_type=_content_type,
|
|
3304
4765
|
_headers=_headers,
|
|
@@ -3306,10 +4767,10 @@ class WebsiteConfigurationApi:
|
|
|
3306
4767
|
)
|
|
3307
4768
|
|
|
3308
4769
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3309
|
-
'200': "
|
|
4770
|
+
'200': "List[ApiTag]",
|
|
4771
|
+
'400': None,
|
|
3310
4772
|
'401': None,
|
|
3311
4773
|
'403': None,
|
|
3312
|
-
'404': None,
|
|
3313
4774
|
'500': None,
|
|
3314
4775
|
}
|
|
3315
4776
|
response_data = self.api_client.call_api(
|
|
@@ -3319,10 +4780,10 @@ class WebsiteConfigurationApi:
|
|
|
3319
4780
|
return response_data.response
|
|
3320
4781
|
|
|
3321
4782
|
|
|
3322
|
-
def
|
|
4783
|
+
def _update_website_teams_serialize(
|
|
3323
4784
|
self,
|
|
3324
4785
|
website_id,
|
|
3325
|
-
|
|
4786
|
+
api_tag,
|
|
3326
4787
|
_request_auth,
|
|
3327
4788
|
_content_type,
|
|
3328
4789
|
_headers,
|
|
@@ -3332,6 +4793,7 @@ class WebsiteConfigurationApi:
|
|
|
3332
4793
|
_host = None
|
|
3333
4794
|
|
|
3334
4795
|
_collection_formats: Dict[str, str] = {
|
|
4796
|
+
'ApiTag': '',
|
|
3335
4797
|
}
|
|
3336
4798
|
|
|
3337
4799
|
_path_params: Dict[str, str] = {}
|
|
@@ -3350,8 +4812,8 @@ class WebsiteConfigurationApi:
|
|
|
3350
4812
|
# process the header parameters
|
|
3351
4813
|
# process the form parameters
|
|
3352
4814
|
# process the body parameter
|
|
3353
|
-
if
|
|
3354
|
-
_body_params =
|
|
4815
|
+
if api_tag is not None:
|
|
4816
|
+
_body_params = api_tag
|
|
3355
4817
|
|
|
3356
4818
|
|
|
3357
4819
|
# set the HTTP header `Accept`
|
|
@@ -3383,7 +4845,7 @@ class WebsiteConfigurationApi:
|
|
|
3383
4845
|
|
|
3384
4846
|
return self.api_client.param_serialize(
|
|
3385
4847
|
method='PUT',
|
|
3386
|
-
resource_path='/api/website-monitoring/config/{websiteId}/
|
|
4848
|
+
resource_path='/api/website-monitoring/config/{websiteId}/teams',
|
|
3387
4849
|
path_params=_path_params,
|
|
3388
4850
|
query_params=_query_params,
|
|
3389
4851
|
header_params=_header_params,
|
|
@@ -3404,9 +4866,9 @@ class WebsiteConfigurationApi:
|
|
|
3404
4866
|
self,
|
|
3405
4867
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3406
4868
|
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
4869
|
+
source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Local Source Map file path")],
|
|
4870
|
+
url: Annotated[StrictStr, Field(description="URL of the website")],
|
|
3407
4871
|
file_format: Optional[StrictStr] = None,
|
|
3408
|
-
source_map: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
3409
|
-
url: Optional[StrictStr] = None,
|
|
3410
4872
|
_request_timeout: Union[
|
|
3411
4873
|
None,
|
|
3412
4874
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3420,20 +4882,20 @@ class WebsiteConfigurationApi:
|
|
|
3420
4882
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3421
4883
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3422
4884
|
) -> SourceMapUploadConfig:
|
|
3423
|
-
"""Upload
|
|
4885
|
+
"""Upload sourcemap file for website
|
|
3424
4886
|
|
|
3425
|
-
API request to upload
|
|
4887
|
+
API request to upload sourcemap file for website.
|
|
3426
4888
|
|
|
3427
4889
|
:param website_id: Website ID (required)
|
|
3428
4890
|
:type website_id: str
|
|
3429
4891
|
:param source_map_config_id: Source Map Config ID (required)
|
|
3430
4892
|
:type source_map_config_id: str
|
|
3431
|
-
:param
|
|
3432
|
-
:type file_format: str
|
|
3433
|
-
:param source_map:
|
|
4893
|
+
:param source_map: Local Source Map file path (required)
|
|
3434
4894
|
:type source_map: bytearray
|
|
3435
|
-
:param url:
|
|
4895
|
+
:param url: URL of the website (required)
|
|
3436
4896
|
:type url: str
|
|
4897
|
+
:param file_format:
|
|
4898
|
+
:type file_format: str
|
|
3437
4899
|
:param _request_timeout: timeout setting for this request. If one
|
|
3438
4900
|
number provided, it will be total request
|
|
3439
4901
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3459,9 +4921,9 @@ class WebsiteConfigurationApi:
|
|
|
3459
4921
|
_param = self._upload_source_map_file_serialize(
|
|
3460
4922
|
website_id=website_id,
|
|
3461
4923
|
source_map_config_id=source_map_config_id,
|
|
3462
|
-
file_format=file_format,
|
|
3463
4924
|
source_map=source_map,
|
|
3464
4925
|
url=url,
|
|
4926
|
+
file_format=file_format,
|
|
3465
4927
|
_request_auth=_request_auth,
|
|
3466
4928
|
_content_type=_content_type,
|
|
3467
4929
|
_headers=_headers,
|
|
@@ -3470,6 +4932,7 @@ class WebsiteConfigurationApi:
|
|
|
3470
4932
|
|
|
3471
4933
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3472
4934
|
'200': "SourceMapUploadConfig",
|
|
4935
|
+
'400': None,
|
|
3473
4936
|
'401': None,
|
|
3474
4937
|
'403': None,
|
|
3475
4938
|
'404': None,
|
|
@@ -3491,9 +4954,9 @@ class WebsiteConfigurationApi:
|
|
|
3491
4954
|
self,
|
|
3492
4955
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3493
4956
|
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
4957
|
+
source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Local Source Map file path")],
|
|
4958
|
+
url: Annotated[StrictStr, Field(description="URL of the website")],
|
|
3494
4959
|
file_format: Optional[StrictStr] = None,
|
|
3495
|
-
source_map: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
3496
|
-
url: Optional[StrictStr] = None,
|
|
3497
4960
|
_request_timeout: Union[
|
|
3498
4961
|
None,
|
|
3499
4962
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3507,20 +4970,20 @@ class WebsiteConfigurationApi:
|
|
|
3507
4970
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3508
4971
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3509
4972
|
) -> ApiResponse[SourceMapUploadConfig]:
|
|
3510
|
-
"""Upload
|
|
4973
|
+
"""Upload sourcemap file for website
|
|
3511
4974
|
|
|
3512
|
-
API request to upload
|
|
4975
|
+
API request to upload sourcemap file for website.
|
|
3513
4976
|
|
|
3514
4977
|
:param website_id: Website ID (required)
|
|
3515
4978
|
:type website_id: str
|
|
3516
4979
|
:param source_map_config_id: Source Map Config ID (required)
|
|
3517
4980
|
:type source_map_config_id: str
|
|
3518
|
-
:param
|
|
3519
|
-
:type file_format: str
|
|
3520
|
-
:param source_map:
|
|
4981
|
+
:param source_map: Local Source Map file path (required)
|
|
3521
4982
|
:type source_map: bytearray
|
|
3522
|
-
:param url:
|
|
4983
|
+
:param url: URL of the website (required)
|
|
3523
4984
|
:type url: str
|
|
4985
|
+
:param file_format:
|
|
4986
|
+
:type file_format: str
|
|
3524
4987
|
:param _request_timeout: timeout setting for this request. If one
|
|
3525
4988
|
number provided, it will be total request
|
|
3526
4989
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3546,9 +5009,9 @@ class WebsiteConfigurationApi:
|
|
|
3546
5009
|
_param = self._upload_source_map_file_serialize(
|
|
3547
5010
|
website_id=website_id,
|
|
3548
5011
|
source_map_config_id=source_map_config_id,
|
|
3549
|
-
file_format=file_format,
|
|
3550
5012
|
source_map=source_map,
|
|
3551
5013
|
url=url,
|
|
5014
|
+
file_format=file_format,
|
|
3552
5015
|
_request_auth=_request_auth,
|
|
3553
5016
|
_content_type=_content_type,
|
|
3554
5017
|
_headers=_headers,
|
|
@@ -3557,6 +5020,7 @@ class WebsiteConfigurationApi:
|
|
|
3557
5020
|
|
|
3558
5021
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3559
5022
|
'200': "SourceMapUploadConfig",
|
|
5023
|
+
'400': None,
|
|
3560
5024
|
'401': None,
|
|
3561
5025
|
'403': None,
|
|
3562
5026
|
'404': None,
|
|
@@ -3578,9 +5042,9 @@ class WebsiteConfigurationApi:
|
|
|
3578
5042
|
self,
|
|
3579
5043
|
website_id: Annotated[StrictStr, Field(description="Website ID")],
|
|
3580
5044
|
source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
|
|
5045
|
+
source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Local Source Map file path")],
|
|
5046
|
+
url: Annotated[StrictStr, Field(description="URL of the website")],
|
|
3581
5047
|
file_format: Optional[StrictStr] = None,
|
|
3582
|
-
source_map: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None,
|
|
3583
|
-
url: Optional[StrictStr] = None,
|
|
3584
5048
|
_request_timeout: Union[
|
|
3585
5049
|
None,
|
|
3586
5050
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3594,20 +5058,20 @@ class WebsiteConfigurationApi:
|
|
|
3594
5058
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3595
5059
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3596
5060
|
) -> RESTResponseType:
|
|
3597
|
-
"""Upload
|
|
5061
|
+
"""Upload sourcemap file for website
|
|
3598
5062
|
|
|
3599
|
-
API request to upload
|
|
5063
|
+
API request to upload sourcemap file for website.
|
|
3600
5064
|
|
|
3601
5065
|
:param website_id: Website ID (required)
|
|
3602
5066
|
:type website_id: str
|
|
3603
5067
|
:param source_map_config_id: Source Map Config ID (required)
|
|
3604
5068
|
:type source_map_config_id: str
|
|
3605
|
-
:param
|
|
3606
|
-
:type file_format: str
|
|
3607
|
-
:param source_map:
|
|
5069
|
+
:param source_map: Local Source Map file path (required)
|
|
3608
5070
|
:type source_map: bytearray
|
|
3609
|
-
:param url:
|
|
5071
|
+
:param url: URL of the website (required)
|
|
3610
5072
|
:type url: str
|
|
5073
|
+
:param file_format:
|
|
5074
|
+
:type file_format: str
|
|
3611
5075
|
:param _request_timeout: timeout setting for this request. If one
|
|
3612
5076
|
number provided, it will be total request
|
|
3613
5077
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3633,9 +5097,9 @@ class WebsiteConfigurationApi:
|
|
|
3633
5097
|
_param = self._upload_source_map_file_serialize(
|
|
3634
5098
|
website_id=website_id,
|
|
3635
5099
|
source_map_config_id=source_map_config_id,
|
|
3636
|
-
file_format=file_format,
|
|
3637
5100
|
source_map=source_map,
|
|
3638
5101
|
url=url,
|
|
5102
|
+
file_format=file_format,
|
|
3639
5103
|
_request_auth=_request_auth,
|
|
3640
5104
|
_content_type=_content_type,
|
|
3641
5105
|
_headers=_headers,
|
|
@@ -3644,6 +5108,7 @@ class WebsiteConfigurationApi:
|
|
|
3644
5108
|
|
|
3645
5109
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3646
5110
|
'200': "SourceMapUploadConfig",
|
|
5111
|
+
'400': None,
|
|
3647
5112
|
'401': None,
|
|
3648
5113
|
'403': None,
|
|
3649
5114
|
'404': None,
|
|
@@ -3660,9 +5125,9 @@ class WebsiteConfigurationApi:
|
|
|
3660
5125
|
self,
|
|
3661
5126
|
website_id,
|
|
3662
5127
|
source_map_config_id,
|
|
3663
|
-
file_format,
|
|
3664
5128
|
source_map,
|
|
3665
5129
|
url,
|
|
5130
|
+
file_format,
|
|
3666
5131
|
_request_auth,
|
|
3667
5132
|
_content_type,
|
|
3668
5133
|
_headers,
|