SematextCloud 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/SematextCloud.gemspec +4 -5
- data/docs/AlertNotification.md +2 -1
- data/docs/AlertNotificationRequest.md +2 -1
- data/docs/AlertNotificationsApi.md +30 -28
- data/docs/AlertRule.md +2 -1
- data/docs/AlertRuleResponse.md +2 -1
- data/docs/AlertRuleResponseEntry.md +2 -1
- data/docs/AlertRuleScheduleTimeRangeDto.md +2 -1
- data/docs/AlertRuleScheduleWeekdayDto.md +2 -1
- data/docs/AlertRulesResponse.md +2 -1
- data/docs/AlertRulesResponseEntry.md +2 -1
- data/docs/AlertsApi.md +55 -53
- data/docs/App.md +2 -1
- data/docs/AppDescription.md +2 -1
- data/docs/AppMetadata.md +2 -1
- data/docs/AppResponse.md +2 -1
- data/docs/AppResponseEntry.md +2 -1
- data/docs/AppTypesResponse.md +2 -1
- data/docs/AppTypesResponseEntry.md +2 -1
- data/docs/AppsApi.md +85 -80
- data/docs/AppsResponse.md +2 -1
- data/docs/AppsResponseEntry.md +2 -1
- data/docs/AwsSettingsControllerApi.md +10 -8
- data/docs/BasicAuthMethodDto.md +2 -1
- data/docs/BasicOrganizationDto.md +2 -1
- data/docs/BillingApi.md +31 -29
- data/docs/BillingInfo.md +2 -1
- data/docs/ChargesDetailsResponseDto.md +2 -1
- data/docs/CloudWatchSettings.md +2 -1
- data/docs/CloudWatchSettingsResponse.md +2 -1
- data/docs/CloudWatchSettingsResponseEntry.md +2 -1
- data/docs/CreateAppInfo.md +2 -1
- data/docs/CreateTokenDto.md +2 -1
- data/docs/DailyDto.md +10 -7
- data/docs/DayUsageData.md +23 -23
- data/docs/Dimension.md +2 -1
- data/docs/Error.md +2 -1
- data/docs/EventDto.md +2 -1
- data/docs/FilterValue.md +2 -1
- data/docs/GenericApiResponse.md +2 -1
- data/docs/GenericMapBasedApiResponse.md +2 -1
- data/docs/Invitation.md +2 -1
- data/docs/Invoice.md +2 -1
- data/docs/InvoiceResponse.md +2 -1
- data/docs/InvoiceResponseEntry.md +2 -1
- data/docs/LimitChangeEventDTO.md +2 -1
- data/docs/LogsAppApi.md +10 -8
- data/docs/LogsUsageApiControllerApi.md +9 -7
- data/docs/MailReportResponse.md +2 -1
- data/docs/MailReportResponseResponseEntry.md +2 -1
- data/docs/MinPeriodFeePeriod.md +17 -14
- data/docs/MonitoringAppApi.md +17 -15
- data/docs/NotificationIntegration.md +2 -1
- data/docs/NotificationsResponse.md +2 -1
- data/docs/NotificationsResponseEntry.md +2 -1
- data/docs/Plan.md +2 -1
- data/docs/PlansResponse.md +2 -1
- data/docs/PlansResponseEntry.md +2 -1
- data/docs/ReportInfo.md +13 -11
- data/docs/ResetPasswordApi.md +10 -8
- data/docs/ServiceIntegration.md +2 -1
- data/docs/Subscription.md +20 -18
- data/docs/SubscriptionDashboardDto.md +2 -1
- data/docs/SubscriptionDto.md +17 -15
- data/docs/SubscriptionResponse.md +2 -1
- data/docs/SubscriptionResponseEntry.md +2 -1
- data/docs/SubscriptionsApi.md +102 -99
- data/docs/SubscriptionsResponse.md +2 -1
- data/docs/SubscriptionsResponseEntry.md +2 -1
- data/docs/TagApiControllerApi.md +32 -30
- data/docs/TagNamesResponse.md +2 -1
- data/docs/TokenDto.md +2 -1
- data/docs/TokenResponse.md +2 -1
- data/docs/TokenResponseEntry.md +2 -1
- data/docs/TokensApiControllerApi.md +62 -60
- data/docs/TokensResponse.md +2 -1
- data/docs/TokensResponseEntry.md +2 -1
- data/docs/UpdateAppInfo.md +2 -1
- data/docs/UpdatePlanResponse.md +2 -1
- data/docs/UpdatePlanResponseDto.md +2 -1
- data/docs/UpdatePlanResponseEntry.md +2 -1
- data/docs/UpdateSubscriptionDto.md +2 -1
- data/docs/UpdateTokenDto.md +2 -1
- data/docs/UsageDto.md +6 -3
- data/docs/UsageMultiResponse.md +2 -1
- data/docs/UsageMultiResponseEntry.md +2 -1
- data/docs/UsageResponse.md +2 -1
- data/docs/UsageResponseEntry.md +2 -1
- data/docs/UserInfo.md +2 -1
- data/docs/UserPermissions.md +2 -1
- data/docs/UserRole.md +2 -1
- data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
- data/lib/SematextCloud/api/alerts_api.rb +81 -72
- data/lib/SematextCloud/api/apps_api.rb +125 -106
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
- data/lib/SematextCloud/api/billing_api.rb +51 -46
- data/lib/SematextCloud/api/logs_app_api.rb +21 -20
- data/lib/{stcloud → SematextCloud}/api/logs_usage_api_controller_api.rb +2 -2
- data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
- data/lib/SematextCloud/api/reset_password_api.rb +21 -20
- data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
- data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +84 -73
- data/lib/SematextCloud/api_client.rb +41 -42
- data/lib/SematextCloud/api_error.rb +21 -2
- data/lib/SematextCloud/configuration.rb +5 -9
- data/lib/{stcloud → SematextCloud}/models/alert_notification.rb +5 -5
- data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
- data/lib/SematextCloud/models/alert_rule.rb +175 -152
- data/lib/{stcloud/models/app_response.rb → SematextCloud/models/alert_rule_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/alert_rule_response_entry.rb +5 -5
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
- data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/alert_rules_response_entry.rb +5 -5
- data/lib/SematextCloud/models/app.rb +163 -93
- data/lib/SematextCloud/models/app_description.rb +41 -18
- data/lib/SematextCloud/models/app_metadata.rb +60 -37
- data/lib/{stcloud/models/alert_rule_response.rb → SematextCloud/models/app_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/app_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response_entry.rb +5 -5
- data/lib/{stcloud/models/alert_rules_response.rb → SematextCloud/models/apps_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/apps_response_entry.rb +5 -5
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
- data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
- data/lib/SematextCloud/models/billing_info.rb +48 -25
- data/lib/{stcloud → SematextCloud}/models/charges_details_response_dto.rb +5 -5
- data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/cloud_watch_settings_response_entry.rb +5 -5
- data/lib/SematextCloud/models/create_app_info.rb +53 -31
- data/lib/SematextCloud/models/create_token_dto.rb +46 -23
- data/lib/{stcloud → SematextCloud}/models/daily_dto.rb +36 -18
- data/lib/{stcloud → SematextCloud}/models/day_usage_data.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/dimension.rb +5 -5
- data/lib/SematextCloud/models/error.rb +43 -20
- data/lib/{stcloud → SematextCloud}/models/event_dto.rb +7 -7
- data/lib/SematextCloud/models/filter_value.rb +53 -30
- data/lib/SematextCloud/models/generic_api_response.rb +46 -24
- data/lib/{stcloud → SematextCloud}/models/generic_map_based_api_response.rb +5 -5
- data/lib/SematextCloud/models/invitation.rb +74 -52
- data/lib/{stcloud → SematextCloud}/models/invoice.rb +5 -5
- data/lib/{stcloud/models/notifications_response.rb → SematextCloud/models/invoice_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/invoice_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/limit_change_event_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/mail_report_response.rb +5 -5
- data/lib/{stcloud/models/subscription_response_entry.rb → SematextCloud/models/mail_report_response_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/min_period_fee_period.rb +24 -6
- data/lib/SematextCloud/models/notification_integration.rb +73 -50
- data/lib/SematextCloud/models/notifications_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/notifications_response_entry.rb +5 -5
- data/lib/SematextCloud/models/plan.rb +80 -57
- data/lib/{stcloud → SematextCloud}/models/plans_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/plans_response_entry.rb +5 -5
- data/lib/SematextCloud/models/report_info.rb +69 -37
- data/lib/SematextCloud/models/service_integration.rb +71 -48
- data/lib/{stcloud → SematextCloud}/models/subscription.rb +15 -6
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
- data/lib/SematextCloud/models/subscription_dto.rb +85 -53
- data/lib/{stcloud/models/cloud_watch_settings_response.rb → SematextCloud/models/subscription_response.rb} +6 -6
- data/lib/{stcloud/models/mail_report_response_response_entry.rb → SematextCloud/models/subscription_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/tag_names_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response_entry.rb +5 -5
- data/lib/{stcloud/models/subscription_response.rb → SematextCloud/models/tokens_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/tokens_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_app_info.rb +64 -41
- data/lib/{stcloud → SematextCloud}/models/update_plan_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
- data/lib/SematextCloud/models/update_token_dto.rb +44 -21
- data/lib/{stcloud → SematextCloud}/models/usage_dto.rb +39 -21
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response_entry.rb +5 -5
- data/lib/SematextCloud/models/user_info.rb +42 -19
- data/lib/SematextCloud/models/user_permissions.rb +48 -25
- data/lib/SematextCloud/models/user_role.rb +53 -30
- data/lib/SematextCloud/version.rb +2 -3
- data/lib/SematextCloud.rb +57 -7
- data/spec/api/alert_notifications_api_spec.rb +8 -8
- data/spec/api/alerts_api_spec.rb +8 -8
- data/spec/api/apps_api_spec.rb +10 -10
- data/spec/api/aws_settings_controller_api_spec.rb +4 -4
- data/spec/api/billing_api_spec.rb +6 -6
- data/spec/api/logs_app_api_spec.rb +4 -4
- data/spec/api/logs_usage_api_controller_api_spec.rb +4 -4
- data/spec/api/monitoring_app_api_spec.rb +6 -6
- data/spec/api/reset_password_api_spec.rb +4 -4
- data/spec/api/subscriptions_api_spec.rb +10 -10
- data/spec/api/tag_api_controller_api_spec.rb +6 -6
- data/spec/api/tokens_api_controller_api_spec.rb +12 -12
- data/spec/api_client_spec.rb +30 -30
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/alert_notification_request_spec.rb +4 -4
- data/spec/models/alert_notification_spec.rb +4 -4
- data/spec/models/alert_rule_response_entry_spec.rb +4 -4
- data/spec/models/alert_rule_response_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -4
- data/spec/models/alert_rule_spec.rb +4 -4
- data/spec/models/alert_rules_response_entry_spec.rb +4 -4
- data/spec/models/alert_rules_response_spec.rb +4 -4
- data/spec/models/app_description_spec.rb +4 -4
- data/spec/models/app_metadata_spec.rb +4 -4
- data/spec/models/app_response_entry_spec.rb +4 -4
- data/spec/models/app_response_spec.rb +4 -4
- data/spec/models/app_spec.rb +4 -4
- data/spec/models/app_types_response_entry_spec.rb +4 -4
- data/spec/models/app_types_response_spec.rb +4 -4
- data/spec/models/apps_response_entry_spec.rb +4 -4
- data/spec/models/apps_response_spec.rb +4 -4
- data/spec/models/basic_auth_method_dto_spec.rb +4 -4
- data/spec/models/basic_organization_dto_spec.rb +4 -4
- data/spec/models/billing_info_spec.rb +4 -4
- data/spec/models/charges_details_response_dto_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_spec.rb +4 -4
- data/spec/models/create_app_info_spec.rb +4 -4
- data/spec/models/create_token_dto_spec.rb +4 -4
- data/spec/models/daily_dto_spec.rb +18 -6
- data/spec/models/day_usage_data_spec.rb +4 -4
- data/spec/models/dimension_spec.rb +4 -4
- data/spec/models/error_spec.rb +4 -4
- data/spec/models/event_dto_spec.rb +5 -5
- data/spec/models/filter_value_spec.rb +4 -4
- data/spec/models/generic_api_response_spec.rb +4 -4
- data/spec/models/generic_map_based_api_response_spec.rb +4 -4
- data/spec/models/invitation_spec.rb +4 -4
- data/spec/models/invoice_response_entry_spec.rb +4 -4
- data/spec/models/invoice_response_spec.rb +4 -4
- data/spec/models/invoice_spec.rb +4 -4
- data/spec/models/limit_change_event_dto_spec.rb +4 -4
- data/spec/models/mail_report_response_response_entry_spec.rb +4 -4
- data/spec/models/mail_report_response_spec.rb +4 -4
- data/spec/models/min_period_fee_period_spec.rb +16 -4
- data/spec/models/notification_integration_spec.rb +4 -4
- data/spec/models/notifications_response_entry_spec.rb +4 -4
- data/spec/models/notifications_response_spec.rb +4 -4
- data/spec/models/plan_spec.rb +5 -5
- data/spec/models/plans_response_entry_spec.rb +4 -4
- data/spec/models/plans_response_spec.rb +4 -4
- data/spec/models/report_info_spec.rb +10 -4
- data/spec/models/service_integration_spec.rb +4 -4
- data/spec/models/subscription_dashboard_dto_spec.rb +4 -4
- data/spec/models/subscription_dto_spec.rb +10 -4
- data/spec/models/subscription_response_entry_spec.rb +4 -4
- data/spec/models/subscription_response_spec.rb +4 -4
- data/spec/models/subscription_spec.rb +10 -4
- data/spec/models/subscriptions_response_entry_spec.rb +4 -4
- data/spec/models/subscriptions_response_spec.rb +4 -4
- data/spec/models/tag_names_response_spec.rb +4 -4
- data/spec/models/token_dto_spec.rb +4 -4
- data/spec/models/token_response_entry_spec.rb +4 -4
- data/spec/models/token_response_spec.rb +4 -4
- data/spec/models/tokens_response_entry_spec.rb +4 -4
- data/spec/models/tokens_response_spec.rb +4 -4
- data/spec/models/update_app_info_spec.rb +4 -4
- data/spec/models/update_plan_response_dto_spec.rb +4 -4
- data/spec/models/update_plan_response_entry_spec.rb +4 -4
- data/spec/models/update_plan_response_spec.rb +4 -4
- data/spec/models/update_subscription_dto_spec.rb +4 -4
- data/spec/models/update_token_dto_spec.rb +4 -4
- data/spec/models/usage_dto_spec.rb +22 -10
- data/spec/models/usage_multi_response_entry_spec.rb +4 -4
- data/spec/models/usage_multi_response_spec.rb +4 -4
- data/spec/models/usage_response_entry_spec.rb +4 -4
- data/spec/models/usage_response_spec.rb +4 -4
- data/spec/models/user_info_spec.rb +4 -4
- data/spec/models/user_permissions_spec.rb +4 -4
- data/spec/models/user_role_spec.rb +4 -4
- data/spec/spec_helper.rb +2 -2
- metadata +55 -121
- data/docs/DataSeriesFilter.md +0 -8
- data/docs/DataSeriesRequest.md +0 -12
- data/docs/MetricsApi.md +0 -227
- data/docs/SavedQueriesApi.md +0 -220
- data/docs/SavedQuery.md +0 -18
- data/lib/SematextCloud/api/metrics_api.rb +0 -247
- data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
- data/lib/SematextCloud/models/data_series_filter.rb +0 -237
- data/lib/SematextCloud/models/data_series_request.rb +0 -283
- data/lib/SematextCloud/models/saved_query.rb +0 -291
- data/lib/stcloud/api/alert_notifications_api.rb +0 -142
- data/lib/stcloud/api/alerts_api.rb +0 -292
- data/lib/stcloud/api/apps_api.rb +0 -452
- data/lib/stcloud/api/aws_settings_controller_api.rb +0 -84
- data/lib/stcloud/api/billing_api.rb +0 -202
- data/lib/stcloud/api/logs_app_api.rb +0 -76
- data/lib/stcloud/api/monitoring_app_api.rb +0 -76
- data/lib/stcloud/api/reset_password_api.rb +0 -76
- data/lib/stcloud/api/subscriptions_api.rb +0 -610
- data/lib/stcloud/api/tag_api_controller_api.rb +0 -250
- data/lib/stcloud/api/tokens_api_controller_api.rb +0 -324
- data/lib/stcloud/api_client.rb +0 -388
- data/lib/stcloud/api_error.rb +0 -57
- data/lib/stcloud/configuration.rb +0 -205
- data/lib/stcloud/models/alert_notification_request.rb +0 -235
- data/lib/stcloud/models/alert_rule.rb +0 -675
- data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +0 -215
- data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +0 -244
- data/lib/stcloud/models/app.rb +0 -489
- data/lib/stcloud/models/app_description.rb +0 -206
- data/lib/stcloud/models/app_metadata.rb +0 -291
- data/lib/stcloud/models/apps_response.rb +0 -235
- data/lib/stcloud/models/basic_auth_method_dto.rb +0 -249
- data/lib/stcloud/models/basic_organization_dto.rb +0 -269
- data/lib/stcloud/models/billing_info.rb +0 -224
- data/lib/stcloud/models/cloud_watch_settings.rb +0 -279
- data/lib/stcloud/models/create_app_info.rb +0 -242
- data/lib/stcloud/models/create_token_dto.rb +0 -224
- data/lib/stcloud/models/error.rb +0 -215
- data/lib/stcloud/models/filter_value.rb +0 -253
- data/lib/stcloud/models/generic_api_response.rb +0 -236
- data/lib/stcloud/models/invitation.rb +0 -348
- data/lib/stcloud/models/invoice_response.rb +0 -235
- data/lib/stcloud/models/notification_integration.rb +0 -347
- data/lib/stcloud/models/plan.rb +0 -360
- data/lib/stcloud/models/report_info.rb +0 -270
- data/lib/stcloud/models/service_integration.rb +0 -305
- data/lib/stcloud/models/subscription_dashboard_dto.rb +0 -342
- data/lib/stcloud/models/subscription_dto.rb +0 -351
- data/lib/stcloud/models/tokens_response.rb +0 -235
- data/lib/stcloud/models/update_app_info.rb +0 -312
- data/lib/stcloud/models/update_subscription_dto.rb +0 -206
- data/lib/stcloud/models/update_token_dto.rb +0 -215
- data/lib/stcloud/models/user_info.rb +0 -206
- data/lib/stcloud/models/user_permissions.rb +0 -224
- data/lib/stcloud/models/user_role.rb +0 -270
- data/lib/stcloud/version.rb +0 -14
- data/lib/stcloud.rb +0 -128
- data/spec/api/metrics_api_spec.rb +0 -83
- data/spec/api/saved_queries_api_spec.rb +0 -80
- data/spec/models/data_series_filter_spec.rb +0 -57
- data/spec/models/data_series_request_spec.rb +0 -81
- data/spec/models/saved_query_spec.rb +0 -113
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5218e5486c3ae33ee6703a51fbd5420055267dc310b9762f0beeac9a66ddac88
|
4
|
+
data.tar.gz: 93d2f098a169dfd34ed29385730aabb1d834b3a5ceb7b9eda8ee2773f80948bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef6d6e76b132bc8ab5c097332d9c374f4e236e80aa02176597f7d65c6c0f1f992757ea7ebb461382b836779d9a127e6259817bd573196a2b0ea9b2d05f7618dd
|
7
|
+
data.tar.gz: a0141153bcabbe2f401019c438472c2dfaa8486939c394f2d8f5409b445f9a2dda3c536b5b94ad110949bd1effc5e75d8766d21f3b7fa59079d6ec0a2299600a
|
data/README.md
CHANGED
data/SematextCloud.gemspec
CHANGED
@@ -8,8 +8,7 @@
|
|
8
8
|
OpenAPI spec version: v3
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version:
|
12
|
-
|
11
|
+
Swagger Codegen version: 3.0.30
|
13
12
|
=end
|
14
13
|
|
15
14
|
$:.push File.expand_path("../lib", __FILE__)
|
@@ -20,11 +19,11 @@ Gem::Specification.new do |s|
|
|
20
19
|
s.version = SematextCloud::VERSION
|
21
20
|
s.platform = Gem::Platform::RUBY
|
22
21
|
s.authors = ["sematext.com"]
|
23
|
-
s.email = ["
|
22
|
+
s.email = ["support@sematext.com"]
|
24
23
|
s.homepage = "https://github.com/sematext/sematext-api-client-ruby"
|
25
|
-
s.summary = "
|
24
|
+
s.summary = "Sematext Cloud API Client for talking to https://sematext.com/docs/api/"
|
26
25
|
s.description = "Sematext Cloud API Client for talking to https://sematext.com/docs/api/"
|
27
|
-
s.license = 'Apache
|
26
|
+
s.license = 'Apache License, Version 2.0'
|
28
27
|
s.required_ruby_version = ">= 1.9"
|
29
28
|
|
30
29
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
data/docs/AlertNotification.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertNotificationRequest
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| -------------------- | ----------- | --------------------------------------------------------------------------------------------------------------- | ---------- |
|
6
7
|
| **default_interval** | **Integer** | | [optional] |
|
@@ -1,42 +1,44 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertNotificationsApi
|
2
2
|
|
3
3
|
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**
|
8
|
-
| [**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
|
7
|
+
| [**get_alert_notifications_for_app_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
|
8
|
+
| [**get_alert_notifications_for_user_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
|
9
9
|
|
10
|
-
# **
|
11
|
-
|
10
|
+
# **get_alert_notifications_for_app_using_post**
|
11
|
+
|
12
|
+
> NotificationsResponse get_alert_notifications_for_app_using_post(bodyapp_id)
|
12
13
|
|
13
14
|
Get alert notifications for an app
|
14
15
|
|
15
16
|
Default value of interval is 1d
|
16
17
|
|
17
18
|
### Example
|
19
|
+
|
18
20
|
```ruby
|
19
21
|
# load the gem
|
20
|
-
require '
|
22
|
+
require 'SematextCloud'
|
21
23
|
# setup authorization
|
22
|
-
|
24
|
+
SematextCloud.configure do |config|
|
23
25
|
# Configure API key authorization: api_key
|
24
26
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
25
27
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
26
28
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
27
29
|
end
|
28
30
|
|
29
|
-
api_instance =
|
30
|
-
body =
|
31
|
+
api_instance = SematextCloud::AlertNotificationsApi.new
|
32
|
+
body = SematextCloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
|
31
33
|
app_id = 789 # Integer | appId
|
32
34
|
|
33
35
|
|
34
36
|
begin
|
35
37
|
#Get alert notifications for an app
|
36
|
-
result = api_instance.
|
38
|
+
result = api_instance.get_alert_notifications_for_app_using_post(bodyapp_id)
|
37
39
|
p result
|
38
|
-
rescue
|
39
|
-
puts "Exception when calling AlertNotificationsApi->
|
40
|
+
rescue SematextCloud::ApiError => e
|
41
|
+
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_app_using_post: #{e}"
|
40
42
|
end
|
41
43
|
```
|
42
44
|
|
@@ -57,40 +59,40 @@ end
|
|
57
59
|
|
58
60
|
### HTTP request headers
|
59
61
|
|
60
|
-
|
61
|
-
|
62
|
+
- **Content-Type**: application/json
|
63
|
+
- **Accept**: application/json
|
62
64
|
|
65
|
+
# **get_alert_notifications_for_user_using_post**
|
63
66
|
|
64
|
-
|
65
|
-
# **get_alert_notifications_for_user_using_post1**
|
66
|
-
> NotificationsResponse get_alert_notifications_for_user_using_post1(body)
|
67
|
+
> NotificationsResponse get_alert_notifications_for_user_using_post(body)
|
67
68
|
|
68
69
|
Get alert notifications for a user
|
69
70
|
|
70
71
|
Default value of interval is 1d
|
71
72
|
|
72
73
|
### Example
|
74
|
+
|
73
75
|
```ruby
|
74
76
|
# load the gem
|
75
|
-
require '
|
77
|
+
require 'SematextCloud'
|
76
78
|
# setup authorization
|
77
|
-
|
79
|
+
SematextCloud.configure do |config|
|
78
80
|
# Configure API key authorization: api_key
|
79
81
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
80
82
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
81
83
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
82
84
|
end
|
83
85
|
|
84
|
-
api_instance =
|
85
|
-
body =
|
86
|
+
api_instance = SematextCloud::AlertNotificationsApi.new
|
87
|
+
body = SematextCloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
|
86
88
|
|
87
89
|
|
88
90
|
begin
|
89
91
|
#Get alert notifications for a user
|
90
|
-
result = api_instance.
|
92
|
+
result = api_instance.get_alert_notifications_for_user_using_post(body)
|
91
93
|
p result
|
92
|
-
rescue
|
93
|
-
puts "Exception when calling AlertNotificationsApi->
|
94
|
+
rescue SematextCloud::ApiError => e
|
95
|
+
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_user_using_post: #{e}"
|
94
96
|
end
|
95
97
|
```
|
96
98
|
|
@@ -110,5 +112,5 @@ end
|
|
110
112
|
|
111
113
|
### HTTP request headers
|
112
114
|
|
113
|
-
|
114
|
-
|
115
|
+
- **Content-Type**: application/json
|
116
|
+
- **Accept**: application/json
|
data/docs/AlertRule.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRule
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ---------------------------------------------- | ------------------------------------------------------------------------------ | ----------- | ---------- |
|
6
7
|
| **account_email** | **String** | | [optional] |
|
data/docs/AlertRuleResponse.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRuleResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | ------------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**AlertRuleResponseEntry**](AlertRuleResponseEntry.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRuleResponseEntry
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| -------------- | ----------------------------- | ----------- | ---------- |
|
6
7
|
| **alert_rule** | [**AlertRule**](AlertRule.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRuleScheduleWeekdayDto
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ------------- | ---------------------------------------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **day** | **String** | | [optional] |
|
data/docs/AlertRulesResponse.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRulesResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | --------------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**AlertRulesResponseEntry**](AlertRulesResponseEntry.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertRulesResponseEntry
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| --------------- | ------------------------------------------ | ----------- | ---------- |
|
6
7
|
| **alert_rules** | [**Array<AlertRule>**](AlertRule.md) | | [optional] |
|
data/docs/AlertsApi.md
CHANGED
@@ -1,41 +1,43 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AlertsApi
|
2
2
|
|
3
3
|
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**create_alert_using_post**](AlertsApi.md#create_alert_using_post)
|
8
|
-
| [**
|
9
|
-
| [**disable_alert_rule_using_put**](AlertsApi.md#disable_alert_rule_using_put)
|
10
|
-
| [**enable_alert_rule_using_put**](AlertsApi.md#enable_alert_rule_using_put)
|
11
|
-
| [**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
|
7
|
+
| [**create_alert_using_post**](AlertsApi.md#create_alert_using_post) | **POST** /users-web/api/v3/alerts | Create alert rule |
|
8
|
+
| [**delete_alert_rule_using_delete1**](AlertsApi.md#delete_alert_rule_using_delete1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
|
9
|
+
| [**disable_alert_rule_using_put**](AlertsApi.md#disable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
|
10
|
+
| [**enable_alert_rule_using_put**](AlertsApi.md#enable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
|
11
|
+
| [**get_alert_rules_for_app_using_get1**](AlertsApi.md#get_alert_rules_for_app_using_get1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
|
12
12
|
|
13
13
|
# **create_alert_using_post**
|
14
|
+
|
14
15
|
> AlertRuleResponse create_alert_using_post(body)
|
15
16
|
|
16
17
|
Create alert rule
|
17
18
|
|
18
19
|
### Example
|
20
|
+
|
19
21
|
```ruby
|
20
22
|
# load the gem
|
21
|
-
require '
|
23
|
+
require 'SematextCloud'
|
22
24
|
# setup authorization
|
23
|
-
|
25
|
+
SematextCloud.configure do |config|
|
24
26
|
# Configure API key authorization: api_key
|
25
27
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
26
28
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
27
29
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
28
30
|
end
|
29
31
|
|
30
|
-
api_instance =
|
31
|
-
body =
|
32
|
+
api_instance = SematextCloud::AlertsApi.new
|
33
|
+
body = SematextCloud::AlertRule.new # AlertRule | dto
|
32
34
|
|
33
35
|
|
34
36
|
begin
|
35
37
|
#Create alert rule
|
36
38
|
result = api_instance.create_alert_using_post(body)
|
37
39
|
p result
|
38
|
-
rescue
|
40
|
+
rescue SematextCloud::ApiError => e
|
39
41
|
puts "Exception when calling AlertsApi->create_alert_using_post: #{e}"
|
40
42
|
end
|
41
43
|
```
|
@@ -56,38 +58,38 @@ end
|
|
56
58
|
|
57
59
|
### HTTP request headers
|
58
60
|
|
59
|
-
|
60
|
-
|
61
|
+
- **Content-Type**: application/json
|
62
|
+
- **Accept**: application/json
|
61
63
|
|
64
|
+
# **delete_alert_rule_using_delete1**
|
62
65
|
|
63
|
-
|
64
|
-
# **delete_alert_rule_using_delete**
|
65
|
-
> GenericMapBasedApiResponse delete_alert_rule_using_delete(updateable_alert_id)
|
66
|
+
> GenericMapBasedApiResponse delete_alert_rule_using_delete1(updateable_alert_id)
|
66
67
|
|
67
68
|
Delete alert rule
|
68
69
|
|
69
70
|
### Example
|
71
|
+
|
70
72
|
```ruby
|
71
73
|
# load the gem
|
72
|
-
require '
|
74
|
+
require 'SematextCloud'
|
73
75
|
# setup authorization
|
74
|
-
|
76
|
+
SematextCloud.configure do |config|
|
75
77
|
# Configure API key authorization: api_key
|
76
78
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
77
79
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
78
80
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
79
81
|
end
|
80
82
|
|
81
|
-
api_instance =
|
83
|
+
api_instance = SematextCloud::AlertsApi.new
|
82
84
|
updateable_alert_id = 789 # Integer | updateableAlertId
|
83
85
|
|
84
86
|
|
85
87
|
begin
|
86
88
|
#Delete alert rule
|
87
|
-
result = api_instance.
|
89
|
+
result = api_instance.delete_alert_rule_using_delete1(updateable_alert_id)
|
88
90
|
p result
|
89
|
-
rescue
|
90
|
-
puts "Exception when calling AlertsApi->
|
91
|
+
rescue SematextCloud::ApiError => e
|
92
|
+
puts "Exception when calling AlertsApi->delete_alert_rule_using_delete1: #{e}"
|
91
93
|
end
|
92
94
|
```
|
93
95
|
|
@@ -107,29 +109,29 @@ end
|
|
107
109
|
|
108
110
|
### HTTP request headers
|
109
111
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
112
|
+
- **Content-Type**: Not defined
|
113
|
+
- **Accept**: application/json
|
114
114
|
|
115
115
|
# **disable_alert_rule_using_put**
|
116
|
+
|
116
117
|
> GenericMapBasedApiResponse disable_alert_rule_using_put(updateable_alert_id)
|
117
118
|
|
118
119
|
Disable alert rule
|
119
120
|
|
120
121
|
### Example
|
122
|
+
|
121
123
|
```ruby
|
122
124
|
# load the gem
|
123
|
-
require '
|
125
|
+
require 'SematextCloud'
|
124
126
|
# setup authorization
|
125
|
-
|
127
|
+
SematextCloud.configure do |config|
|
126
128
|
# Configure API key authorization: api_key
|
127
129
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
128
130
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
129
131
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
130
132
|
end
|
131
133
|
|
132
|
-
api_instance =
|
134
|
+
api_instance = SematextCloud::AlertsApi.new
|
133
135
|
updateable_alert_id = 789 # Integer | updateableAlertId
|
134
136
|
|
135
137
|
|
@@ -137,7 +139,7 @@ begin
|
|
137
139
|
#Disable alert rule
|
138
140
|
result = api_instance.disable_alert_rule_using_put(updateable_alert_id)
|
139
141
|
p result
|
140
|
-
rescue
|
142
|
+
rescue SematextCloud::ApiError => e
|
141
143
|
puts "Exception when calling AlertsApi->disable_alert_rule_using_put: #{e}"
|
142
144
|
end
|
143
145
|
```
|
@@ -158,29 +160,29 @@ end
|
|
158
160
|
|
159
161
|
### HTTP request headers
|
160
162
|
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
163
|
+
- **Content-Type**: Not defined
|
164
|
+
- **Accept**: application/json
|
165
165
|
|
166
166
|
# **enable_alert_rule_using_put**
|
167
|
+
|
167
168
|
> GenericMapBasedApiResponse enable_alert_rule_using_put(updateable_alert_id)
|
168
169
|
|
169
170
|
Enable alert rule
|
170
171
|
|
171
172
|
### Example
|
173
|
+
|
172
174
|
```ruby
|
173
175
|
# load the gem
|
174
|
-
require '
|
176
|
+
require 'SematextCloud'
|
175
177
|
# setup authorization
|
176
|
-
|
178
|
+
SematextCloud.configure do |config|
|
177
179
|
# Configure API key authorization: api_key
|
178
180
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
179
181
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
180
182
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
181
183
|
end
|
182
184
|
|
183
|
-
api_instance =
|
185
|
+
api_instance = SematextCloud::AlertsApi.new
|
184
186
|
updateable_alert_id = 789 # Integer | updateableAlertId
|
185
187
|
|
186
188
|
|
@@ -188,7 +190,7 @@ begin
|
|
188
190
|
#Enable alert rule
|
189
191
|
result = api_instance.enable_alert_rule_using_put(updateable_alert_id)
|
190
192
|
p result
|
191
|
-
rescue
|
193
|
+
rescue SematextCloud::ApiError => e
|
192
194
|
puts "Exception when calling AlertsApi->enable_alert_rule_using_put: #{e}"
|
193
195
|
end
|
194
196
|
```
|
@@ -209,38 +211,38 @@ end
|
|
209
211
|
|
210
212
|
### HTTP request headers
|
211
213
|
|
212
|
-
|
213
|
-
|
214
|
-
|
214
|
+
- **Content-Type**: Not defined
|
215
|
+
- **Accept**: application/json
|
215
216
|
|
217
|
+
# **get_alert_rules_for_app_using_get1**
|
216
218
|
|
217
|
-
|
218
|
-
> AlertRulesResponse get_alert_rules_for_app_using_get(app_id)
|
219
|
+
> AlertRulesResponse get_alert_rules_for_app_using_get1(app_id)
|
219
220
|
|
220
221
|
Get alert rules for an app
|
221
222
|
|
222
223
|
### Example
|
224
|
+
|
223
225
|
```ruby
|
224
226
|
# load the gem
|
225
|
-
require '
|
227
|
+
require 'SematextCloud'
|
226
228
|
# setup authorization
|
227
|
-
|
229
|
+
SematextCloud.configure do |config|
|
228
230
|
# Configure API key authorization: api_key
|
229
231
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
230
232
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
231
233
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
232
234
|
end
|
233
235
|
|
234
|
-
api_instance =
|
236
|
+
api_instance = SematextCloud::AlertsApi.new
|
235
237
|
app_id = 789 # Integer | appId
|
236
238
|
|
237
239
|
|
238
240
|
begin
|
239
241
|
#Get alert rules for an app
|
240
|
-
result = api_instance.
|
242
|
+
result = api_instance.get_alert_rules_for_app_using_get1(app_id)
|
241
243
|
p result
|
242
|
-
rescue
|
243
|
-
puts "Exception when calling AlertsApi->
|
244
|
+
rescue SematextCloud::ApiError => e
|
245
|
+
puts "Exception when calling AlertsApi->get_alert_rules_for_app_using_get1: #{e}"
|
244
246
|
end
|
245
247
|
```
|
246
248
|
|
@@ -260,5 +262,5 @@ end
|
|
260
262
|
|
261
263
|
### HTTP request headers
|
262
264
|
|
263
|
-
|
264
|
-
|
265
|
+
- **Content-Type**: Not defined
|
266
|
+
- **Accept**: application/json
|
data/docs/App.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::App
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| --------------------------- | --------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **ajax_threshold** | **Integer** | | [optional] |
|
data/docs/AppDescription.md
CHANGED
data/docs/AppMetadata.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AppMetadata
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ------------------------------ | ----------------------- | ---------------------------------------------------------- | ---------- |
|
6
7
|
| **aws_cloud_watch_access_key** | **String** | | [optional] |
|
data/docs/AppResponse.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AppResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | ------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**AppResponseEntry**](AppResponseEntry.md) | | [optional] |
|
data/docs/AppResponseEntry.md
CHANGED
data/docs/AppTypesResponse.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AppTypesResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | ----------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**AppTypesResponseEntry**](AppTypesResponseEntry.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::AppTypesResponseEntry
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ------------- | ----------------------- | ----------- | ---------- |
|
6
7
|
| **app_types** | **Array<String>** | | [optional] |
|