SematextCloud 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +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
data/docs/Subscription.md
CHANGED
@@ -1,20 +1,22 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::Subscription
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
|
6
|
-
|
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| --------------------- | ----------------------------------------- | ----------- | ---------- |
|
7
|
+
| **additional_params** | **String** | | [optional] |
|
8
|
+
| **addresses** | **String** | | [optional] |
|
9
|
+
| **created_by** | **String** | | [optional] |
|
10
|
+
| **dashboard_id** | **Integer** | | [optional] |
|
11
|
+
| **dashboard_name** | **String** | | [optional] |
|
12
|
+
| **enabled** | **BOOLEAN** | | [optional] |
|
13
|
+
| **filters** | **String** | | [optional] |
|
14
|
+
| **frequency** | **String** | | [optional] |
|
15
|
+
| **id** | **Integer** | | [optional] |
|
16
|
+
| **next_send_date** | **DateTime** | | [optional] |
|
17
|
+
| **subject** | **String** | | [optional] |
|
18
|
+
| **system_id** | **Integer** | | [optional] |
|
19
|
+
| **system_name** | **String** | | [optional] |
|
20
|
+
| **text** | **String** | | [optional] |
|
21
|
+
| **time_range** | **String** | | [optional] |
|
22
|
+
| **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
|
data/docs/SubscriptionDto.md
CHANGED
@@ -1,17 +1,19 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionDto
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
|
6
|
-
|
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| --------------------- | ----------------------------------------- | ----------- | ---------- |
|
7
|
+
| **additional_params** | **String** | | [optional] |
|
8
|
+
| **addresses** | **String** | | [optional] |
|
9
|
+
| **enable** | **BOOLEAN** | | [optional] |
|
10
|
+
| **filters** | **String** | | [optional] |
|
11
|
+
| **frequency** | **String** | | [optional] |
|
12
|
+
| **id** | **Integer** | | [optional] |
|
13
|
+
| **report_name** | **String** | | [optional] |
|
14
|
+
| **send_time** | **DateTime** | | [optional] |
|
15
|
+
| **subject** | **String** | | [optional] |
|
16
|
+
| **system_id** | **Integer** | | [optional] |
|
17
|
+
| **text** | **String** | | [optional] |
|
18
|
+
| **time_range** | **String** | | [optional] |
|
19
|
+
| **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | ------------------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**SubscriptionResponseEntry**](SubscriptionResponseEntry.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionResponseEntry
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ---------------- | ----------------------------------- | ----------- | ---------- |
|
6
7
|
| **subscription** | [**Subscription**](Subscription.md) | | [optional] |
|
data/docs/SubscriptionsApi.md
CHANGED
@@ -1,48 +1,50 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionsApi
|
2
2
|
|
3
3
|
All URIs are relative to */*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------- |
|
7
|
-
| [**
|
7
|
+
| [**create_for_app_using_post**](SubscriptionsApi.md#create_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
|
8
8
|
| [**create_for_dash_using_post1**](SubscriptionsApi.md#create_for_dash_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription |
|
9
|
-
| [**
|
9
|
+
| [**delete_using_delete2**](SubscriptionsApi.md#delete_using_delete2) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
|
10
10
|
| [**list_using_get3**](SubscriptionsApi.md#list_using_get3) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App |
|
11
11
|
| [**list_using_get5**](SubscriptionsApi.md#list_using_get5) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions |
|
12
12
|
| [**send_app_report_using_post**](SubscriptionsApi.md#send_app_report_using_post) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report |
|
13
13
|
| [**send_dash_report_using_post**](SubscriptionsApi.md#send_dash_report_using_post) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report |
|
14
14
|
| [**toggle_enabled_using_put1**](SubscriptionsApi.md#toggle_enabled_using_put1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status |
|
15
|
-
| [**
|
15
|
+
| [**update_for_app_using_put**](SubscriptionsApi.md#update_for_app_using_put) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
|
16
16
|
| [**update_for_dash_using_put1**](SubscriptionsApi.md#update_for_dash_using_put1) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription |
|
17
17
|
|
18
|
-
# **
|
19
|
-
|
18
|
+
# **create_for_app_using_post**
|
19
|
+
|
20
|
+
> SubscriptionResponse create_for_app_using_post(bodyapp_id)
|
20
21
|
|
21
22
|
Create App subscription
|
22
23
|
|
23
24
|
### Example
|
25
|
+
|
24
26
|
```ruby
|
25
27
|
# load the gem
|
26
|
-
require '
|
28
|
+
require 'SematextCloud'
|
27
29
|
# setup authorization
|
28
|
-
|
30
|
+
SematextCloud.configure do |config|
|
29
31
|
# Configure API key authorization: api_key
|
30
32
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
31
33
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
34
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
33
35
|
end
|
34
36
|
|
35
|
-
api_instance =
|
36
|
-
body =
|
37
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
38
|
+
body = SematextCloud::SubscriptionDto.new # SubscriptionDto | subscription
|
37
39
|
app_id = 789 # Integer | appId
|
38
40
|
|
39
41
|
|
40
42
|
begin
|
41
43
|
#Create App subscription
|
42
|
-
result = api_instance.
|
44
|
+
result = api_instance.create_for_app_using_post(bodyapp_id)
|
43
45
|
p result
|
44
|
-
rescue
|
45
|
-
puts "Exception when calling SubscriptionsApi->
|
46
|
+
rescue SematextCloud::ApiError => e
|
47
|
+
puts "Exception when calling SubscriptionsApi->create_for_app_using_post: #{e}"
|
46
48
|
end
|
47
49
|
```
|
48
50
|
|
@@ -63,30 +65,30 @@ end
|
|
63
65
|
|
64
66
|
### HTTP request headers
|
65
67
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
68
|
+
- **Content-Type**: application/json
|
69
|
+
- **Accept**: application/json
|
70
70
|
|
71
71
|
# **create_for_dash_using_post1**
|
72
|
+
|
72
73
|
> SubscriptionResponse create_for_dash_using_post1(bodydash_id)
|
73
74
|
|
74
75
|
Create dashboard subscription
|
75
76
|
|
76
77
|
### Example
|
78
|
+
|
77
79
|
```ruby
|
78
80
|
# load the gem
|
79
|
-
require '
|
81
|
+
require 'SematextCloud'
|
80
82
|
# setup authorization
|
81
|
-
|
83
|
+
SematextCloud.configure do |config|
|
82
84
|
# Configure API key authorization: api_key
|
83
85
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
84
86
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
85
87
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
86
88
|
end
|
87
89
|
|
88
|
-
api_instance =
|
89
|
-
body =
|
90
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
91
|
+
body = SematextCloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
|
90
92
|
dash_id = 789 # Integer | dashId
|
91
93
|
|
92
94
|
|
@@ -94,7 +96,7 @@ begin
|
|
94
96
|
#Create dashboard subscription
|
95
97
|
result = api_instance.create_for_dash_using_post1(bodydash_id)
|
96
98
|
p result
|
97
|
-
rescue
|
99
|
+
rescue SematextCloud::ApiError => e
|
98
100
|
puts "Exception when calling SubscriptionsApi->create_for_dash_using_post1: #{e}"
|
99
101
|
end
|
100
102
|
```
|
@@ -116,38 +118,38 @@ end
|
|
116
118
|
|
117
119
|
### HTTP request headers
|
118
120
|
|
119
|
-
|
120
|
-
|
121
|
-
|
121
|
+
- **Content-Type**: application/json
|
122
|
+
- **Accept**: application/json
|
122
123
|
|
124
|
+
# **delete_using_delete2**
|
123
125
|
|
124
|
-
|
125
|
-
> GenericMapBasedApiResponse delete_using_delete3(updateable_subscription_id)
|
126
|
+
> GenericMapBasedApiResponse delete_using_delete2(updateable_subscription_id)
|
126
127
|
|
127
128
|
Delete subscription
|
128
129
|
|
129
130
|
### Example
|
131
|
+
|
130
132
|
```ruby
|
131
133
|
# load the gem
|
132
|
-
require '
|
134
|
+
require 'SematextCloud'
|
133
135
|
# setup authorization
|
134
|
-
|
136
|
+
SematextCloud.configure do |config|
|
135
137
|
# Configure API key authorization: api_key
|
136
138
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
137
139
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
138
140
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
139
141
|
end
|
140
142
|
|
141
|
-
api_instance =
|
143
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
142
144
|
updateable_subscription_id = 789 # Integer | updateableSubscriptionId
|
143
145
|
|
144
146
|
|
145
147
|
begin
|
146
148
|
#Delete subscription
|
147
|
-
result = api_instance.
|
149
|
+
result = api_instance.delete_using_delete2(updateable_subscription_id)
|
148
150
|
p result
|
149
|
-
rescue
|
150
|
-
puts "Exception when calling SubscriptionsApi->
|
151
|
+
rescue SematextCloud::ApiError => e
|
152
|
+
puts "Exception when calling SubscriptionsApi->delete_using_delete2: #{e}"
|
151
153
|
end
|
152
154
|
```
|
153
155
|
|
@@ -167,29 +169,29 @@ end
|
|
167
169
|
|
168
170
|
### HTTP request headers
|
169
171
|
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
172
|
+
- **Content-Type**: Not defined
|
173
|
+
- **Accept**: application/json
|
174
174
|
|
175
175
|
# **list_using_get3**
|
176
|
+
|
176
177
|
> SubscriptionsResponse list_using_get3(app_id)
|
177
178
|
|
178
179
|
Get subscriptions for an App
|
179
180
|
|
180
181
|
### Example
|
182
|
+
|
181
183
|
```ruby
|
182
184
|
# load the gem
|
183
|
-
require '
|
185
|
+
require 'SematextCloud'
|
184
186
|
# setup authorization
|
185
|
-
|
187
|
+
SematextCloud.configure do |config|
|
186
188
|
# Configure API key authorization: api_key
|
187
189
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
188
190
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
189
191
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
190
192
|
end
|
191
193
|
|
192
|
-
api_instance =
|
194
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
193
195
|
app_id = 789 # Integer | appId
|
194
196
|
|
195
197
|
|
@@ -197,7 +199,7 @@ begin
|
|
197
199
|
#Get subscriptions for an App
|
198
200
|
result = api_instance.list_using_get3(app_id)
|
199
201
|
p result
|
200
|
-
rescue
|
202
|
+
rescue SematextCloud::ApiError => e
|
201
203
|
puts "Exception when calling SubscriptionsApi->list_using_get3: #{e}"
|
202
204
|
end
|
203
205
|
```
|
@@ -218,40 +220,41 @@ end
|
|
218
220
|
|
219
221
|
### HTTP request headers
|
220
222
|
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
223
|
+
- **Content-Type**: Not defined
|
224
|
+
- **Accept**: application/json
|
225
225
|
|
226
226
|
# **list_using_get5**
|
227
|
+
|
227
228
|
> SubscriptionsResponse list_using_get5
|
228
229
|
|
229
230
|
Get current account's subscriptions
|
230
231
|
|
231
232
|
### Example
|
233
|
+
|
232
234
|
```ruby
|
233
235
|
# load the gem
|
234
|
-
require '
|
236
|
+
require 'SematextCloud'
|
235
237
|
# setup authorization
|
236
|
-
|
238
|
+
SematextCloud.configure do |config|
|
237
239
|
# Configure API key authorization: api_key
|
238
240
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
239
241
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
240
242
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
241
243
|
end
|
242
244
|
|
243
|
-
api_instance =
|
245
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
244
246
|
|
245
247
|
begin
|
246
248
|
#Get current account's subscriptions
|
247
249
|
result = api_instance.list_using_get5
|
248
250
|
p result
|
249
|
-
rescue
|
251
|
+
rescue SematextCloud::ApiError => e
|
250
252
|
puts "Exception when calling SubscriptionsApi->list_using_get5: #{e}"
|
251
253
|
end
|
252
254
|
```
|
253
255
|
|
254
256
|
### Parameters
|
257
|
+
|
255
258
|
This endpoint does not need any parameter.
|
256
259
|
|
257
260
|
### Return type
|
@@ -264,30 +267,30 @@ This endpoint does not need any parameter.
|
|
264
267
|
|
265
268
|
### HTTP request headers
|
266
269
|
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
270
|
+
- **Content-Type**: Not defined
|
271
|
+
- **Accept**: application/json
|
271
272
|
|
272
273
|
# **send_app_report_using_post**
|
274
|
+
|
273
275
|
> MailReportResponse send_app_report_using_post(bodyapp_id)
|
274
276
|
|
275
277
|
Email an App report
|
276
278
|
|
277
279
|
### Example
|
280
|
+
|
278
281
|
```ruby
|
279
282
|
# load the gem
|
280
|
-
require '
|
283
|
+
require 'SematextCloud'
|
281
284
|
# setup authorization
|
282
|
-
|
285
|
+
SematextCloud.configure do |config|
|
283
286
|
# Configure API key authorization: api_key
|
284
287
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
285
288
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
286
289
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
287
290
|
end
|
288
291
|
|
289
|
-
api_instance =
|
290
|
-
body =
|
292
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
293
|
+
body = SematextCloud::ReportInfo.new # ReportInfo | emailDto
|
291
294
|
app_id = 789 # Integer | appId
|
292
295
|
|
293
296
|
|
@@ -295,7 +298,7 @@ begin
|
|
295
298
|
#Email an App report
|
296
299
|
result = api_instance.send_app_report_using_post(bodyapp_id)
|
297
300
|
p result
|
298
|
-
rescue
|
301
|
+
rescue SematextCloud::ApiError => e
|
299
302
|
puts "Exception when calling SubscriptionsApi->send_app_report_using_post: #{e}"
|
300
303
|
end
|
301
304
|
```
|
@@ -317,30 +320,30 @@ end
|
|
317
320
|
|
318
321
|
### HTTP request headers
|
319
322
|
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
323
|
+
- **Content-Type**: application/json
|
324
|
+
- **Accept**: application/json
|
324
325
|
|
325
326
|
# **send_dash_report_using_post**
|
327
|
+
|
326
328
|
> MailReportResponse send_dash_report_using_post(bodydash_id)
|
327
329
|
|
328
330
|
Email a dashboard report
|
329
331
|
|
330
332
|
### Example
|
333
|
+
|
331
334
|
```ruby
|
332
335
|
# load the gem
|
333
|
-
require '
|
336
|
+
require 'SematextCloud'
|
334
337
|
# setup authorization
|
335
|
-
|
338
|
+
SematextCloud.configure do |config|
|
336
339
|
# Configure API key authorization: api_key
|
337
340
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
338
341
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
339
342
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
340
343
|
end
|
341
344
|
|
342
|
-
api_instance =
|
343
|
-
body =
|
345
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
346
|
+
body = SematextCloud::ReportInfo.new # ReportInfo | emailDto
|
344
347
|
dash_id = 789 # Integer | dashId
|
345
348
|
|
346
349
|
|
@@ -348,7 +351,7 @@ begin
|
|
348
351
|
#Email a dashboard report
|
349
352
|
result = api_instance.send_dash_report_using_post(bodydash_id)
|
350
353
|
p result
|
351
|
-
rescue
|
354
|
+
rescue SematextCloud::ApiError => e
|
352
355
|
puts "Exception when calling SubscriptionsApi->send_dash_report_using_post: #{e}"
|
353
356
|
end
|
354
357
|
```
|
@@ -370,30 +373,30 @@ end
|
|
370
373
|
|
371
374
|
### HTTP request headers
|
372
375
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
376
|
+
- **Content-Type**: application/json
|
377
|
+
- **Accept**: application/json
|
377
378
|
|
378
379
|
# **toggle_enabled_using_put1**
|
380
|
+
|
379
381
|
> SubscriptionResponse toggle_enabled_using_put1(bodyupdateable_subscription_id)
|
380
382
|
|
381
383
|
Toggle subscription status
|
382
384
|
|
383
385
|
### Example
|
386
|
+
|
384
387
|
```ruby
|
385
388
|
# load the gem
|
386
|
-
require '
|
389
|
+
require 'SematextCloud'
|
387
390
|
# setup authorization
|
388
|
-
|
391
|
+
SematextCloud.configure do |config|
|
389
392
|
# Configure API key authorization: api_key
|
390
393
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
391
394
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
392
395
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
393
396
|
end
|
394
397
|
|
395
|
-
api_instance =
|
396
|
-
body =
|
398
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
399
|
+
body = SematextCloud::UpdateSubscriptionDto.new # UpdateSubscriptionDto | dto
|
397
400
|
updateable_subscription_id = 789 # Integer | updateableSubscriptionId
|
398
401
|
|
399
402
|
|
@@ -401,7 +404,7 @@ begin
|
|
401
404
|
#Toggle subscription status
|
402
405
|
result = api_instance.toggle_enabled_using_put1(bodyupdateable_subscription_id)
|
403
406
|
p result
|
404
|
-
rescue
|
407
|
+
rescue SematextCloud::ApiError => e
|
405
408
|
puts "Exception when calling SubscriptionsApi->toggle_enabled_using_put1: #{e}"
|
406
409
|
end
|
407
410
|
```
|
@@ -423,39 +426,39 @@ end
|
|
423
426
|
|
424
427
|
### HTTP request headers
|
425
428
|
|
426
|
-
|
427
|
-
|
429
|
+
- **Content-Type**: application/json
|
430
|
+
- **Accept**: application/json
|
428
431
|
|
432
|
+
# **update_for_app_using_put**
|
429
433
|
|
430
|
-
|
431
|
-
# **update_for_app_using_put1**
|
432
|
-
> SubscriptionResponse update_for_app_using_put1(bodyapp_id)
|
434
|
+
> SubscriptionResponse update_for_app_using_put(bodyapp_id)
|
433
435
|
|
434
436
|
Update App subscription
|
435
437
|
|
436
438
|
### Example
|
439
|
+
|
437
440
|
```ruby
|
438
441
|
# load the gem
|
439
|
-
require '
|
442
|
+
require 'SematextCloud'
|
440
443
|
# setup authorization
|
441
|
-
|
444
|
+
SematextCloud.configure do |config|
|
442
445
|
# Configure API key authorization: api_key
|
443
446
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
444
447
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
445
448
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
446
449
|
end
|
447
450
|
|
448
|
-
api_instance =
|
449
|
-
body =
|
451
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
452
|
+
body = SematextCloud::SubscriptionDto.new # SubscriptionDto | subscription
|
450
453
|
app_id = 789 # Integer | appId
|
451
454
|
|
452
455
|
|
453
456
|
begin
|
454
457
|
#Update App subscription
|
455
|
-
result = api_instance.
|
458
|
+
result = api_instance.update_for_app_using_put(bodyapp_id)
|
456
459
|
p result
|
457
|
-
rescue
|
458
|
-
puts "Exception when calling SubscriptionsApi->
|
460
|
+
rescue SematextCloud::ApiError => e
|
461
|
+
puts "Exception when calling SubscriptionsApi->update_for_app_using_put: #{e}"
|
459
462
|
end
|
460
463
|
```
|
461
464
|
|
@@ -476,30 +479,30 @@ end
|
|
476
479
|
|
477
480
|
### HTTP request headers
|
478
481
|
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
482
|
+
- **Content-Type**: application/json
|
483
|
+
- **Accept**: application/json
|
483
484
|
|
484
485
|
# **update_for_dash_using_put1**
|
486
|
+
|
485
487
|
> SubscriptionResponse update_for_dash_using_put1(bodydash_id)
|
486
488
|
|
487
489
|
Update dashboard subscription
|
488
490
|
|
489
491
|
### Example
|
492
|
+
|
490
493
|
```ruby
|
491
494
|
# load the gem
|
492
|
-
require '
|
495
|
+
require 'SematextCloud'
|
493
496
|
# setup authorization
|
494
|
-
|
497
|
+
SematextCloud.configure do |config|
|
495
498
|
# Configure API key authorization: api_key
|
496
499
|
config.api_key['Authorization'] = 'YOUR API KEY'
|
497
500
|
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
498
501
|
#config.api_key_prefix['Authorization'] = 'Bearer'
|
499
502
|
end
|
500
503
|
|
501
|
-
api_instance =
|
502
|
-
body =
|
504
|
+
api_instance = SematextCloud::SubscriptionsApi.new
|
505
|
+
body = SematextCloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
|
503
506
|
dash_id = 789 # Integer | dashId
|
504
507
|
|
505
508
|
|
@@ -507,7 +510,7 @@ begin
|
|
507
510
|
#Update dashboard subscription
|
508
511
|
result = api_instance.update_for_dash_using_put1(bodydash_id)
|
509
512
|
p result
|
510
|
-
rescue
|
513
|
+
rescue SematextCloud::ApiError => e
|
511
514
|
puts "Exception when calling SubscriptionsApi->update_for_dash_using_put1: #{e}"
|
512
515
|
end
|
513
516
|
```
|
@@ -529,5 +532,5 @@ end
|
|
529
532
|
|
530
533
|
### HTTP request headers
|
531
534
|
|
532
|
-
|
533
|
-
|
535
|
+
- **Content-Type**: application/json
|
536
|
+
- **Accept**: application/json
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionsResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------- | --------------------------------------------------------------- | ----------- | ---------- |
|
6
7
|
| **data** | [**SubscriptionsResponseEntry**](SubscriptionsResponseEntry.md) | | [optional] |
|
@@ -1,6 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# SematextCloud::SubscriptionsResponseEntry
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ----------------- | ------------------------------------------------ | ----------- | ---------- |
|
6
7
|
| **subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional] |
|