SematextCloud 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (285) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/README.md +43 -54
  4. data/SematextCloud.gemspec +0 -6
  5. data/docs/AlertNotification.md +12 -0
  6. data/docs/AlertNotificationRequest.md +1 -1
  7. data/docs/AlertNotificationsApi.md +33 -37
  8. data/docs/AlertRule.md +1 -1
  9. data/docs/AlertRuleResponse.md +9 -0
  10. data/docs/AlertRuleResponseEntry.md +6 -0
  11. data/docs/AlertRuleScheduleTimeRangeDto.md +1 -1
  12. data/docs/AlertRuleScheduleWeekdayDto.md +1 -1
  13. data/docs/AlertRulesResponse.md +9 -0
  14. data/docs/AlertRulesResponseEntry.md +6 -0
  15. data/docs/AlertsApi.md +41 -47
  16. data/docs/App.md +2 -1
  17. data/docs/AppDescription.md +1 -1
  18. data/docs/AppMetadata.md +1 -1
  19. data/docs/AppResponse.md +9 -0
  20. data/docs/AppResponseEntry.md +6 -0
  21. data/docs/AppTypesResponse.md +9 -0
  22. data/docs/AppTypesResponseEntry.md +6 -0
  23. data/docs/AppsApi.md +126 -81
  24. data/docs/AppsResponse.md +9 -0
  25. data/docs/AppsResponseEntry.md +6 -0
  26. data/docs/AwsSettingsControllerApi.md +16 -19
  27. data/docs/BasicAuthMethodDto.md +1 -1
  28. data/docs/BasicOrganizationDto.md +1 -1
  29. data/docs/BillingApi.md +35 -42
  30. data/docs/BillingInfo.md +1 -1
  31. data/docs/ChargesDetailsResponseDto.md +12 -0
  32. data/docs/CloudWatchSettings.md +1 -1
  33. data/docs/CloudWatchSettingsResponse.md +9 -0
  34. data/docs/CloudWatchSettingsResponseEntry.md +6 -0
  35. data/docs/CreateAppInfo.md +8 -8
  36. data/docs/CreateTokenDto.md +1 -0
  37. data/docs/DailyDto.md +9 -0
  38. data/docs/DayUsageData.md +26 -0
  39. data/docs/Dimension.md +7 -0
  40. data/docs/Error.md +1 -1
  41. data/docs/EventDto.md +8 -0
  42. data/docs/FilterValue.md +1 -1
  43. data/docs/GenericApiResponse.md +7 -7
  44. data/docs/GenericMapBasedApiResponse.md +9 -0
  45. data/docs/Invitation.md +2 -2
  46. data/docs/Invoice.md +11 -0
  47. data/docs/InvoiceResponse.md +9 -0
  48. data/docs/InvoiceResponseEntry.md +6 -0
  49. data/docs/LimitChangeEventDTO.md +8 -0
  50. data/docs/LogsAppApi.md +13 -15
  51. data/docs/LogsUsageApiControllerApi.md +60 -0
  52. data/docs/MailReportResponse.md +9 -0
  53. data/docs/MailReportResponseResponseEntry.md +6 -0
  54. data/docs/MinPeriodFeePeriod.md +16 -0
  55. data/docs/MonitoringAppApi.md +13 -15
  56. data/docs/NotificationIntegration.md +1 -1
  57. data/docs/NotificationsResponse.md +9 -0
  58. data/docs/NotificationsResponseEntry.md +8 -0
  59. data/docs/Plan.md +16 -16
  60. data/docs/PlansResponse.md +9 -0
  61. data/docs/PlansResponseEntry.md +6 -0
  62. data/docs/ReportInfo.md +1 -1
  63. data/docs/ResetPasswordApi.md +13 -15
  64. data/docs/ServiceIntegration.md +1 -1
  65. data/docs/Subscription.md +20 -0
  66. data/docs/SubscriptionResponse.md +9 -0
  67. data/docs/SubscriptionResponseEntry.md +6 -0
  68. data/docs/SubscriptionsApi.md +93 -110
  69. data/docs/SubscriptionsResponse.md +9 -0
  70. data/docs/SubscriptionsResponseEntry.md +6 -0
  71. data/docs/TagApiControllerApi.md +30 -39
  72. data/docs/TagNamesResponse.md +6 -0
  73. data/docs/TokenDto.md +12 -0
  74. data/docs/TokenResponse.md +9 -0
  75. data/docs/TokenResponseEntry.md +6 -0
  76. data/docs/TokensApiControllerApi.md +36 -47
  77. data/docs/TokensResponse.md +9 -0
  78. data/docs/TokensResponseEntry.md +6 -0
  79. data/docs/UpdateAppInfo.md +2 -2
  80. data/docs/UpdatePlanResponse.md +9 -0
  81. data/docs/UpdatePlanResponseDto.md +7 -0
  82. data/docs/UpdatePlanResponseEntry.md +6 -0
  83. data/docs/UpdateTokenDto.md +1 -0
  84. data/docs/UsageDto.md +16 -0
  85. data/docs/UsageMultiResponse.md +9 -0
  86. data/docs/UsageMultiResponseEntry.md +6 -0
  87. data/docs/UsageResponse.md +9 -0
  88. data/docs/UsageResponseEntry.md +6 -0
  89. data/docs/UserInfo.md +1 -1
  90. data/docs/UserPermissions.md +1 -1
  91. data/docs/UserRole.md +1 -1
  92. data/lib/SematextCloud/api/tokens_api_controller_api.rb +30 -30
  93. data/lib/SematextCloud/models/create_token_dto.rb +10 -1
  94. data/lib/SematextCloud/models/update_token_dto.rb +13 -4
  95. data/lib/SematextCloud/version.rb +1 -1
  96. data/lib/stcloud.rb +128 -0
  97. data/lib/stcloud/api/alert_notifications_api.rb +142 -0
  98. data/lib/stcloud/api/alerts_api.rb +292 -0
  99. data/lib/stcloud/api/apps_api.rb +452 -0
  100. data/lib/stcloud/api/aws_settings_controller_api.rb +84 -0
  101. data/lib/stcloud/api/billing_api.rb +202 -0
  102. data/lib/stcloud/api/logs_app_api.rb +76 -0
  103. data/lib/stcloud/api/logs_usage_api_controller_api.rb +86 -0
  104. data/lib/stcloud/api/monitoring_app_api.rb +76 -0
  105. data/lib/stcloud/api/reset_password_api.rb +76 -0
  106. data/lib/stcloud/api/subscriptions_api.rb +610 -0
  107. data/lib/stcloud/api/tag_api_controller_api.rb +250 -0
  108. data/lib/stcloud/api/tokens_api_controller_api.rb +324 -0
  109. data/lib/stcloud/api_client.rb +388 -0
  110. data/lib/stcloud/api_error.rb +57 -0
  111. data/lib/stcloud/configuration.rb +205 -0
  112. data/lib/stcloud/models/alert_notification.rb +260 -0
  113. data/lib/stcloud/models/alert_notification_request.rb +235 -0
  114. data/lib/stcloud/models/alert_rule.rb +675 -0
  115. data/lib/stcloud/models/alert_rule_response.rb +235 -0
  116. data/lib/stcloud/models/alert_rule_response_entry.rb +206 -0
  117. data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +215 -0
  118. data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +244 -0
  119. data/lib/stcloud/models/alert_rules_response.rb +235 -0
  120. data/lib/stcloud/models/alert_rules_response_entry.rb +208 -0
  121. data/lib/stcloud/models/app.rb +489 -0
  122. data/lib/stcloud/models/app_description.rb +206 -0
  123. data/lib/stcloud/models/app_metadata.rb +291 -0
  124. data/lib/stcloud/models/app_response.rb +235 -0
  125. data/lib/stcloud/models/app_response_entry.rb +206 -0
  126. data/lib/stcloud/models/app_types_response.rb +235 -0
  127. data/lib/stcloud/models/app_types_response_entry.rb +208 -0
  128. data/lib/stcloud/models/apps_response.rb +235 -0
  129. data/lib/stcloud/models/apps_response_entry.rb +208 -0
  130. data/lib/stcloud/models/basic_auth_method_dto.rb +249 -0
  131. data/lib/stcloud/models/basic_organization_dto.rb +269 -0
  132. data/lib/stcloud/models/billing_info.rb +224 -0
  133. data/lib/stcloud/models/charges_details_response_dto.rb +298 -0
  134. data/lib/stcloud/models/cloud_watch_settings.rb +279 -0
  135. data/lib/stcloud/models/cloud_watch_settings_response.rb +235 -0
  136. data/lib/stcloud/models/cloud_watch_settings_response_entry.rb +206 -0
  137. data/lib/stcloud/models/create_app_info.rb +242 -0
  138. data/lib/stcloud/models/create_token_dto.rb +224 -0
  139. data/lib/stcloud/models/daily_dto.rb +233 -0
  140. data/lib/stcloud/models/day_usage_data.rb +411 -0
  141. data/lib/stcloud/models/dimension.rb +227 -0
  142. data/lib/stcloud/models/error.rb +215 -0
  143. data/lib/stcloud/models/event_dto.rb +258 -0
  144. data/lib/stcloud/models/filter_value.rb +253 -0
  145. data/lib/stcloud/models/generic_api_response.rb +236 -0
  146. data/lib/stcloud/models/generic_map_based_api_response.rb +236 -0
  147. data/lib/stcloud/models/invitation.rb +348 -0
  148. data/lib/stcloud/models/invoice.rb +253 -0
  149. data/lib/stcloud/models/invoice_response.rb +235 -0
  150. data/lib/stcloud/models/invoice_response_entry.rb +206 -0
  151. data/lib/stcloud/models/limit_change_event_dto.rb +224 -0
  152. data/lib/stcloud/models/mail_report_response.rb +235 -0
  153. data/lib/stcloud/models/mail_report_response_response_entry.rb +206 -0
  154. data/lib/stcloud/models/min_period_fee_period.rb +296 -0
  155. data/lib/stcloud/models/notification_integration.rb +347 -0
  156. data/lib/stcloud/models/notifications_response.rb +235 -0
  157. data/lib/stcloud/models/notifications_response_entry.rb +226 -0
  158. data/lib/stcloud/models/plan.rb +360 -0
  159. data/lib/stcloud/models/plans_response.rb +235 -0
  160. data/lib/stcloud/models/plans_response_entry.rb +208 -0
  161. data/lib/stcloud/models/report_info.rb +270 -0
  162. data/lib/stcloud/models/service_integration.rb +305 -0
  163. data/lib/stcloud/models/subscription.rb +378 -0
  164. data/lib/stcloud/models/subscription_dashboard_dto.rb +342 -0
  165. data/lib/stcloud/models/subscription_dto.rb +351 -0
  166. data/lib/stcloud/models/subscription_response.rb +235 -0
  167. data/lib/stcloud/models/subscription_response_entry.rb +206 -0
  168. data/lib/stcloud/models/subscriptions_response.rb +235 -0
  169. data/lib/stcloud/models/subscriptions_response_entry.rb +208 -0
  170. data/lib/stcloud/models/tag_names_response.rb +213 -0
  171. data/lib/stcloud/models/token_dto.rb +260 -0
  172. data/lib/stcloud/models/token_response.rb +235 -0
  173. data/lib/stcloud/models/token_response_entry.rb +206 -0
  174. data/lib/stcloud/models/tokens_response.rb +235 -0
  175. data/lib/stcloud/models/tokens_response_entry.rb +208 -0
  176. data/lib/stcloud/models/update_app_info.rb +312 -0
  177. data/lib/stcloud/models/update_plan_response.rb +235 -0
  178. data/lib/stcloud/models/update_plan_response_dto.rb +217 -0
  179. data/lib/stcloud/models/update_plan_response_entry.rb +206 -0
  180. data/lib/stcloud/models/update_subscription_dto.rb +206 -0
  181. data/lib/stcloud/models/update_token_dto.rb +215 -0
  182. data/lib/stcloud/models/usage_dto.rb +302 -0
  183. data/lib/stcloud/models/usage_multi_response.rb +235 -0
  184. data/lib/stcloud/models/usage_multi_response_entry.rb +206 -0
  185. data/lib/stcloud/models/usage_response.rb +235 -0
  186. data/lib/stcloud/models/usage_response_entry.rb +206 -0
  187. data/lib/stcloud/models/user_info.rb +206 -0
  188. data/lib/stcloud/models/user_permissions.rb +224 -0
  189. data/lib/stcloud/models/user_role.rb +270 -0
  190. data/lib/stcloud/version.rb +14 -0
  191. data/spec/api/alert_notifications_api_spec.rb +12 -13
  192. data/spec/api/alerts_api_spec.rb +10 -11
  193. data/spec/api/apps_api_spec.rb +31 -21
  194. data/spec/api/aws_settings_controller_api_spec.rb +9 -10
  195. data/spec/api/billing_api_spec.rb +12 -13
  196. data/spec/api/logs_app_api_spec.rb +6 -7
  197. data/spec/api/logs_usage_api_controller_api_spec.rb +47 -0
  198. data/spec/api/monitoring_app_api_spec.rb +6 -7
  199. data/spec/api/reset_password_api_spec.rb +6 -7
  200. data/spec/api/subscriptions_api_spec.rb +106 -14
  201. data/spec/api/tag_api_controller_api_spec.rb +11 -12
  202. data/spec/api/tokens_api_controller_api_spec.rb +15 -16
  203. data/spec/api_client_spec.rb +30 -31
  204. data/spec/base_object_spec.rb +109 -0
  205. data/spec/configuration_spec.rb +7 -8
  206. data/spec/models/alert_notification_request_spec.rb +1 -2
  207. data/spec/models/alert_notification_spec.rb +76 -0
  208. data/spec/models/alert_rule_response_entry_spec.rb +40 -0
  209. data/spec/models/alert_rule_response_spec.rb +58 -0
  210. data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +1 -2
  211. data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +1 -2
  212. data/spec/models/alert_rule_spec.rb +1 -2
  213. data/spec/models/alert_rules_response_entry_spec.rb +40 -0
  214. data/spec/models/alert_rules_response_spec.rb +58 -0
  215. data/spec/models/app_description_spec.rb +1 -2
  216. data/spec/models/app_metadata_spec.rb +1 -2
  217. data/spec/models/app_response_entry_spec.rb +40 -0
  218. data/spec/models/app_response_spec.rb +58 -0
  219. data/spec/models/app_spec.rb +31 -2
  220. data/spec/models/app_types_response_entry_spec.rb +40 -0
  221. data/spec/models/app_types_response_spec.rb +58 -0
  222. data/spec/models/apps_response_entry_spec.rb +40 -0
  223. data/spec/models/apps_response_spec.rb +58 -0
  224. data/spec/models/basic_auth_method_dto_spec.rb +1 -2
  225. data/spec/models/basic_organization_dto_spec.rb +1 -2
  226. data/spec/models/billing_info_spec.rb +1 -2
  227. data/spec/models/charges_details_response_dto_spec.rb +80 -0
  228. data/spec/models/cloud_watch_settings_response_entry_spec.rb +40 -0
  229. data/spec/models/cloud_watch_settings_response_spec.rb +58 -0
  230. data/spec/models/cloud_watch_settings_spec.rb +1 -2
  231. data/spec/models/create_app_info_spec.rb +1 -2
  232. data/spec/models/create_token_dto_spec.rb +7 -2
  233. data/spec/models/daily_dto_spec.rb +58 -0
  234. data/spec/models/day_usage_data_spec.rb +158 -0
  235. data/spec/models/dimension_spec.rb +46 -0
  236. data/spec/models/error_spec.rb +1 -2
  237. data/spec/models/event_dto_spec.rb +56 -0
  238. data/spec/models/filter_value_spec.rb +1 -2
  239. data/spec/models/generic_api_response_spec.rb +1 -2
  240. data/spec/models/generic_map_based_api_response_spec.rb +58 -0
  241. data/spec/models/invitation_spec.rb +1 -2
  242. data/spec/models/invoice_response_entry_spec.rb +40 -0
  243. data/spec/models/invoice_response_spec.rb +58 -0
  244. data/spec/models/invoice_spec.rb +70 -0
  245. data/spec/models/limit_change_event_dto_spec.rb +52 -0
  246. data/spec/models/mail_report_response_response_entry_spec.rb +40 -0
  247. data/spec/models/mail_report_response_spec.rb +58 -0
  248. data/spec/models/min_period_fee_period_spec.rb +100 -0
  249. data/spec/models/notification_integration_spec.rb +1 -2
  250. data/spec/models/notifications_response_entry_spec.rb +52 -0
  251. data/spec/models/notifications_response_spec.rb +58 -0
  252. data/spec/models/plan_spec.rb +2 -3
  253. data/spec/models/plans_response_entry_spec.rb +40 -0
  254. data/spec/models/plans_response_spec.rb +58 -0
  255. data/spec/models/report_info_spec.rb +1 -2
  256. data/spec/models/service_integration_spec.rb +1 -2
  257. data/spec/models/subscription_dashboard_dto_spec.rb +1 -2
  258. data/spec/models/subscription_dto_spec.rb +1 -2
  259. data/spec/models/subscription_response_entry_spec.rb +40 -0
  260. data/spec/models/subscription_response_spec.rb +58 -0
  261. data/spec/models/subscription_spec.rb +132 -0
  262. data/spec/models/subscriptions_response_entry_spec.rb +40 -0
  263. data/spec/models/subscriptions_response_spec.rb +58 -0
  264. data/spec/models/tag_names_response_spec.rb +40 -0
  265. data/spec/models/token_dto_spec.rb +76 -0
  266. data/spec/models/token_response_entry_spec.rb +40 -0
  267. data/spec/models/token_response_spec.rb +58 -0
  268. data/spec/models/tokens_response_entry_spec.rb +40 -0
  269. data/spec/models/tokens_response_spec.rb +58 -0
  270. data/spec/models/update_app_info_spec.rb +1 -2
  271. data/spec/models/update_plan_response_dto_spec.rb +46 -0
  272. data/spec/models/update_plan_response_entry_spec.rb +40 -0
  273. data/spec/models/update_plan_response_spec.rb +58 -0
  274. data/spec/models/update_subscription_dto_spec.rb +1 -2
  275. data/spec/models/update_token_dto_spec.rb +7 -2
  276. data/spec/models/usage_dto_spec.rb +100 -0
  277. data/spec/models/usage_multi_response_entry_spec.rb +40 -0
  278. data/spec/models/usage_multi_response_spec.rb +58 -0
  279. data/spec/models/usage_response_entry_spec.rb +40 -0
  280. data/spec/models/usage_response_spec.rb +58 -0
  281. data/spec/models/user_info_spec.rb +1 -2
  282. data/spec/models/user_permissions_spec.rb +1 -2
  283. data/spec/models/user_role_spec.rb +1 -2
  284. data/spec/spec_helper.rb +2 -3
  285. metadata +281 -154
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49a826d17e7dd9e2ec88f122819f742fe82fe39cacb9af1ec534d190151be1c9
4
- data.tar.gz: 0b249455b7b3bbe56034869e29e45a1b865bcf5e47ccb18c9025aa6d4af5422a
3
+ metadata.gz: 9026068698c45920f29bb6292838c4c45a91a11c22db473599918c8b52a71df7
4
+ data.tar.gz: 0e4b0d09539f06336dc774620c6b0494900a7efeb25e4b160fdb190a3e1f28e0
5
5
  SHA512:
