SematextCloud 0.1.0 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +135 -72
  4. data/SematextCloud.gemspec +2 -2
  5. data/docs/AlertNotificationRequest.md +6 -6
  6. data/docs/AlertNotificationsApi.md +11 -11
  7. data/docs/AlertRule.md +50 -50
  8. data/docs/AlertRuleScheduleTimeRangeDto.md +4 -4
  9. data/docs/AlertRuleScheduleWeekdayDto.md +7 -7
  10. data/docs/AlertsApi.md +22 -22
  11. data/docs/App.md +33 -29
  12. data/docs/AppDescription.md +3 -3
  13. data/docs/AppMetadata.md +7 -7
  14. data/docs/AppsApi.md +23 -23
  15. data/docs/AwsSettingsControllerApi.md +7 -7
  16. data/docs/BasicAuthMethodDto.md +4 -4
  17. data/docs/BasicOrganizationDto.md +6 -6
  18. data/docs/BillingApi.md +18 -18
  19. data/docs/BillingInfo.md +5 -5
  20. data/docs/CloudWatchSettings.md +6 -6
  21. data/docs/CreateAppInfo.md +7 -7
  22. data/docs/CreateTokenDto.md +7 -0
  23. data/docs/DataSeriesFilter.md +5 -5
  24. data/docs/DataSeriesRequest.md +9 -9
  25. data/docs/Error.md +4 -4
  26. data/docs/FilterValue.md +8 -8
  27. data/docs/GenericApiResponse.md +6 -6
  28. data/docs/Invitation.md +12 -12
  29. data/docs/LogsAppApi.md +6 -6
  30. data/docs/MetricsApi.md +20 -20
  31. data/docs/MonitoringAppApi.md +6 -6
  32. data/docs/NotificationIntegration.md +12 -12
  33. data/docs/Plan.md +15 -15
  34. data/docs/ReportInfo.md +10 -10
  35. data/docs/ResetPasswordApi.md +6 -6
  36. data/docs/SavedQueriesApi.md +19 -19
  37. data/docs/SavedQuery.md +15 -15
  38. data/docs/ServiceIntegration.md +14 -14
  39. data/docs/SubscriptionDashboardDto.md +16 -0
  40. data/docs/SubscriptionDto.md +17 -0
  41. data/docs/SubscriptionsApi.md +468 -32
  42. data/docs/TagApiControllerApi.md +34 -34
  43. data/docs/TokensApiControllerApi.md +285 -0
  44. data/docs/UpdateAppInfo.md +11 -11
  45. data/docs/UpdateSubscriptionDto.md +6 -0
  46. data/docs/UpdateTokenDto.md +6 -0
  47. data/docs/UserInfo.md +3 -3
  48. data/docs/UserPermissions.md +5 -5
  49. data/docs/UserRole.md +5 -5
  50. data/lib/SematextCloud/api/apps_api.rb +52 -0
  51. data/lib/SematextCloud/api/subscriptions_api.rb +463 -17
  52. data/lib/SematextCloud/api/tokens_api_controller_api.rb +313 -0
  53. data/lib/SematextCloud/models/create_token_dto.rb +192 -0
  54. data/lib/SematextCloud/models/subscription_dashboard_dto.rb +319 -0
  55. data/lib/SematextCloud/models/subscription_dto.rb +328 -0
  56. data/lib/SematextCloud/models/update_subscription_dto.rb +183 -0
  57. data/lib/SematextCloud/models/update_token_dto.rb +183 -0
  58. data/lib/SematextCloud/version.rb +1 -1
  59. data/spec/api/tokens_api_controller_api_spec.rb +95 -0
  60. data/spec/models/create_token_dto_spec.rb +47 -0
  61. data/spec/models/subscription_dashboard_dto_spec.rb +109 -0
  62. data/spec/models/subscription_dto_spec.rb +115 -0
  63. data/spec/models/update_subscription_dto_spec.rb +41 -0
  64. data/spec/models/update_token_dto_spec.rb +41 -0
  65. metadata +54 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 725cb4d891d56d4bbd80dce9968b1eb0212f44e826d553886b443c29bbfdf544
4
- data.tar.gz: d4df7643a97b03195014754049cc717ea3a6c7aae64e612a4a959f40dd4e76e8
3
+ metadata.gz: 13d76db257899b27bc0725d0ebc375a0581fac5b8e0e5c0d852934050d742204
4
+ data.tar.gz: e86b0213d873907824b3b649d349c686c7e5aaeed26745ddb025a8fbe1d8126c
5
5
  SHA512:
6
- metadata.gz: 11843a61e80689be1ed2c50dc2c5fbccb9f9830086517abedb0a1fdee22f9df42ff747b03aeba9dcebbba0417477e37bceb4a01c2bc8aeebf7868e4f4a5fe35c
7
- data.tar.gz: 8d5fb8af47cc27c3a8f87edff35ed2b280a242185a54ce54382241208459e8bc75417cde7272dbb502b4cbb6410318a8c06ea29383c43b3422caff37d22694d1
6
+ metadata.gz: a9abafa3b71d0a75cf9460c7e3a876783ff46db71c8196c3078ccc4229ffbbf76decda72b554b8f00cf2fe4b4be0348a09277c67f6829bc68ac7c317015f019a
7
+ data.tar.gz: fd59a1a5d30d6a68e632578a426b142d2c8df57700f395c2882388854835243f3d0c3b80d39099ce274e00da0781896aa5311efacd4e969a7bc93f9e560a638c
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  end
data/README.md CHANGED
@@ -1,11 +1,50 @@
1
- # Sematext Cloud - API Client - sematext-api-ruby
2
1
 