6
- metadata.gz: 48eac8f1f318af60841cd5315c746844973bf260d425ff1886a09bae6ddc81808e751021a4cf4c37606c879e5446d56fc7d237c2abcb88d883afa51f2efb9ddd
7
- data.tar.gz: 8edb5bf621a028ee0bbc2d942f4c5e635ab54f4fe705a3e4bb6b5ef7aaa33e93b5e1c415518cda55ca9fcbec5bd0ea6aebe737169bfcd1a0b3c03882a632ce48
6
+ metadata.gz: 37ae9131a7bebeabcf98692deff43d8e8700a5219b5fb31147b7dea04cc20df45063b1f0a6dd5f4309aea7e6690699f580f2aae0b48f630ff4817790b10bcd1d
7
+ data.tar.gz: 48c2f7bf877d0d8ccda82592785b78d031d60cfe850ef04c1f5cdf53b957b7fc7b1cec42b3e0e7141ed1a10146a27b5b472953e360bdd310732c0c62eaa4e21e
data/Gemfile CHANGED
@@ -3,5 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.3.3'
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
7
9
  end
data/README.md CHANGED
@@ -33,7 +33,7 @@ Refer to below link for deeper information on the API itself.
33
33
 
34
34
  ## Contents
35
35
 
36
- - [<img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>**&nbsp;&nbsp;sematext-api-client-ruby**](#img-srchttpssematextcomwp-contentuploads202009just-octi-bluepng-valignbottom-width60pxsematext-api-client-ruby)
36
+ - [<img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>**&nbsp;&nbsp;sematext-api-client-ruby**](#sematext-api-client-ruby)
37
37
  - [Contents](#contents)
38
38
  - [Installation](#installation)
39
39
  - [Build a gem](#build-a-gem)
@@ -124,56 +124,48 @@ end
124
124
 
125
125
  All URIs are relative to *https://localhost*
126
126
 
127
- | Class | Method | HTTP request | Description |
128
- | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
129
- | *stcloud::AlertNotificationsApi* | [**get_alert_notifications_for_app_using_post1**](docs/AlertNotificationsApi.md#get_alert_notifications_for_app_using_post1) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
130
- | *stcloud::AlertNotificationsApi* | [**get_alert_notifications_for_user_using_post**](docs/AlertNotificationsApi.md#get_alert_notifications_for_user_using_post) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
131
- | *stcloud::AlertsApi* | [**create_alert_using_post1**](docs/AlertsApi.md#create_alert_using_post1) | **POST** /users-web/api/v3/alerts | Create alert rule |
132
- | *stcloud::AlertsApi* | [**delete_alert_rule_using_delete1**](docs/AlertsApi.md#delete_alert_rule_using_delete1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
133
- | *stcloud::AlertsApi* | [**disable_alert_rule_using_put**](docs/AlertsApi.md#disable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
134
- | *stcloud::AlertsApi* | [**enable_alert_rule_using_put1**](docs/AlertsApi.md#enable_alert_rule_using_put1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
135
- | *stcloud::AlertsApi* | [**get_alert_rules_for_app_using_get1**](docs/AlertsApi.md#get_alert_rules_for_app_using_get1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
136
- | *stcloud::AppsApi* | [**delete_using_delete**](docs/AppsApi.md#delete_using_delete) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
137
- | *stcloud::AppsApi* | [**get_app_types_using_get1**](docs/AppsApi.md#get_app_types_using_get1) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey |
138
- | *stcloud::AppsApi* | [**get_using_get**](docs/AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
139
- | *stcloud::AppsApi* | [**invite_app_guests_using_post**](docs/AppsApi.md#invite_app_guests_using_post) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
140
- | *stcloud::AppsApi* | [**list_apps_users_using_get**](docs/AppsApi.md#list_apps_users_using_get) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
141
- | *stcloud::AppsApi* | [**list_using_get1**](docs/AppsApi.md#list_using_get1) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
142
- | *stcloud::AppsApi* | [**update_description_using_put**](docs/AppsApi.md#update_description_using_put) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
143
- | *stcloud::AppsApi* | [**update_using_put3**](docs/AppsApi.md#update_using_put3) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
144
- | *stcloud::AwsSettingsControllerApi* | [**update_using_put**](docs/AwsSettingsControllerApi.md#update_using_put) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
145
- | *stcloud::BillingApi* | [**get_detailed_invoice_using_get1**](docs/BillingApi.md#get_detailed_invoice_using_get1) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
146
- | *stcloud::BillingApi* | [**list_available_plans_using_get1**](docs/BillingApi.md#list_available_plans_using_get1) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
147
- | *stcloud::BillingApi* | [**update_plan_using_put**](docs/BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
148
- | *stcloud::LogsAppApi* | [**create_logsene_application**](docs/LogsAppApi.md#create_logsene_application) | **POST** /logsene-reports/api/v3/apps | Create Logs App |
149
- | *stcloud::MetricsApi* | [**list_data_series_using_post1**](docs/MetricsApi.md#list_data_series_using_post1) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/data | Get metrics data points for an app |
150
- | *stcloud::MetricsApi* | [**list_filters_using_post1**](docs/MetricsApi.md#list_filters_using_post1) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/filters | Get metrics filters and their values for an app |
151
- | *stcloud::MetricsApi* | [**list_metrics_keys_using_get1**](docs/MetricsApi.md#list_metrics_keys_using_get1) | **GET** /spm-reports/api/v3/apps/{appId}/metrics/keys | Get metrics keys for an app |
152
- | *stcloud::MetricsApi* | [**list_metrics_using_get**](docs/MetricsApi.md#list_metrics_using_get) | **GET** /spm-reports/api/v3/apps/{appId}/metrics | Get metrics info for an app |
153
- | *stcloud::MonitoringAppApi* | [**create_spm_application**](docs/MonitoringAppApi.md#create_spm_application) | **POST** /spm-reports/api/v3/apps | Create Monitoring App |
154
- | *stcloud::ResetPasswordApi* | [**reset_password_using_post1**](docs/ResetPasswordApi.md#reset_password_using_post1) | **POST** /users-web/api/v3/account/password/reset | Reset Password |
155
- | *stcloud::SavedQueriesApi* | [**delete_saved_query_using_delete**](docs/SavedQueriesApi.md#delete_saved_query_using_delete) | **DELETE** /users-web/api/v3/savedQueries/{updateableQueryId} | Delete saved query |
156
- | *stcloud::SavedQueriesApi* | [**get_saved_queries_for_app_using_get**](docs/SavedQueriesApi.md#get_saved_queries_for_app_using_get) | **GET** /users-web/api/v3/apps/{appId}/savedQueries | Get saved queries for an app |
157
- | *stcloud::SavedQueriesApi* | [**save_query_using_post**](docs/SavedQueriesApi.md#save_query_using_post) | **POST** /users-web/api/v3/savedQueries | Create saved query |
158
- | *stcloud::SavedQueriesApi* | [**save_query_using_put**](docs/SavedQueriesApi.md#save_query_using_put) | **PUT** /users-web/api/v3/savedQueries/{updateableQueryId} | Update saved query |
159
- | *stcloud::SubscriptionsApi* | [**create_for_app_using_post**](docs/SubscriptionsApi.md#create_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
160
- | *stcloud::SubscriptionsApi* | [**create_for_dash_using_post1**](docs/SubscriptionsApi.md#create_for_dash_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription |
161
- | *stcloud::SubscriptionsApi* | [**delete_using_delete2**](docs/SubscriptionsApi.md#delete_using_delete2) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
162
- | *stcloud::SubscriptionsApi* | [**list_using_get2**](docs/SubscriptionsApi.md#list_using_get2) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App |
163
- | *stcloud::SubscriptionsApi* | [**list_using_get5**](docs/SubscriptionsApi.md#list_using_get5) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions |
164
- | *stcloud::SubscriptionsApi* | [**send_app_report_using_post1**](docs/SubscriptionsApi.md#send_app_report_using_post1) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report |
165
- | *stcloud::SubscriptionsApi* | [**send_dash_report_using_post1**](docs/SubscriptionsApi.md#send_dash_report_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report |
166
- | *stcloud::SubscriptionsApi* | [**toggle_enabled_using_put1**](docs/SubscriptionsApi.md#toggle_enabled_using_put1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status |
167
- | *stcloud::SubscriptionsApi* | [**update_for_app_using_put1**](docs/SubscriptionsApi.md#update_for_app_using_put1) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
168
- | *stcloud::SubscriptionsApi* | [**update_for_dash_using_put**](docs/SubscriptionsApi.md#update_for_dash_using_put) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription |
169
- | *stcloud::TagApiControllerApi* | [**get_tag_names_using_get**](docs/TagApiControllerApi.md#get_tag_names_using_get) | **GET** /spm-reports/api/v3/apps/{appIds}/tagNames | Gets tag names for the given application identifiers appearing in the given time frame. |
170
- | *stcloud::TagApiControllerApi* | [**get_using_get2**](docs/TagApiControllerApi.md#get_using_get2) | **GET** /spm-reports/api/v3/apps/{appIds}/metrics/filters | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
171
- | *stcloud::TagApiControllerApi* | [**get_using_get3**](docs/TagApiControllerApi.md#get_using_get3) | **GET** /spm-reports/api/v3/apps/{appIds}/tags | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
172
- | *stcloud::TokensApiControllerApi* | [**create_app_token**](docs/TokensApiControllerApi.md#create_app_token) | **POST** /users-web/api/v3/apps/{appId}/tokens | Create new app token |
173
- | *stcloud::TokensApiControllerApi* | [**delete_app_token1**](docs/TokensApiControllerApi.md#delete_app_token1) | **DELETE** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Delete app token |
174
- | *stcloud::TokensApiControllerApi* | [**get_app_tokens1**](docs/TokensApiControllerApi.md#get_app_tokens1) | **GET** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens |
175
- | *stcloud::TokensApiControllerApi* | [**regenerate_app_token**](docs/TokensApiControllerApi.md#regenerate_app_token) | **POST** /users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate | Regenerate app token) |
176
- | *stcloud::TokensApiControllerApi* | [**update_app_token1**](docs/TokensApiControllerApi.md#update_app_token1) | **PUT** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable) |
127
+ | Class | Method | HTTP request | Description |
128
+ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
129
+ | *stcloud::AlertNotificationsApi* | [**get_alert_notifications_for_app_using_post**](docs/AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
130
+ | *stcloud::AlertNotificationsApi* | [**get_alert_notifications_for_user_using_post1**](docs/AlertNotificationsApi.md#get_alert_notifications_for_user_using_post1) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
131
+ | *stcloud::AlertsApi* | [**create_alert_using_post**](docs/AlertsApi.md#create_alert_using_post) | **POST** /users-web/api/v3/alerts | Create alert rule |
132
+ | *stcloud::AlertsApi* | [**delete_alert_rule_using_delete1**](docs/AlertsApi.md#delete_alert_rule_using_delete1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
133
+ | *stcloud::AlertsApi* | [**disable_alert_rule_using_put1**](docs/AlertsApi.md#disable_alert_rule_using_put1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
134
+ | *stcloud::AlertsApi* | [**enable_alert_rule_using_put1**](docs/AlertsApi.md#enable_alert_rule_using_put1) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
135
+ | *stcloud::AlertsApi* | [**get_alert_rules_for_app_using_get1**](docs/AlertsApi.md#get_alert_rules_for_app_using_get1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
136
+ | *stcloud::AppsApi* | [**delete_using_delete1**](docs/AppsApi.md#delete_using_delete1) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
137
+ | *stcloud::AppsApi* | [**get_app_types_using_get**](docs/AppsApi.md#get_app_types_using_get) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey |
138
+ | *stcloud::AppsApi* | [**get_using_get1**](docs/AppsApi.md#get_using_get1) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
139
+ | *stcloud::AppsApi* | [**invite_app_guests_using_post1**](docs/AppsApi.md#invite_app_guests_using_post1) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
140
+ | *stcloud::AppsApi* | [**list_apps_users_using_get1**](docs/AppsApi.md#list_apps_users_using_get1) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
141
+ | *stcloud::AppsApi* | [**list_using_get**](docs/AppsApi.md#list_using_get) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
142
+ | *stcloud::AppsApi* | [**update_description_using_put**](docs/AppsApi.md#update_description_using_put) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
143
+ | *stcloud::AppsApi* | [**update_using_put2**](docs/AppsApi.md#update_using_put2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
144
+ | *stcloud::AwsSettingsControllerApi* | [**update_using_put**](docs/AwsSettingsControllerApi.md#update_using_put) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
145
+ | *stcloud::BillingApi* | [**get_detailed_invoice_using_get1**](docs/BillingApi.md#get_detailed_invoice_using_get1) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
146
+ | *stcloud::BillingApi* | [**list_available_plans_using_get**](docs/BillingApi.md#list_available_plans_using_get) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
147
+ | *stcloud::BillingApi* | [**update_plan_using_put**](docs/BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
148
+ | *stcloud::LogsAppApi* | [**create_logsene_application**](docs/LogsAppApi.md#create_logsene_application) | **POST** /logsene-reports/api/v3/apps | Create Logs App |
149
+ | *stcloud::MonitoringAppApi* | [**create_spm_application1**](docs/MonitoringAppApi.md#create_spm_application1) | **POST** /spm-reports/api/v3/apps | Create Monitoring App |
150
+ | *stcloud::ResetPasswordApi* | [**reset_password_using_post1**](docs/ResetPasswordApi.md#reset_password_using_post1) | **POST** /users-web/api/v3/account/password/reset | Reset Password |
151
+ | *stcloud::SubscriptionsApi* | [**create_for_app_using_post1**](docs/SubscriptionsApi.md#create_for_app_using_post1) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
152
+ | *stcloud::SubscriptionsApi* | [**create_for_dash_using_post1**](docs/SubscriptionsApi.md#create_for_dash_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription |
153
+ | *stcloud::SubscriptionsApi* | [**delete_using_delete3**](docs/SubscriptionsApi.md#delete_using_delete3) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
154
+ | *stcloud::SubscriptionsApi* | [**list_using_get3**](docs/SubscriptionsApi.md#list_using_get3) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App |
155
+ | *stcloud::SubscriptionsApi* | [**list_using_get4**](docs/SubscriptionsApi.md#list_using_get4) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions |
156
+ | *stcloud::SubscriptionsApi* | [**send_app_report_using_post1**](docs/SubscriptionsApi.md#send_app_report_using_post1) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report |
157
+ | *stcloud::SubscriptionsApi* | [**send_dash_report_using_post1**](docs/SubscriptionsApi.md#send_dash_report_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report |
158
+ | *stcloud::SubscriptionsApi* | [**toggle_enabled_using_put1**](docs/SubscriptionsApi.md#toggle_enabled_using_put1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status |
159
+ | *stcloud::SubscriptionsApi* | [**update_for_app_using_put**](docs/SubscriptionsApi.md#update_for_app_using_put) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
160
+ | *stcloud::SubscriptionsApi* | [**update_for_dash_using_put1**](docs/SubscriptionsApi.md#update_for_dash_using_put1) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription |
161
+ | *stcloud::TagApiControllerApi* | [**get_tag_names_using_get1**](docs/TagApiControllerApi.md#get_tag_names_using_get1) | **GET** /spm-reports/api/v3/apps/{appIds}/tagNames | Gets tag names for the given application identifiers appearing in the given time frame. |
162
+ | *stcloud::TagApiControllerApi* | [**get_using_get1**](docs/TagApiControllerApi.md#get_using_get1) | **GET** /spm-reports/api/v3/apps/{appIds}/tags | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
163
+ | *stcloud::TagApiControllerApi* | [**get_using_get2**](docs/TagApiControllerApi.md#get_using_get2) | **GET** /spm-reports/api/v3/apps/{appIds}/metrics/filters | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
164
+ | *stcloud::TokensApiControllerApi* | [**create_app_token1**](docs/TokensApiControllerApi.md#create_app_token1) | **POST** /users-web/api/v3/apps/{appId}/tokens | Create new app token |
165
+ | *stcloud::TokensApiControllerApi* | [**delete_app_token1**](docs/TokensApiControllerApi.md#delete_app_token1) | **DELETE** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Delete app token |
166
+ | *stcloud::TokensApiControllerApi* | [**get_app_tokens**](docs/TokensApiControllerApi.md#get_app_tokens) | **GET** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens |
167
+ | *stcloud::TokensApiControllerApi* | [**regenerate_app_token1**](docs/TokensApiControllerApi.md#regenerate_app_token1) | **POST** /users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate | Regenerate app token) |
168
+ | *stcloud::TokensApiControllerApi* | [**update_app_token**](docs/TokensApiControllerApi.md#update_app_token) | **PUT** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable or name) |
177
169
 
178
170
 
179
171
  ## Documentation for Models
@@ -191,8 +183,6 @@ All URIs are relative to *https://localhost*
191
183
  - [stcloud::CloudWatchSettings](docs/CloudWatchSettings.md)
192
184
  - [stcloud::CreateAppInfo](docs/CreateAppInfo.md)
193
185
  - [stcloud::CreateTokenDto](docs/CreateTokenDto.md)
194
- - [stcloud::DataSeriesFilter](docs/DataSeriesFilter.md)
195
- - [stcloud::DataSeriesRequest](docs/DataSeriesRequest.md)
196
186
  - [stcloud::Error](docs/Error.md)
197
187
  - [stcloud::FilterValue](docs/FilterValue.md)
198
188
  - [stcloud::GenericApiResponse](docs/GenericApiResponse.md)
@@ -200,7 +190,6 @@ All URIs are relative to *https://localhost*
200
190
  - [stcloud::NotificationIntegration](docs/NotificationIntegration.md)
201
191
  - [stcloud::Plan](docs/Plan.md)
202
192
  - [stcloud::ReportInfo](docs/ReportInfo.md)
203
- - [stcloud::SavedQuery](docs/SavedQuery.md)
204
193
  - [stcloud::ServiceIntegration](docs/ServiceIntegration.md)
205
194
  - [stcloud::SubscriptionDashboardDto](docs/SubscriptionDashboardDto.md)
206
195
  - [stcloud::SubscriptionDto](docs/SubscriptionDto.md)
@@ -31,12 +31,6 @@ Gem::Specification.new do |s|
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
34
 
41
35
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
36
  s.test_files = `find spec/*`.split("\n")
@@ -0,0 +1,12 @@
1
+ # stcloud::AlertNotification
2
+
3
+ ## Properties
4
+ | Name | Type | Description | Notes |
5
+ | ------------------ | ----------- | ----------- | ---------- |
6
+ | **app_name** | **String** | | [optional] |
7
+ | **app_type** | **String** | | [optional] |
8
+ | **back_to_normal** | **BOOLEAN** | | [optional] |
9
+ | **create_time** | **String** | | [optional] |
10
+ | **sent** | **BOOLEAN** | | [optional] |
11
+ | **text** | **String** | | [optional] |
12
+ | **_when** | **String** | | [optional] |
@@ -1,4 +1,4 @@
1
- # SematextCloud::AlertNotificationRequest
1
+ # stcloud::AlertNotificationRequest
2
2
 
3
3
  ## Properties
4
4
  | Name | Type | Description | Notes |
@@ -1,15 +1,14 @@
1
- # SematextCloud::AlertNotificationsApi
1
+ # stcloud::AlertNotificationsApi
2
2
 
3
- All URIs are relative to *https://localhost*
3
+ All URIs are relative to */*
4
4
 
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 |
5
+ | Method | HTTP request | Description |
6
+ | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
7
+ | [**get_alert_notifications_for_app_using_post1**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post1) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
8
+ | [**get_alert_notifications_for_user_using_post1**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post1) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
9
9
 
10
-
11
- # **get_alert_notifications_for_app_using_post**
12
- > GenericApiResponse get_alert_notifications_for_app_using_post(app_id, time_interval)
10
+ # **get_alert_notifications_for_app_using_post1**
11
+ > NotificationsResponse get_alert_notifications_for_app_using_post1(bodyapp_id)
13
12
 
14
13
  Get alert notifications for an app
15
14
 
@@ -18,41 +17,39 @@ Default value of interval is 1d
18
17
  ### Example
19
18
  ```ruby
20
19
  # load the gem
21
- require 'SematextCloud'
20
+ require 'stcloud'
22
21
  # setup authorization
23
- SematextCloud.configure do |config|
22
+ stcloud.configure do |config|
24
23
  # Configure API key authorization: api_key
25
24
  config.api_key['Authorization'] = 'YOUR API KEY'
26
25
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
26
  #config.api_key_prefix['Authorization'] = 'Bearer'
28
27
  end
29
28
 
30
- api_instance = SematextCloud::AlertNotificationsApi.new
31
-
29
+ api_instance = stcloud::AlertNotificationsApi.new
30
+ body = stcloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
32
31
  app_id = 789 # Integer | appId
33
32
 
34
- time_interval = SematextCloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
35
-
36
33
 
37
34
  begin
38
35
  #Get alert notifications for an app
39
- result = api_instance.get_alert_notifications_for_app_using_post(app_id, time_interval)
36
+ result = api_instance.get_alert_notifications_for_app_using_post1(bodyapp_id)
40
37
  p result
41
- rescue SematextCloud::ApiError => e
42
- puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_app_using_post: #{e}"
38
+ rescue stcloud::ApiError => e
39
+ puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_app_using_post1: #{e}"
43
40
  end
44
41
  ```
45
42
 
46
43
  ### Parameters
47
44
 
48
- | Name | Type | Description | Notes |
49
- | ----------------- | ----------------------------------------------------------- | ------------- | ----- |
50
- | **app_id** | **Integer** | appId |
51
- | **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
45
+ | Name | Type | Description | Notes |
46
+ | ---------- | ----------------------------------------------------------- | ------------- | ----- |
47
+ | **body** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
48
+ | **app_id** | **Integer** | appId |
52
49
 
53
50
  ### Return type
54
51
 
55
- [**GenericApiResponse**](GenericApiResponse.md)
52
+ [**NotificationsResponse**](NotificationsResponse.md)
56
53
 
57
54
  ### Authorization
58
55
 
@@ -65,8 +62,8 @@ end
65
62
 
66
63
 
67
64
 
68
- # **get_alert_notifications_for_user_using_post**
69
- > GenericApiResponse get_alert_notifications_for_user_using_post(time_interval)
65
+ # **get_alert_notifications_for_user_using_post1**
66
+ > NotificationsResponse get_alert_notifications_for_user_using_post1(body)
70
67
 
71
68
  Get alert notifications for a user
72
69
 
@@ -75,38 +72,37 @@ Default value of interval is 1d
75
72
  ### Example
76
73
  ```ruby
77
74
  # load the gem
78
- require 'SematextCloud'
75
+ require 'stcloud'
79
76
  # setup authorization
80
- SematextCloud.configure do |config|
77
+ stcloud.configure do |config|
81
78
  # Configure API key authorization: api_key
82
79
  config.api_key['Authorization'] = 'YOUR API KEY'
83
80
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
84
81
  #config.api_key_prefix['Authorization'] = 'Bearer'
85
82
  end
86
83
 
87
- api_instance = SematextCloud::AlertNotificationsApi.new
88
-
89
- time_interval = SematextCloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
84
+ api_instance = stcloud::AlertNotificationsApi.new
85
+ body = stcloud::AlertNotificationRequest.new # AlertNotificationRequest | Time Interval
90
86
 
91
87
 
92
88
  begin
93
89
  #Get alert notifications for a user
94
- result = api_instance.get_alert_notifications_for_user_using_post(time_interval)
90
+ result = api_instance.get_alert_notifications_for_user_using_post1(body)
95
91
  p result
96
- rescue SematextCloud::ApiError => e
97
- puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_user_using_post: #{e}"
92
+ rescue stcloud::ApiError => e
93
+ puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_user_using_post1: #{e}"
98
94
  end
99
95
  ```
100
96
 
101
97
  ### Parameters
102
98
 
103
- | Name | Type | Description | Notes |
104
- | ----------------- | ----------------------------------------------------------- | ------------- | ----- |
105
- | **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
99
+ | Name | Type | Description | Notes |
100
+ | -------- | ----------------------------------------------------------- | ------------- | ----- |
101
+ | **body** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
106
102
 
107
103
  ### Return type
108
104
 
109
- [**GenericApiResponse**](GenericApiResponse.md)
105
+ [**NotificationsResponse**](NotificationsResponse.md)
110
106
 
111
107
  ### Authorization
112
108
 
data/docs/AlertRule.md CHANGED
@@ -1,4 +1,4 @@
1
- # SematextCloud::AlertRule
1
+ # stcloud::AlertRule
2
2
 
3
3
  ## Properties
4
4
  | Name | Type | Description | Notes |
@@ -0,0 +1,9 @@
1
+ # stcloud::AlertRuleResponse
2
+
3
+ ## Properties
4
+ | Name | Type | Description | Notes |
5
+ | ----------- | ------------------------------------------------------- | ----------- | ---------- |
6
+ | **data** | [**AlertRuleResponseEntry**](AlertRuleResponseEntry.md) | | [optional] |
7
+ | **errors** | [**Array&lt;Error&gt;**](Error.md) | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+ | **success** | **BOOLEAN** | | [optional] |
@@ -0,0 +1,6 @@
1
+ # stcloud::AlertRuleResponseEntry
2
+
3
+ ## Properties
4
+ | Name | Type | Description | Notes |
5
+ | -------------- | ----------------------------- | ----------- | ---------- |
6
+ | **alert_rule** | [**AlertRule**](AlertRule.md) | | [optional] |
@@ -1,4 +1,4 @@
1
- # SematextCloud::AlertRuleScheduleTimeRangeDto
1
+ # stcloud::AlertRuleScheduleTimeRangeDto
2
2
 
3
3
  ## Properties
4
4
  | Name | Type | Description | Notes |
@@ -1,4 +1,4 @@
1
- # SematextCloud::AlertRuleScheduleWeekdayDto
1
+ # stcloud::AlertRuleScheduleWeekdayDto
2
2
 
3
3
  ## Properties
4
4
  | Name | Type | Description | Notes |
@@ -0,0 +1,9 @@
1
+ # stcloud::AlertRulesResponse
2
+
3
+ ## Properties
4
+ | Name | Type | Description | Notes |
5
+ | ----------- | --------------------------------------------------------- | ----------- | ---------- |
6
+ | **data** | [**AlertRulesResponseEntry**](AlertRulesResponseEntry.md) | | [optional] |
7
+ | **errors** | [**Array&lt;Error&gt;**](Error.md) | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+ | **success** | **BOOLEAN** | | [optional] |
@@ -0,0 +1,6 @@
1
+ # stcloud::AlertRulesResponseEntry
2
+
3
+ ## Properties
4
+ | Name | Type | Description | Notes |
5
+ | --------------- | ------------------------------------------ | ----------- | ---------- |
6
+ | **alert_rules** | [**Array&lt;AlertRule&gt;**](AlertRule.md) | | [optional] |
data/docs/AlertsApi.md CHANGED
@@ -1,6 +1,6 @@
1
- # SematextCloud::AlertsApi
1
+ # stcloud::AlertsApi
2
2
 
3
- All URIs are relative to *https://localhost*
3
+ All URIs are relative to */*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | --------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
@@ -10,47 +10,45 @@ All URIs are relative to *https://localhost*
10
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
11
  | [**get_alert_rules_for_app_using_get**](AlertsApi.md#get_alert_rules_for_app_using_get) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
12
12
 
13
-
14
13
  # **create_alert_using_post**
15
- > GenericApiResponse create_alert_using_post(dto)
14
+ > AlertRuleResponse create_alert_using_post(body)
16
15
 
17
16
  Create alert rule
18
17
 
19
18
  ### Example
20
19
  ```ruby
21
20
  # load the gem
22
- require 'SematextCloud'
21
+ require 'stcloud'
23
22
  # setup authorization
24
- SematextCloud.configure do |config|
23
+ stcloud.configure do |config|
25
24
  # Configure API key authorization: api_key
26
25
  config.api_key['Authorization'] = 'YOUR API KEY'
27
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
28
27
  #config.api_key_prefix['Authorization'] = 'Bearer'
29
28
  end
30
29
 
31
- api_instance = SematextCloud::AlertsApi.new
32
-
33
- dto = SematextCloud::AlertRule.new # AlertRule | dto
30
+ api_instance = stcloud::AlertsApi.new
31
+ body = stcloud::AlertRule.new # AlertRule | dto
34
32
 
35
33
 
36
34
  begin
37
35
  #Create alert rule
38
- result = api_instance.create_alert_using_post(dto)
36
+ result = api_instance.create_alert_using_post(body)
39
37
  p result
40
- rescue SematextCloud::ApiError => e
38
+ rescue stcloud::ApiError => e
41
39
  puts "Exception when calling AlertsApi->create_alert_using_post: #{e}"
42
40
  end
43
41
  ```
44
42
 
45
43
  ### Parameters
46
44
 
47
- | Name | Type | Description | Notes |
48
- | ------- | ----------------------------- | ----------- | ----- |
49
- | **dto** | [**AlertRule**](AlertRule.md) | dto |
45
+ | Name | Type | Description | Notes |
46
+ | -------- | ----------------------------- | ----------- | ----- |
47
+ | **body** | [**AlertRule**](AlertRule.md) | dto |
50
48
 
51
49
  ### Return type
52
50
 
53
- [**GenericApiResponse**](GenericApiResponse.md)
51
+ [**AlertRuleResponse**](AlertRuleResponse.md)
54
52
 
55
53
  ### Authorization
56
54
 
@@ -64,24 +62,23 @@ end
64
62
 
65
63
 
66
64
  # **delete_alert_rule_using_delete**
67
- > GenericApiResponse delete_alert_rule_using_delete(updateable_alert_id)
65
+ > GenericMapBasedApiResponse delete_alert_rule_using_delete(updateable_alert_id)
68
66
 
69
67
  Delete alert rule
70
68
 
71
69
  ### Example
72
70
  ```ruby
73
71
  # load the gem
74
- require 'SematextCloud'
72
+ require 'stcloud'
75
73
  # setup authorization
76
- SematextCloud.configure do |config|
74
+ stcloud.configure do |config|
77
75
  # Configure API key authorization: api_key
78
76
  config.api_key['Authorization'] = 'YOUR API KEY'
79
77
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
78
  #config.api_key_prefix['Authorization'] = 'Bearer'
81
79
  end
82
80
 
83
- api_instance = SematextCloud::AlertsApi.new
84
-
81
+ api_instance = stcloud::AlertsApi.new
85
82
  updateable_alert_id = 789 # Integer | updateableAlertId
86
83
 
87
84
 
@@ -89,7 +86,7 @@ begin
89
86
  #Delete alert rule
90
87
  result = api_instance.delete_alert_rule_using_delete(updateable_alert_id)
91
88
  p result
92
- rescue SematextCloud::ApiError => e
89
+ rescue stcloud::ApiError => e
93
90
  puts "Exception when calling AlertsApi->delete_alert_rule_using_delete: #{e}"
94
91
  end
95
92
  ```
@@ -102,7 +99,7 @@ end
102
99
 
103
100
  ### Return type
104
101
 
105
- [**GenericApiResponse**](GenericApiResponse.md)
102
+ [**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
106
103
 
107
104
  ### Authorization
108
105
 
@@ -110,30 +107,29 @@ end
110
107
 
111
108
  ### HTTP request headers
112
109
 
113
- - **Content-Type**: application/json
110
+ - **Content-Type**: Not defined
114
111
  - **Accept**: application/json
115
112
 
116
113
 
117
114
 
118
115
  # **disable_alert_rule_using_put**
119
- > GenericApiResponse disable_alert_rule_using_put(updateable_alert_id)
116
+ > GenericMapBasedApiResponse disable_alert_rule_using_put(updateable_alert_id)
120
117
 
121
118
  Disable alert rule
122
119
 
123
120
  ### Example
124
121
  ```ruby
125
122
  # load the gem
126
- require 'SematextCloud'
123
+ require 'stcloud'
127
124
  # setup authorization
128
- SematextCloud.configure do |config|
125
+ stcloud.configure do |config|
129
126
  # Configure API key authorization: api_key
130
127
  config.api_key['Authorization'] = 'YOUR API KEY'
131
128
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
132
129
  #config.api_key_prefix['Authorization'] = 'Bearer'
133
130
  end
134
131
 
135
- api_instance = SematextCloud::AlertsApi.new
136
-
132
+ api_instance = stcloud::AlertsApi.new
137
133
  updateable_alert_id = 789 # Integer | updateableAlertId
138
134
 
139
135
 
@@ -141,7 +137,7 @@ begin
141
137
  #Disable alert rule
142
138
  result = api_instance.disable_alert_rule_using_put(updateable_alert_id)
143
139
  p result
144
- rescue SematextCloud::ApiError => e
140
+ rescue stcloud::ApiError => e
145
141
  puts "Exception when calling AlertsApi->disable_alert_rule_using_put: #{e}"
146
142
  end
147
143
  ```
@@ -154,7 +150,7 @@ end
154
150
 
155
151
  ### Return type
156
152
 
157
- [**GenericApiResponse**](GenericApiResponse.md)
153
+ [**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
158
154
 
159
155
  ### Authorization
160
156
 
@@ -162,30 +158,29 @@ end
162
158
 
163
159
  ### HTTP request headers
164
160
 
165
- - **Content-Type**: application/json
161
+ - **Content-Type**: Not defined
166
162
  - **Accept**: application/json
167
163
 
168
164
 
169
165
 
170
166
  # **enable_alert_rule_using_put**
171
- > GenericApiResponse enable_alert_rule_using_put(updateable_alert_id)
167
+ > GenericMapBasedApiResponse enable_alert_rule_using_put(updateable_alert_id)
172
168
 
173
169
  Enable alert rule
174
170
 
175
171
  ### Example
176
172
  ```ruby
177
173
  # load the gem
178
- require 'SematextCloud'
174
+ require 'stcloud'
179
175
  # setup authorization
180
- SematextCloud.configure do |config|
176
+ stcloud.configure do |config|
181
177
  # Configure API key authorization: api_key
182
178
  config.api_key['Authorization'] = 'YOUR API KEY'
183
179
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
184
180
  #config.api_key_prefix['Authorization'] = 'Bearer'
185
181
  end
186
182
 
187
- api_instance = SematextCloud::AlertsApi.new
188
-
183
+ api_instance = stcloud::AlertsApi.new
189
184
  updateable_alert_id = 789 # Integer | updateableAlertId
190
185
 
191
186
 
@@ -193,7 +188,7 @@ begin
193
188
  #Enable alert rule
194
189
  result = api_instance.enable_alert_rule_using_put(updateable_alert_id)
195
190
  p result
196
- rescue SematextCloud::ApiError => e
191
+ rescue stcloud::ApiError => e
197
192
  puts "Exception when calling AlertsApi->enable_alert_rule_using_put: #{e}"
198
193
  end
199
194
  ```
@@ -206,7 +201,7 @@ end
206
201
 
207
202
  ### Return type
208
203
 
209
- [**GenericApiResponse**](GenericApiResponse.md)
204
+ [**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
210
205
 
211
206
  ### Authorization
212
207
 
@@ -214,30 +209,29 @@ end
214
209
 
215
210
  ### HTTP request headers
216
211
 
217
- - **Content-Type**: application/json
212
+ - **Content-Type**: Not defined
218
213
  - **Accept**: application/json
219
214
 
220
215
 
221
216
 
222
217
  # **get_alert_rules_for_app_using_get**
223
- > GenericApiResponse get_alert_rules_for_app_using_get(app_id)
218
+ > AlertRulesResponse get_alert_rules_for_app_using_get(app_id)
224
219
 
225
220
  Get alert rules for an app
226
221
 
227
222
  ### Example
228
223
  ```ruby
229
224
  # load the gem
230
- require 'SematextCloud'
225
+ require 'stcloud'
231
226
  # setup authorization
232
- SematextCloud.configure do |config|
227
+ stcloud.configure do |config|
233
228
  # Configure API key authorization: api_key
234
229
  config.api_key['Authorization'] = 'YOUR API KEY'
235
230
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
236
231
  #config.api_key_prefix['Authorization'] = 'Bearer'
237
232
  end
238
233
 
239
- api_instance = SematextCloud::AlertsApi.new
240
-
234
+ api_instance = stcloud::AlertsApi.new
241
235
  app_id = 789 # Integer | appId
242
236
 
243
237
 
@@ -245,7 +239,7 @@ begin
245
239
  #Get alert rules for an app
246
240
  result = api_instance.get_alert_rules_for_app_using_get(app_id)
247
241
  p result
248
- rescue SematextCloud::ApiError => e
242
+ rescue stcloud::ApiError => e
249
243
  puts "Exception when calling AlertsApi->get_alert_rules_for_app_using_get: #{e}"
250
244
  end
251
245
  ```
@@ -258,7 +252,7 @@ end
258
252
 
259
253
  ### Return type
260
254
 
261
- [**GenericApiResponse**](GenericApiResponse.md)
255
+ [**AlertRulesResponse**](AlertRulesResponse.md)
262
256
 
263
257
  ### Authorization
264
258
 
@@ -266,5 +260,5 @@ end
266
260
 
267
261
  ### HTTP request headers
268
262
 
269
- - **Content-Type**: application/json
263
+ - **Content-Type**: Not defined
270
264
  - **Accept**: application/json