3
- This Ruby gem contains client code talks to [Sematext Cloud API](https://sematext.com/cloud/) providing a way to automate setup of solution monitoring.<br>
4
- It's primary purpose is as a client module supporting [Sematext Terraform Provider](https://github.com/sematext/terraform-provider-sematext)
5
- <br><br>
2
+ # <img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>**&nbsp;&nbsp;sematext-api-client-ruby**
6
3
 
7
- Further information and API browsing refer to the [Sematext Cloud API web page](https://sematext.com/docs/api/)
4
+ <br>
8
5
 
6
+ >*A [Sematext Cloud](https://sematext.com/cloud/) API client, for interaction with Sematext Cloud solution monitoring, alerting and log shipping.*
7
+
8
+ <br>
9
+
10
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
11
+
12
+ <br>
13
+ One of a family of clients in following flavours:
14
+ <br>
15
+ <br>
16
+
17
+ * [sematext-api-client-javascript](https://github.com/sematext/sematext-api-client-javascript "Javascript")
18
+ * [sematext-api-client-rust](https://github.com/sematext/sematext-api-client-rust "Rust")
19
+ * [sematext-api-client-ruby](https://github.com/sematext/sematext-api-client-ruby "Ruby")
20
+ * [sematext-api-client-python](https://github.com/sematext/sematext-api-client-python "Python")
21
+ * [sematext-api-client-php](https://github.com/sematext/sematext-api-client-php "PHP")
22
+ * [sematext-api-client-java](https://github.com/sematext/sematext-api-client-java "Java")
23
+ * [sematext-api-client-go](https://github.com/sematext/sematext-api-client-go "Go/Golang")
24
+
25
+ <br>
26
+ Refer to below link for deeper information on the API itself.
27
+ <br>
28
+ <br>
29
+
30
+ * [Sematext Cloud API Reference](https://sematext.com/docs/api/ "API Reference")
31
+
32
+ <br>
33
+
34
+ ## Contents
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)
37
+ - [Contents](#contents)
38
+ - [Installation](#installation)
39
+ - [Build a gem](#build-a-gem)
40
+ - [Install from Git](#install-from-git)
41
+ - [Include the Ruby code directly](#include-the-ruby-code-directly)
42
+ - [Authentication](#authentication)
43
+ - [Getting Started](#getting-started)
44
+ - [Reference](#reference)
45
+ - [Documentation for Models](#documentation-for-models)
46
+
47
+ <br>
9
48
 
10
49
  ## Installation
11
50
 
@@ -20,15 +59,15 @@ gem build SematextCloud.gemspec
20
59
  Then either install the gem locally:
21
60
 
22
61
  ```shell
23
- gem install ./SematextCloud-0.1.0.gem
62
+ gem install ./SematextCloud-0.1.3.gem
24
63
  ```
25
- (for development, run `gem install --dev ./SematextCloud-0.1.0.gem` to install the development dependencies)
64
+ (for development, run `gem install --dev ./SematextCloud-0.1.3.gem` to install the development dependencies)
26
65
 
27
66
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
28
67
 
29
68
  Finally add this to the Gemfile:
30
69
 
31
- gem 'SematextCloud', '~> 0.1.0'
70
+ gem 'SematextCloud', '~> 0.1.3'
32
71
 
33
72
  ### Install from Git
34
73
 
@@ -44,6 +83,11 @@ Include the Ruby code directly using `-I` as follows:
44
83
  ruby -Ilib script.rb
45
84
  ```
46
85
 
86
+ ## Authentication
87
+
88
+ This client code requires a Sematext API Access token to function. You can find this by logging into your [Sematext Cloud Account](https://apps.sematext.com/ui/account/api)
89
+
90
+
47
91
  ## Getting Started
48
92
 
49
93
  Please follow the [installation](#installation) procedure and then run the following code:
@@ -76,74 +120,93 @@ end
76
120
 
77
121
  ```
78
122
 
79
- ## Documentation for API Endpoints
123
+ ## Reference
80
124
 
81
125
  All URIs are relative to *https://localhost*
82
126
 
83
- Class | Method | HTTP request | Description
84
- ------------ | ------------- | ------------- | -------------
85
- *SematextCloud::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
86
- *SematextCloud::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
87
- *SematextCloud::AlertsApi* | [**create_alert_using_post**](docs/AlertsApi.md#create_alert_using_post) | **POST** /users-web/api/v3/alerts | Create alert rule
88
- *SematextCloud::AlertsApi* | [**delete_alert_rule_using_delete**](docs/AlertsApi.md#delete_alert_rule_using_delete) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule
89
- *SematextCloud::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
90
- *SematextCloud::AlertsApi* | [**enable_alert_rule_using_put**](docs/AlertsApi.md#enable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule
91
- *SematextCloud::AlertsApi* | [**get_alert_rules_for_app_using_get**](docs/AlertsApi.md#get_alert_rules_for_app_using_get) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app
92
- *SematextCloud::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
93
- *SematextCloud::AppsApi* | [**get_using_get**](docs/AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App
94
- *SematextCloud::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
95
- *SematextCloud::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
96
- *SematextCloud::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
97
- *SematextCloud::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
98
- *SematextCloud::AppsApi* | [**update_using_put1**](docs/AppsApi.md#update_using_put1) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app
99
- *SematextCloud::AwsSettingsControllerApi* | [**update_using_put**](docs/AwsSettingsControllerApi.md#update_using_put) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings
100
- *SematextCloud::BillingApi* | [**get_detailed_invoice_using_get**](docs/BillingApi.md#get_detailed_invoice_using_get) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details
101
- *SematextCloud::BillingApi* | [**list_available_plans_using_get**](docs/BillingApi.md#list_available_plans_using_get) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans
102
- *SematextCloud::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
103
- *SematextCloud::LogsAppApi* | [**create_logsene_application**](docs/LogsAppApi.md#create_logsene_application) | **POST** /logsene-reports/api/v3/apps | Create Logs App
104
- *SematextCloud::MetricsApi* | [**list_data_series_using_post**](docs/MetricsApi.md#list_data_series_using_post) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/data | Get metrics data points for an app
105
- *SematextCloud::MetricsApi* | [**list_filters_using_post**](docs/MetricsApi.md#list_filters_using_post) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/filters | Get metrics filters and their values for an app
106
- *SematextCloud::MetricsApi* | [**list_metrics_keys_using_get**](docs/MetricsApi.md#list_metrics_keys_using_get) | **GET** /spm-reports/api/v3/apps/{appId}/metrics/keys | Get metrics keys for an app
107
- *SematextCloud::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
108
- *SematextCloud::MonitoringAppApi* | [**create_spm_application1**](docs/MonitoringAppApi.md#create_spm_application1) | **POST** /spm-reports/api/v3/apps | Create Monitoring App
109
- *SematextCloud::ResetPasswordApi* | [**reset_password_using_post**](docs/ResetPasswordApi.md#reset_password_using_post) | **POST** /users-web/api/v3/account/password/reset | Reset Password
110
- *SematextCloud::SavedQueriesApi* | [**delete_saved_query_using_delete**](docs/SavedQueriesApi.md#delete_saved_query_using_delete) | **DELETE** /users-web/api/v3/savedQueries/{updateableQueryId} | Delete saved query
111
- *SematextCloud::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
112
- *SematextCloud::SavedQueriesApi* | [**save_query_using_post**](docs/SavedQueriesApi.md#save_query_using_post) | **POST** /users-web/api/v3/savedQueries | Create saved query
113
- *SematextCloud::SavedQueriesApi* | [**save_query_using_put**](docs/SavedQueriesApi.md#save_query_using_put) | **PUT** /users-web/api/v3/savedQueries/{updateableQueryId} | Update saved query
114
- *SematextCloud::SubscriptionsApi* | [**list_using_get1**](docs/SubscriptionsApi.md#list_using_get1) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an app
115
- *SematextCloud::SubscriptionsApi* | [**send_report_using_post**](docs/SubscriptionsApi.md#send_report_using_post) | **POST** /users-web/api/v3/apps/{appId}/report/send | Trigger emailing of report for an app
116
- *SematextCloud::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.
117
- *SematextCloud::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.
118
- *SematextCloud::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.
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) |
119
177
 
120
178
 
121
179
  ## Documentation for Models
122
180
 
123
- - [SematextCloud::AlertNotificationRequest](docs/AlertNotificationRequest.md)
124
- - [SematextCloud::AlertRule](docs/AlertRule.md)
125
- - [SematextCloud::AlertRuleScheduleTimeRangeDto](docs/AlertRuleScheduleTimeRangeDto.md)
126
- - [SematextCloud::AlertRuleScheduleWeekdayDto](docs/AlertRuleScheduleWeekdayDto.md)
127
- - [SematextCloud::App](docs/App.md)
128
- - [SematextCloud::AppDescription](docs/AppDescription.md)
129
- - [SematextCloud::AppMetadata](docs/AppMetadata.md)
130
- - [SematextCloud::BasicAuthMethodDto](docs/BasicAuthMethodDto.md)
131
- - [SematextCloud::BasicOrganizationDto](docs/BasicOrganizationDto.md)
132
- - [SematextCloud::BillingInfo](docs/BillingInfo.md)
133
- - [SematextCloud::CloudWatchSettings](docs/CloudWatchSettings.md)
134
- - [SematextCloud::CreateAppInfo](docs/CreateAppInfo.md)
135
- - [SematextCloud::DataSeriesFilter](docs/DataSeriesFilter.md)
136
- - [SematextCloud::DataSeriesRequest](docs/DataSeriesRequest.md)
137
- - [SematextCloud::Error](docs/Error.md)
138
- - [SematextCloud::FilterValue](docs/FilterValue.md)
139
- - [SematextCloud::GenericApiResponse](docs/GenericApiResponse.md)
140
- - [SematextCloud::Invitation](docs/Invitation.md)
141
- - [SematextCloud::NotificationIntegration](docs/NotificationIntegration.md)
142
- - [SematextCloud::Plan](docs/Plan.md)
143
- - [SematextCloud::ReportInfo](docs/ReportInfo.md)
144
- - [SematextCloud::SavedQuery](docs/SavedQuery.md)
145
- - [SematextCloud::ServiceIntegration](docs/ServiceIntegration.md)
146
- - [SematextCloud::UpdateAppInfo](docs/UpdateAppInfo.md)
147
- - [SematextCloud::UserInfo](docs/UserInfo.md)
148
- - [SematextCloud::UserPermissions](docs/UserPermissions.md)
149
- - [SematextCloud::UserRole](docs/UserRole.md)
181
+ - [stcloud::AlertNotificationRequest](docs/AlertNotificationRequest.md)
182
+ - [stcloud::AlertRule](docs/AlertRule.md)
183
+ - [stcloud::AlertRuleScheduleTimeRangeDto](docs/AlertRuleScheduleTimeRangeDto.md)
184
+ - [stcloud::AlertRuleScheduleWeekdayDto](docs/AlertRuleScheduleWeekdayDto.md)
185
+ - [stcloud::App](docs/App.md)
186
+ - [stcloud::AppDescription](docs/AppDescription.md)
187
+ - [stcloud::AppMetadata](docs/AppMetadata.md)
188
+ - [stcloud::BasicAuthMethodDto](docs/BasicAuthMethodDto.md)
189
+ - [stcloud::BasicOrganizationDto](docs/BasicOrganizationDto.md)
190
+ - [stcloud::BillingInfo](docs/BillingInfo.md)
191
+ - [stcloud::CloudWatchSettings](docs/CloudWatchSettings.md)
192
+ - [stcloud::CreateAppInfo](docs/CreateAppInfo.md)
193
+ - [stcloud::CreateTokenDto](docs/CreateTokenDto.md)
194
+ - [stcloud::DataSeriesFilter](docs/DataSeriesFilter.md)
195
+ - [stcloud::DataSeriesRequest](docs/DataSeriesRequest.md)
196
+ - [stcloud::Error](docs/Error.md)
197
+ - [stcloud::FilterValue](docs/FilterValue.md)
198
+ - [stcloud::GenericApiResponse](docs/GenericApiResponse.md)
199
+ - [stcloud::Invitation](docs/Invitation.md)
200
+ - [stcloud::NotificationIntegration](docs/NotificationIntegration.md)
201
+ - [stcloud::Plan](docs/Plan.md)
202
+ - [stcloud::ReportInfo](docs/ReportInfo.md)
203
+ - [stcloud::SavedQuery](docs/SavedQuery.md)
204
+ - [stcloud::ServiceIntegration](docs/ServiceIntegration.md)
205
+ - [stcloud::SubscriptionDashboardDto](docs/SubscriptionDashboardDto.md)
206
+ - [stcloud::SubscriptionDto](docs/SubscriptionDto.md)
207
+ - [stcloud::UpdateAppInfo](docs/UpdateAppInfo.md)
208
+ - [stcloud::UpdateSubscriptionDto](docs/UpdateSubscriptionDto.md)
209
+ - [stcloud::UpdateTokenDto](docs/UpdateTokenDto.md)
210
+ - [stcloud::UserInfo](docs/UserInfo.md)
211
+ - [stcloud::UserPermissions](docs/UserPermissions.md)
212
+ - [stcloud::UserRole](docs/UserRole.md)
@@ -20,9 +20,9 @@ Gem::Specification.new do |s|
20
20
  s.version = SematextCloud::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["sematext.com"]
23
- s.email = ["support@sematext.com"]
23
+ s.email = ["packages@sematext.com"]
24
24
  s.homepage = "https://github.com/sematext/sematext-api-client-ruby"
25
- s.summary = "Sematext Cloud API Client for talking to https://sematext.com/docs/api/"
25
+ s.summary = "A Sematext Cloud API client, for interaction with Sematext Cloud solution monitoring, alerting and log shipping."
26
26
  s.description = "Sematext Cloud API Client for talking to https://sematext.com/docs/api/"
27
27
  s.license = 'Apache-2.0'
28
28
  s.required_ruby_version = ">= 1.9"
@@ -1,9 +1,9 @@
1
1
  # SematextCloud::AlertNotificationRequest
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **default_interval** | **Integer** | | [optional]
7
- **_end** | **String** | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional]
8
- **interval** | **String** | | [optional]
9
- **start** | **String** | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional]
4
+ | Name | Type | Description | Notes |
5
+ | -------------------- | ----------- | --------------------------------------------------------------------------------------------------------------- | ---------- |
6
+ | **default_interval** | **Integer** | | [optional] |
7
+ | **_end** | **String** | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
8
+ | **interval** | **String** | | [optional] |
9
+ | **start** | **String** | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
@@ -2,10 +2,10 @@
2
2
 
3
3
  All URIs are relative to *https://localhost*
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_post**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
8
+ | [**get_alert_notifications_for_user_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
9
9
 
10
10
 
11
11
  # **get_alert_notifications_for_app_using_post**
@@ -45,10 +45,10 @@ end
45
45
 
46
46
  ### Parameters
47
47
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **app_id** | **Integer**| appId |
51
- **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md)| Time Interval |
48
+ | Name | Type | Description | Notes |
49
+ | ----------------- | ----------------------------------------------------------- | ------------- | ----- |
50
+ | **app_id** | **Integer** | appId |
51
+ | **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
52
52
 
53
53
  ### Return type
54
54
 
@@ -100,9 +100,9 @@ end
100
100
 
101
101
  ### Parameters
102
102
 
103
- Name | Type | Description | Notes
104
- ------------- | ------------- | ------------- | -------------
105
- **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md)| Time Interval |
103
+ | Name | Type | Description | Notes |
104
+ | ----------------- | ----------------------------------------------------------- | ------------- | ----- |
105
+ | **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
106
106
 
107
107
  ### Return type
108
108
 
@@ -1,53 +1,53 @@
1
1
  # SematextCloud::AlertRule
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **account_email** | **String** | | [optional]
7
- **allowed_app_types** | **Array&lt;Integer&gt;** | | [optional]
8
- **analyzing_time** | **String** | | [optional]
9
- **app_display_state** | **String** | | [optional]
10
- **app_id** | **Integer** | | [optional]
11
- **app_name** | **String** | | [optional]
12
- **app_state** | **String** | | [optional]
13
- **app_token** | **String** | | [optional]
14
- **app_type** | **String** | | [optional]
15
- **back_to_normal_needed** | **BOOLEAN** | | [optional]
16
- **chart_key** | **String** | | [optional]
17
- **color** | **String** | | [optional]
18
- **creator_email** | **String** | | [optional]
19
- **default_agg_type** | **String** | | [optional]
20
- **description** | **String** | | [optional]
21
- **disallowed_app_types** | **Array&lt;Integer&gt;** | | [optional]
22
- **enabled** | **BOOLEAN** | | [optional]
23
- **estimate_operation** | **String** | | [optional]
24
- **estimate_value** | **Float** | | [optional]
25
- **filter_values** | **String** | | [optional]
26
- **filter_values_obj** | [**Array&lt;FilterValue&gt;**](FilterValue.md) | | [optional]
27
- **ignore_regular_events_enabled** | **BOOLEAN** | | [optional]
28
- **integrations** | **String** | | [optional]
29
- **last_data_received_date** | **Integer** | | [optional]
30
- **last_sent** | **Integer** | | [optional]
31
- **last_triggered** | **Integer** | | [optional]
32
- **metadata** | **Object** | | [optional]
33
- **metric_key** | **String** | | [optional]
34
- **metric_label** | **String** | | [optional]
35
- **min_delay_between_notifications_in_minutes** | **String** | | [optional]
36
- **name** | **String** | | [optional]
37
- **notification_emails** | **Array&lt;String&gt;** | | [optional]
38
- **notification_integrations** | [**Array&lt;NotificationIntegration&gt;**](NotificationIntegration.md) | | [optional]
39
- **notifications_enabled** | **BOOLEAN** | | [optional]
40
- **query** | **String** | | [optional]
41
- **report_name** | **String** | | [optional]
42
- **rule_key** | **Integer** | | [optional]
43
- **rule_type** | **String** | | [optional]
44
- **runbook** | **String** | | [optional]
45
- **saved_query_id** | **Integer** | | [optional]
46
- **schedule** | [**Array&lt;AlertRuleScheduleWeekdayDto&gt;**](AlertRuleScheduleWeekdayDto.md) | | [optional]
47
- **sematext_service** | **String** | | [optional]
48
- **send_to_email** | **String** | | [optional]
49
- **timezone** | **String** | | [optional]
50
- **use_only_alert_rule_integrations** | **BOOLEAN** | | [optional]
51
- **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional]
52
- **value_column_name** | **String** | | [optional]
53
- **value_name** | **String** | | [optional]
4
+ | Name | Type | Description | Notes |
5
+ | ---------------------------------------------- | ------------------------------------------------------------------------------ | ----------- | ---------- |
6
+ | **account_email** | **String** | | [optional] |
7
+ | **allowed_app_types** | **Array&lt;Integer&gt;** | | [optional] |
8
+ | **analyzing_time** | **String** | | [optional] |
9
+ | **app_display_state** | **String** | | [optional] |
10
+ | **app_id** | **Integer** | | [optional] |
11
+ | **app_name** | **String** | | [optional] |
12
+ | **app_state** | **String** | | [optional] |
13
+ | **app_token** | **String** | | [optional] |
14
+ | **app_type** | **String** | | [optional] |
15
+ | **back_to_normal_needed** | **BOOLEAN** | | [optional] |
16
+ | **chart_key** | **String** | | [optional] |
17
+ | **color** | **String** | | [optional] |
18
+ | **creator_email** | **String** | | [optional] |
19
+ | **default_agg_type** | **String** | | [optional] |
20
+ | **description** | **String** | | [optional] |
21
+ | **disallowed_app_types** | **Array&lt;Integer&gt;** | | [optional] |
22
+ | **enabled** | **BOOLEAN** | | [optional] |
23
+ | **estimate_operation** | **String** | | [optional] |
24
+ | **estimate_value** | **Float** | | [optional] |
25
+ | **filter_values** | **String** | | [optional] |
26
+ | **filter_values_obj** | [**Array&lt;FilterValue&gt;**](FilterValue.md) | | [optional] |
27
+ | **ignore_regular_events_enabled** | **BOOLEAN** | | [optional] |
28
+ | **integrations** | **String** | | [optional] |
29
+ | **last_data_received_date** | **Integer** | | [optional] |
30
+ | **last_sent** | **Integer** | | [optional] |
31
+ | **last_triggered** | **Integer** | | [optional] |
32
+ | **metadata** | **Object** | | [optional] |
33
+ | **metric_key** | **String** | | [optional] |
34
+ | **metric_label** | **String** | | [optional] |
35
+ | **min_delay_between_notifications_in_minutes** | **String** | | [optional] |
36
+ | **name** | **String** | | [optional] |
37
+ | **notification_emails** | **Array&lt;String&gt;** | | [optional] |
38
+ | **notification_integrations** | [**Array&lt;NotificationIntegration&gt;**](NotificationIntegration.md) | | [optional] |
39
+ | **notifications_enabled** | **BOOLEAN** | | [optional] |
40
+ | **query** | **String** | | [optional] |
41
+ | **report_name** | **String** | | [optional] |
42
+ | **rule_key** | **Integer** | | [optional] |
43
+ | **rule_type** | **String** | | [optional] |
44
+ | **runbook** | **String** | | [optional] |
45
+ | **saved_query_id** | **Integer** | | [optional] |
46
+ | **schedule** | [**Array&lt;AlertRuleScheduleWeekdayDto&gt;**](AlertRuleScheduleWeekdayDto.md) | | [optional] |
47
+ | **sematext_service** | **String** | | [optional] |
48
+ | **send_to_email** | **String** | | [optional] |
49
+ | **timezone** | **String** | | [optional] |
50
+ | **use_only_alert_rule_integrations** | **BOOLEAN** | | [optional] |
51
+ | **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
52
+ | **value_column_name** | **String** | | [optional] |
53
+ | **value_name** | **String** | | [optional] |
@@ -1,7 +1,7 @@
1
1
  # SematextCloud::AlertRuleScheduleTimeRangeDto
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **_end** | **String** | | [optional]
7
- **start** | **String** | | [optional]
4
+ | Name | Type | Description | Notes |
5
+ | --------- | ---------- | ----------- | ---------- |
6
+ | **_end** | **String** | | [optional] |
7
+ | **start** | **String** | | [optional] |