SematextCloud 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/AlertNotificationsApi.md +12 -12
- data/docs/AlertRule.md +1 -0
- data/docs/AlertsApi.md +15 -15
- data/docs/AppsApi.md +20 -20
- data/docs/AwsSettingsControllerApi.md +7 -7
- data/docs/BillingApi.md +10 -10
- data/docs/MonitoringAppApi.md +7 -7
- data/docs/PlansResponseEntry.md +1 -1
- data/docs/ServiceIntegration.md +14 -14
- data/docs/SubscriptionsApi.md +40 -40
- data/docs/TagApiControllerApi.md +72 -5
- data/docs/TagsGrouped.md +8 -0
- data/docs/TagsGroupedResponse.md +7 -0
- data/docs/TokensApiControllerApi.md +15 -15
- data/docs/UserPermissions.md +5 -5
- data/docs/UserRole.md +5 -5
- data/lib/SematextCloud/api/alert_notifications_api.rb +14 -14
- data/lib/SematextCloud/api/alerts_api.rb +13 -13
- data/lib/SematextCloud/api/apps_api.rb +25 -25
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +8 -8
- data/lib/SematextCloud/api/billing_api.rb +16 -16
- data/lib/SematextCloud/api/logs_app_api.rb +1 -1
- data/lib/SematextCloud/api/logs_usage_api_controller_api.rb +1 -1
- data/lib/SematextCloud/api/monitoring_app_api.rb +7 -7
- data/lib/SematextCloud/api/reset_password_api.rb +1 -1
- data/lib/SematextCloud/api/subscriptions_api.rb +48 -48
- data/lib/SematextCloud/api/tag_api_controller_api.rb +80 -1
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +14 -14
- data/lib/SematextCloud/api_client.rb +1 -1
- data/lib/SematextCloud/api_error.rb +1 -1
- data/lib/SematextCloud/configuration.rb +1 -1
- data/lib/SematextCloud/models/alert_notification.rb +1 -1
- data/lib/SematextCloud/models/alert_notification_request.rb +1 -1
- data/lib/SematextCloud/models/alert_rule.rb +23 -2
- data/lib/SematextCloud/models/alert_rule_response.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_response_entry.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +1 -1
- data/lib/SematextCloud/models/alert_rules_response.rb +1 -1
- data/lib/SematextCloud/models/alert_rules_response_entry.rb +1 -1
- data/lib/SematextCloud/models/app.rb +1 -1
- data/lib/SematextCloud/models/app_description.rb +1 -1
- data/lib/SematextCloud/models/app_metadata.rb +1 -1
- data/lib/SematextCloud/models/app_response.rb +1 -1
- data/lib/SematextCloud/models/app_response_entry.rb +1 -1
- data/lib/SematextCloud/models/app_types_response.rb +1 -1
- data/lib/SematextCloud/models/app_types_response_entry.rb +1 -1
- data/lib/SematextCloud/models/apps_response.rb +1 -1
- data/lib/SematextCloud/models/apps_response_entry.rb +1 -1
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +1 -1
- data/lib/SematextCloud/models/basic_organization_dto.rb +1 -1
- data/lib/SematextCloud/models/billing_info.rb +1 -1
- data/lib/SematextCloud/models/charges_details_response_dto.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings_response_entry.rb +1 -1
- data/lib/SematextCloud/models/create_app_info.rb +1 -1
- data/lib/SematextCloud/models/create_token_dto.rb +1 -1
- data/lib/SematextCloud/models/daily_dto.rb +1 -1
- data/lib/SematextCloud/models/day_usage_data.rb +1 -1
- data/lib/SematextCloud/models/dimension.rb +1 -1
- data/lib/SematextCloud/models/error.rb +1 -1
- data/lib/SematextCloud/models/event_dto.rb +1 -1
- data/lib/SematextCloud/models/filter_value.rb +1 -1
- data/lib/SematextCloud/models/generic_api_response.rb +1 -1
- data/lib/SematextCloud/models/generic_map_based_api_response.rb +1 -1
- data/lib/SematextCloud/models/invitation.rb +1 -1
- data/lib/SematextCloud/models/invoice.rb +1 -1
- data/lib/SematextCloud/models/invoice_response.rb +1 -1
- data/lib/SematextCloud/models/invoice_response_entry.rb +1 -1
- data/lib/SematextCloud/models/limit_change_event_dto.rb +1 -1
- data/lib/SematextCloud/models/mail_report_response.rb +1 -1
- data/lib/SematextCloud/models/mail_report_response_response_entry.rb +1 -1
- data/lib/SematextCloud/models/min_period_fee_period.rb +1 -1
- data/lib/SematextCloud/models/notification_integration.rb +1 -1
- data/lib/SematextCloud/models/notifications_response.rb +1 -1
- data/lib/SematextCloud/models/notifications_response_entry.rb +1 -1
- data/lib/SematextCloud/models/plan.rb +1 -1
- data/lib/SematextCloud/models/plans_response.rb +1 -1
- data/lib/SematextCloud/models/plans_response_entry.rb +1 -1
- data/lib/SematextCloud/models/report_info.rb +1 -1
- data/lib/SematextCloud/models/service_integration.rb +1 -1
- data/lib/SematextCloud/models/subscription.rb +1 -1
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +1 -1
- data/lib/SematextCloud/models/subscription_dto.rb +1 -1
- data/lib/SematextCloud/models/subscription_response.rb +1 -1
- data/lib/SematextCloud/models/subscription_response_entry.rb +1 -1
- data/lib/SematextCloud/models/subscriptions_response.rb +1 -1
- data/lib/SematextCloud/models/subscriptions_response_entry.rb +1 -1
- data/lib/SematextCloud/models/tag_names_response.rb +1 -1
- data/lib/SematextCloud/models/tags_grouped.rb +227 -0
- data/lib/SematextCloud/models/tags_grouped_response.rb +213 -0
- data/lib/SematextCloud/models/token_dto.rb +1 -1
- data/lib/SematextCloud/models/token_response.rb +1 -1
- data/lib/SematextCloud/models/token_response_entry.rb +1 -1
- data/lib/SematextCloud/models/tokens_response.rb +1 -1
- data/lib/SematextCloud/models/tokens_response_entry.rb +1 -1
- data/lib/SematextCloud/models/update_app_info.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response_dto.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response_entry.rb +1 -1
- data/lib/SematextCloud/models/update_subscription_dto.rb +1 -1
- data/lib/SematextCloud/models/update_token_dto.rb +1 -1
- data/lib/SematextCloud/models/usage_dto.rb +1 -1
- data/lib/SematextCloud/models/usage_multi_response.rb +1 -1
- data/lib/SematextCloud/models/usage_multi_response_entry.rb +1 -1
- data/lib/SematextCloud/models/usage_response.rb +1 -1
- data/lib/SematextCloud/models/usage_response_entry.rb +1 -1
- data/lib/SematextCloud/models/user_info.rb +1 -1
- data/lib/SematextCloud/models/user_permissions.rb +1 -1
- data/lib/SematextCloud/models/user_role.rb +1 -1
- data/lib/SematextCloud/version.rb +2 -2
- data/lib/SematextCloud.rb +3 -1
- data/spec/api/alert_notifications_api_spec.rb +5 -5
- data/spec/api/alerts_api_spec.rb +5 -5
- data/spec/api/apps_api_spec.rb +9 -9
- data/spec/api/aws_settings_controller_api_spec.rb +3 -3
- data/spec/api/billing_api_spec.rb +5 -5
- data/spec/api/logs_app_api_spec.rb +1 -1
- data/spec/api/logs_usage_api_controller_api_spec.rb +1 -1
- data/spec/api/monitoring_app_api_spec.rb +3 -3
- data/spec/api/reset_password_api_spec.rb +1 -1
- data/spec/api/subscriptions_api_spec.rb +15 -15
- data/spec/api/tag_api_controller_api_spec.rb +19 -1
- data/spec/api/tokens_api_controller_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/alert_notification_request_spec.rb +1 -1
- data/spec/models/alert_notification_spec.rb +1 -1
- data/spec/models/alert_rule_response_entry_spec.rb +1 -1
- data/spec/models/alert_rule_response_spec.rb +1 -1
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +1 -1
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +1 -1
- data/spec/models/alert_rule_spec.rb +11 -1
- data/spec/models/alert_rules_response_entry_spec.rb +1 -1
- data/spec/models/alert_rules_response_spec.rb +1 -1
- data/spec/models/app_description_spec.rb +1 -1
- data/spec/models/app_metadata_spec.rb +1 -1
- data/spec/models/app_response_entry_spec.rb +1 -1
- data/spec/models/app_response_spec.rb +1 -1
- data/spec/models/app_spec.rb +1 -1
- data/spec/models/app_types_response_entry_spec.rb +1 -1
- data/spec/models/app_types_response_spec.rb +1 -1
- data/spec/models/apps_response_entry_spec.rb +1 -1
- data/spec/models/apps_response_spec.rb +1 -1
- data/spec/models/basic_auth_method_dto_spec.rb +1 -1
- data/spec/models/basic_organization_dto_spec.rb +1 -1
- data/spec/models/billing_info_spec.rb +1 -1
- data/spec/models/charges_details_response_dto_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_response_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_spec.rb +1 -1
- data/spec/models/create_app_info_spec.rb +1 -1
- data/spec/models/create_token_dto_spec.rb +1 -1
- data/spec/models/daily_dto_spec.rb +1 -1
- data/spec/models/day_usage_data_spec.rb +1 -1
- data/spec/models/dimension_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/event_dto_spec.rb +1 -1
- data/spec/models/filter_value_spec.rb +1 -1
- data/spec/models/generic_api_response_spec.rb +1 -1
- data/spec/models/generic_map_based_api_response_spec.rb +1 -1
- data/spec/models/invitation_spec.rb +1 -1
- data/spec/models/invoice_response_entry_spec.rb +1 -1
- data/spec/models/invoice_response_spec.rb +1 -1
- data/spec/models/invoice_spec.rb +1 -1
- data/spec/models/limit_change_event_dto_spec.rb +1 -1
- data/spec/models/mail_report_response_response_entry_spec.rb +1 -1
- data/spec/models/mail_report_response_spec.rb +1 -1
- data/spec/models/min_period_fee_period_spec.rb +1 -1
- data/spec/models/notification_integration_spec.rb +1 -1
- data/spec/models/notifications_response_entry_spec.rb +1 -1
- data/spec/models/notifications_response_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/plans_response_entry_spec.rb +1 -1
- data/spec/models/plans_response_spec.rb +1 -1
- data/spec/models/report_info_spec.rb +1 -1
- data/spec/models/service_integration_spec.rb +1 -1
- data/spec/models/subscription_dashboard_dto_spec.rb +1 -1
- data/spec/models/subscription_dto_spec.rb +1 -1
- data/spec/models/subscription_response_entry_spec.rb +1 -1
- data/spec/models/subscription_response_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/subscriptions_response_entry_spec.rb +1 -1
- data/spec/models/subscriptions_response_spec.rb +1 -1
- data/spec/models/tag_names_response_spec.rb +1 -1
- data/spec/models/tags_grouped_response_spec.rb +40 -0
- data/spec/models/tags_grouped_spec.rb +46 -0
- data/spec/models/token_dto_spec.rb +1 -1
- data/spec/models/token_response_entry_spec.rb +1 -1
- data/spec/models/token_response_spec.rb +1 -1
- data/spec/models/tokens_response_entry_spec.rb +1 -1
- data/spec/models/tokens_response_spec.rb +1 -1
- data/spec/models/update_app_info_spec.rb +1 -1
- data/spec/models/update_plan_response_dto_spec.rb +1 -1
- data/spec/models/update_plan_response_entry_spec.rb +1 -1
- data/spec/models/update_plan_response_spec.rb +1 -1
- data/spec/models/update_subscription_dto_spec.rb +1 -1
- data/spec/models/update_token_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/usage_multi_response_entry_spec.rb +1 -1
- data/spec/models/usage_multi_response_spec.rb +1 -1
- data/spec/models/usage_response_entry_spec.rb +1 -1
- data/spec/models/usage_response_spec.rb +1 -1
- data/spec/models/user_info_spec.rb +1 -1
- data/spec/models/user_permissions_spec.rb +1 -1
- data/spec/models/user_role_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +83 -75
data/docs/TagApiControllerApi.md
CHANGED
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**get_tag_names_using_get**](TagApiControllerApi.md#get_tag_names_using_get)
|
8
|
-
| [**
|
9
|
-
| [**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
7
|
+
| [**get_tag_names_using_get**](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. |
|
8
|
+
| [**get_tags_grouped_by_id_using_get1**](TagApiControllerApi.md#get_tags_grouped_by_id_using_get1) | **GET** /spm-reports/api/v3/apps/{appIds}/grouped | Gets tag names grouped by application id. |
|
9
|
+
| [**get_using_get**](TagApiControllerApi.md#get_using_get) | **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. |
|
10
|
+
| [**get_using_get3**](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. |
|
10
11
|
|
11
12
|
# **get_tag_names_using_get**
|
12
13
|
|
@@ -72,6 +73,72 @@ end
|
|
72
73
|
- **Content-Type**: Not defined
|
73
74
|
- **Accept**: application/json
|
74
75
|
|
76
|
+
# **get_tags_grouped_by_id_using_get1**
|
77
|
+
|
78
|
+
> TagsGroupedResponse get_tags_grouped_by_id_using_get1(app_ids, tag, opts)
|
79
|
+
|
80
|
+
Gets tag names grouped by application id.
|
81
|
+
|
82
|
+
### Example
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
# load the gem
|
86
|
+
require 'SematextCloud'
|
87
|
+
# setup authorization
|
88
|
+
SematextCloud.configure do |config|
|
89
|
+
# Configure API key authorization: api_key
|
90
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
91
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
92
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
93
|
+
end
|
94
|
+
|
95
|
+
api_instance = SematextCloud::TagApiControllerApi.new
|
96
|
+
app_ids = 'app_ids_example' # String | appIds
|
97
|
+
tag = ['tag_example'] # Array<String> | tag
|
98
|
+
opts = {
|
99
|
+
from: 789, # Integer | from
|
100
|
+
to: 789, # Integer | to
|
101
|
+
metrics: true, # BOOLEAN | metrics
|
102
|
+
logs: true, # BOOLEAN | logs
|
103
|
+
events: false, # BOOLEAN | events
|
104
|
+
rum: true # BOOLEAN | rum
|
105
|
+
}
|
106
|
+
|
107
|
+
begin
|
108
|
+
#Gets tag names grouped by application id.
|
109
|
+
result = api_instance.get_tags_grouped_by_id_using_get1(app_ids, tag, opts)
|
110
|
+
p result
|
111
|
+
rescue SematextCloud::ApiError => e
|
112
|
+
puts "Exception when calling TagApiControllerApi->get_tags_grouped_by_id_using_get1: #{e}"
|
113
|
+
end
|
114
|
+
```
|
115
|
+
|
116
|
+
### Parameters
|
117
|
+
|
118
|
+
| Name | Type | Description | Notes |
|
119
|
+
| ----------- | ------------------------------------ | ----------- | ----------------------------- |
|
120
|
+
| **app_ids** | **String** | appIds |
|
121
|
+
| **tag** | [**Array<String>**](String.md) | tag |
|
122
|
+
| **from** | **Integer** | from | [optional] |
|
123
|
+
| **to** | **Integer** | to | [optional] |
|
124
|
+
| **metrics** | **BOOLEAN** | metrics | [optional] [default to true] |
|
125
|
+
| **logs** | **BOOLEAN** | logs | [optional] [default to true] |
|
126
|
+
| **events** | **BOOLEAN** | events | [optional] [default to false] |
|
127
|
+
| **rum** | **BOOLEAN** | rum | [optional] [default to true] |
|
128
|
+
|
129
|
+
### Return type
|
130
|
+
|
131
|
+
[**TagsGroupedResponse**](TagsGroupedResponse.md)
|
132
|
+
|
133
|
+
### Authorization
|
134
|
+
|
135
|
+
[api_key](../README.md#api_key)
|
136
|
+
|
137
|
+
### HTTP request headers
|
138
|
+
|
139
|
+
- **Content-Type**: Not defined
|
140
|
+
- **Accept**: application/json
|
141
|
+
|
75
142
|
# **get_using_get**
|
76
143
|
|
77
144
|
> Hash<String, Dimension> get_using_get(app_ids, tag, opts)
|
data/docs/TagsGrouped.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# SematextCloud::TagsGrouped
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---------- | ------------------------------------------------- | ----------- | ----- |
|
7
|
+
| **app_id** | **Integer** | |
|
8
|
+
| **tags** | [**Hash<String, Dimension>**](Dimension.md) | |
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**create_app_token1**](TokensApiControllerApi.md#create_app_token1)
|
8
|
-
| [**delete_app_token1**](TokensApiControllerApi.md#delete_app_token1)
|
9
|
-
| [**
|
10
|
-
| [**
|
11
|
-
| [**update_app_token1**](TokensApiControllerApi.md#update_app_token1)
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| -------------------------------------------------------------------------- | ------------------------------------------------------------------- | ----------------------------------------- |
|
7
|
+
| [**create_app_token1**](TokensApiControllerApi.md#create_app_token1) | **POST** /users-web/api/v3/apps/{appId}/tokens | Create new app token |
|
8
|
+
| [**delete_app_token1**](TokensApiControllerApi.md#delete_app_token1) | **DELETE** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Delete app token |
|
9
|
+
| [**get_app_tokens1**](TokensApiControllerApi.md#get_app_tokens1) | **GET** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens |
|
10
|
+
| [**regenerate_app_token**](TokensApiControllerApi.md#regenerate_app_token) | **POST** /users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate | Regenerate app token) |
|
11
|
+
| [**update_app_token1**](TokensApiControllerApi.md#update_app_token1) | **PUT** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable or name) |
|
12
12
|
|
13
13
|
# **create_app_token1**
|
14
14
|
|
@@ -116,9 +116,9 @@ end
|
|
116
116
|
- **Content-Type**: Not defined
|
117
117
|
- **Accept**: application/json
|
118
118
|
|
119
|
-
# **
|
119
|
+
# **get_app_tokens1**
|
120
120
|
|
121
|
-
> TokensResponse
|
121
|
+
> TokensResponse get_app_tokens1(app_id)
|
122
122
|
|
123
123
|
Get app available tokens
|
124
124
|
|
@@ -141,10 +141,10 @@ app_id = 789 # Integer | appId
|
|
141
141
|
|
142
142
|
begin
|
143
143
|
#Get app available tokens
|
144
|
-
result = api_instance.
|
144
|
+
result = api_instance.get_app_tokens1(app_id)
|
145
145
|
p result
|
146
146
|
rescue SematextCloud::ApiError => e
|
147
|
-
puts "Exception when calling TokensApiControllerApi->
|
147
|
+
puts "Exception when calling TokensApiControllerApi->get_app_tokens1: #{e}"
|
148
148
|
end
|
149
149
|
```
|
150
150
|
|
@@ -167,9 +167,9 @@ end
|
|
167
167
|
- **Content-Type**: Not defined
|
168
168
|
- **Accept**: application/json
|
169
169
|
|
170
|
-
# **
|
170
|
+
# **regenerate_app_token**
|
171
171
|
|
172
|
-
> TokenResponse
|
172
|
+
> TokenResponse regenerate_app_token(app_id, token_id)
|
173
173
|
|
174
174
|
Regenerate app token)
|
175
175
|
|
@@ -193,10 +193,10 @@ token_id = 789 # Integer | tokenId
|
|
193
193
|
|
194
194
|
begin
|
195
195
|
#Regenerate app token)
|
196
|
-
result = api_instance.
|
196
|
+
result = api_instance.regenerate_app_token(app_id, token_id)
|
197
197
|
p result
|
198
198
|
rescue SematextCloud::ApiError => e
|
199
|
-
puts "Exception when calling TokensApiControllerApi->
|
199
|
+
puts "Exception when calling TokensApiControllerApi->regenerate_app_token: #{e}"
|
200
200
|
end
|
201
201
|
```
|
202
202
|
|
data/docs/UserPermissions.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**can_delete** | **BOOLEAN** | | [optional]
|
8
|
+
**can_edit** | **BOOLEAN** | | [optional]
|
9
|
+
**can_view** | **BOOLEAN** | | [optional]
|
data/docs/UserRole.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**role** | **String** | | [optional]
|
8
|
+
**role_status** | **String** | | [optional]
|
9
|
+
**user_email** | **String** | | [optional]
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v3
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
module SematextCloud
|
@@ -22,8 +22,8 @@ module SematextCloud
|
|
22
22
|
# @param app_id appId
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @return [NotificationsResponse]
|
25
|
-
def
|
26
|
-
data, _status_code, _headers =
|
25
|
+
def get_alert_notifications_for_app_using_post1(body, app_id, opts = {})
|
26
|
+
data, _status_code, _headers = get_alert_notifications_for_app_using_post1_with_http_info(body, app_id, opts)
|
27
27
|
data
|
28
28
|
end
|
29
29
|
|
@@ -33,17 +33,17 @@ module SematextCloud
|
|
33
33
|
# @param app_id appId
|
34
34
|
# @param [Hash] opts the optional parameters
|
35
35
|
# @return [Array<(NotificationsResponse, Integer, Hash)>] NotificationsResponse data, response status code and response headers
|
36
|
-
def
|
36
|
+
def get_alert_notifications_for_app_using_post1_with_http_info(body, app_id, opts = {})
|
37
37
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug 'Calling API: AlertNotificationsApi.
|
38
|
+
@api_client.config.logger.debug 'Calling API: AlertNotificationsApi.get_alert_notifications_for_app_using_post1 ...'
|
39
39
|
end
|
40
40
|
# verify the required parameter 'body' is set
|
41
41
|
if @api_client.config.client_side_validation && body.nil?
|
42
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertNotificationsApi.
|
42
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AlertNotificationsApi.get_alert_notifications_for_app_using_post1"
|
43
43
|
end
|
44
44
|
# verify the required parameter 'app_id' is set
|
45
45
|
if @api_client.config.client_side_validation && app_id.nil?
|
46
|
-
fail ArgumentError, "Missing the required parameter 'app_id' when calling AlertNotificationsApi.
|
46
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AlertNotificationsApi.get_alert_notifications_for_app_using_post1"
|
47
47
|
end
|
48
48
|
# resource path
|
49
49
|
local_var_path = '/users-web/api/v3/apps/{appId}/notifications/alerts'.sub('{' + 'appId' + '}', app_id.to_s)
|
@@ -76,7 +76,7 @@ module SematextCloud
|
|
76
76
|
:return_type => return_type)
|
77
77
|
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: AlertNotificationsApi#
|
79
|
+
@api_client.config.logger.debug "API called: AlertNotificationsApi#get_alert_notifications_for_app_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|
@@ -85,8 +85,8 @@ module SematextCloud
|
|
85
85
|
# @param body Time Interval
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [NotificationsResponse]
|
88
|
-
def
|
89
|
-
data, _status_code, _headers =
|
88
|
+
def get_alert_notifications_for_user_using_post1(body, opts = {})
|
89
|
+
data, _status_code, _headers = get_alert_notifications_for_user_using_post1_with_http_info(body, opts)
|
90
90
|
data
|
91
91
|
end
|
92
92
|
|
@@ -95,13 +95,13 @@ module SematextCloud
|
|
95
95
|
# @param body Time Interval
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [Array<(NotificationsResponse, Integer, Hash)>] NotificationsResponse data, response status code and response headers
|
98
|
-
def
|
98
|
+
def get_alert_notifications_for_user_using_post1_with_http_info(body, opts = {})
|
99
99
|
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug 'Calling API: AlertNotificationsApi.
|
100
|
+
@api_client.config.logger.debug 'Calling API: AlertNotificationsApi.get_alert_notifications_for_user_using_post1 ...'
|
101
101
|
end
|
102
102
|
# verify the required parameter 'body' is set
|
103
103
|
if @api_client.config.client_side_validation && body.nil?
|
104
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertNotificationsApi.
|
104
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AlertNotificationsApi.get_alert_notifications_for_user_using_post1"
|
105
105
|
end
|
106
106
|
# resource path
|
107
107
|
local_var_path = '/users-web/api/v3/notifications/alerts'
|
@@ -134,7 +134,7 @@ module SematextCloud
|
|
134
134
|
:return_type => return_type)
|
135
135
|
|
136
136
|
if @api_client.config.debugging
|
137
|
-
@api_client.config.logger.debug "API called: AlertNotificationsApi#
|
137
|
+
@api_client.config.logger.debug "API called: AlertNotificationsApi#get_alert_notifications_for_user_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
138
138
|
end
|
139
139
|
return data, status_code, headers
|
140
140
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v3
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
module SematextCloud
|
@@ -76,8 +76,8 @@ module SematextCloud
|
|
76
76
|
# @param updateable_alert_id updateableAlertId
|
77
77
|
# @param [Hash] opts the optional parameters
|
78
78
|
# @return [GenericMapBasedApiResponse]
|
79
|
-
def
|
80
|
-
data, _status_code, _headers =
|
79
|
+
def delete_alert_rule_using_delete(updateable_alert_id, opts = {})
|
80
|
+
data, _status_code, _headers = delete_alert_rule_using_delete_with_http_info(updateable_alert_id, opts)
|
81
81
|
data
|
82
82
|
end
|
83
83
|
|
@@ -85,13 +85,13 @@ module SematextCloud
|
|
85
85
|
# @param updateable_alert_id updateableAlertId
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [Array<(GenericMapBasedApiResponse, Integer, Hash)>] GenericMapBasedApiResponse data, response status code and response headers
|
88
|
-
def
|
88
|
+
def delete_alert_rule_using_delete_with_http_info(updateable_alert_id, opts = {})
|
89
89
|
if @api_client.config.debugging
|
90
|
-
@api_client.config.logger.debug 'Calling API: AlertsApi.
|
90
|
+
@api_client.config.logger.debug 'Calling API: AlertsApi.delete_alert_rule_using_delete ...'
|
91
91
|
end
|
92
92
|
# verify the required parameter 'updateable_alert_id' is set
|
93
93
|
if @api_client.config.client_side_validation && updateable_alert_id.nil?
|
94
|
-
fail ArgumentError, "Missing the required parameter 'updateable_alert_id' when calling AlertsApi.
|
94
|
+
fail ArgumentError, "Missing the required parameter 'updateable_alert_id' when calling AlertsApi.delete_alert_rule_using_delete"
|
95
95
|
end
|
96
96
|
# resource path
|
97
97
|
local_var_path = '/users-web/api/v3/alerts/{updateableAlertId}'.sub('{' + 'updateableAlertId' + '}', updateable_alert_id.to_s)
|
@@ -122,7 +122,7 @@ module SematextCloud
|
|
122
122
|
:return_type => return_type)
|
123
123
|
|
124
124
|
if @api_client.config.debugging
|
125
|
-
@api_client.config.logger.debug "API called: AlertsApi#
|
125
|
+
@api_client.config.logger.debug "API called: AlertsApi#delete_alert_rule_using_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
126
126
|
end
|
127
127
|
return data, status_code, headers
|
128
128
|
end
|
@@ -238,8 +238,8 @@ module SematextCloud
|
|
238
238
|
# @param app_id appId
|
239
239
|
# @param [Hash] opts the optional parameters
|
240
240
|
# @return [AlertRulesResponse]
|
241
|
-
def
|
242
|
-
data, _status_code, _headers =
|
241
|
+
def get_alert_rules_for_app_using_get(app_id, opts = {})
|
242
|
+
data, _status_code, _headers = get_alert_rules_for_app_using_get_with_http_info(app_id, opts)
|
243
243
|
data
|
244
244
|
end
|
245
245
|
|
@@ -247,13 +247,13 @@ module SematextCloud
|
|
247
247
|
# @param app_id appId
|
248
248
|
# @param [Hash] opts the optional parameters
|
249
249
|
# @return [Array<(AlertRulesResponse, Integer, Hash)>] AlertRulesResponse data, response status code and response headers
|
250
|
-
def
|
250
|
+
def get_alert_rules_for_app_using_get_with_http_info(app_id, opts = {})
|
251
251
|
if @api_client.config.debugging
|
252
|
-
@api_client.config.logger.debug 'Calling API: AlertsApi.
|
252
|
+
@api_client.config.logger.debug 'Calling API: AlertsApi.get_alert_rules_for_app_using_get ...'
|
253
253
|
end
|
254
254
|
# verify the required parameter 'app_id' is set
|
255
255
|
if @api_client.config.client_side_validation && app_id.nil?
|
256
|
-
fail ArgumentError, "Missing the required parameter 'app_id' when calling AlertsApi.
|
256
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AlertsApi.get_alert_rules_for_app_using_get"
|
257
257
|
end
|
258
258
|
# resource path
|
259
259
|
local_var_path = '/users-web/api/v3/apps/{appId}/alerts'.sub('{' + 'appId' + '}', app_id.to_s)
|
@@ -284,7 +284,7 @@ module SematextCloud
|
|
284
284
|
:return_type => return_type)
|
285
285
|
|
286
286
|
if @api_client.config.debugging
|
287
|
-
@api_client.config.logger.debug "API called: AlertsApi#
|
287
|
+
@api_client.config.logger.debug "API called: AlertsApi#get_alert_rules_for_app_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
288
288
|
end
|
289
289
|
return data, status_code, headers
|
290
290
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v3
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
module SematextCloud
|
@@ -122,8 +122,8 @@ module SematextCloud
|
|
122
122
|
# @param any_state_app_id anyStateAppId
|
123
123
|
# @param [Hash] opts the optional parameters
|
124
124
|
# @return [AppResponse]
|
125
|
-
def
|
126
|
-
data, _status_code, _headers =
|
125
|
+
def get_using_get1(any_state_app_id, opts = {})
|
126
|
+
data, _status_code, _headers = get_using_get1_with_http_info(any_state_app_id, opts)
|
127
127
|
data
|
128
128
|
end
|
129
129
|
|
@@ -131,13 +131,13 @@ module SematextCloud
|
|
131
131
|
# @param any_state_app_id anyStateAppId
|
132
132
|
# @param [Hash] opts the optional parameters
|
133
133
|
# @return [Array<(AppResponse, Integer, Hash)>] AppResponse data, response status code and response headers
|
134
|
-
def
|
134
|
+
def get_using_get1_with_http_info(any_state_app_id, opts = {})
|
135
135
|
if @api_client.config.debugging
|
136
|
-
@api_client.config.logger.debug 'Calling API: AppsApi.
|
136
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.get_using_get1 ...'
|
137
137
|
end
|
138
138
|
# verify the required parameter 'any_state_app_id' is set
|
139
139
|
if @api_client.config.client_side_validation && any_state_app_id.nil?
|
140
|
-
fail ArgumentError, "Missing the required parameter 'any_state_app_id' when calling AppsApi.
|
140
|
+
fail ArgumentError, "Missing the required parameter 'any_state_app_id' when calling AppsApi.get_using_get1"
|
141
141
|
end
|
142
142
|
# resource path
|
143
143
|
local_var_path = '/users-web/api/v3/apps/{anyStateAppId}'.sub('{' + 'anyStateAppId' + '}', any_state_app_id.to_s)
|
@@ -168,7 +168,7 @@ module SematextCloud
|
|
168
168
|
:return_type => return_type)
|
169
169
|
|
170
170
|
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug "API called: AppsApi#
|
171
|
+
@api_client.config.logger.debug "API called: AppsApi#get_using_get1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
172
172
|
end
|
173
173
|
return data, status_code, headers
|
174
174
|
end
|
@@ -176,8 +176,8 @@ module SematextCloud
|
|
176
176
|
# @param body For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
178
|
# @return [GenericMapBasedApiResponse]
|
179
|
-
def
|
180
|
-
data, _status_code, _headers =
|
179
|
+
def invite_app_guests_using_post1(body, opts = {})
|
180
|
+
data, _status_code, _headers = invite_app_guests_using_post1_with_http_info(body, opts)
|
181
181
|
data
|
182
182
|
end
|
183
183
|
|
@@ -185,13 +185,13 @@ module SematextCloud
|
|
185
185
|
# @param body For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
|
186
186
|
# @param [Hash] opts the optional parameters
|
187
187
|
# @return [Array<(GenericMapBasedApiResponse, Integer, Hash)>] GenericMapBasedApiResponse data, response status code and response headers
|
188
|
-
def
|
188
|
+
def invite_app_guests_using_post1_with_http_info(body, opts = {})
|
189
189
|
if @api_client.config.debugging
|
190
|
-
@api_client.config.logger.debug 'Calling API: AppsApi.
|
190
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.invite_app_guests_using_post1 ...'
|
191
191
|
end
|
192
192
|
# verify the required parameter 'body' is set
|
193
193
|
if @api_client.config.client_side_validation && body.nil?
|
194
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.
|
194
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.invite_app_guests_using_post1"
|
195
195
|
end
|
196
196
|
# resource path
|
197
197
|
local_var_path = '/users-web/api/v3/apps/guests'
|
@@ -224,7 +224,7 @@ module SematextCloud
|
|
224
224
|
:return_type => return_type)
|
225
225
|
|
226
226
|
if @api_client.config.debugging
|
227
|
-
@api_client.config.logger.debug "API called: AppsApi#
|
227
|
+
@api_client.config.logger.debug "API called: AppsApi#invite_app_guests_using_post1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
228
228
|
end
|
229
229
|
return data, status_code, headers
|
230
230
|
end
|
@@ -279,17 +279,17 @@ module SematextCloud
|
|
279
279
|
# Get all apps accessible by account identified with apiKey
|
280
280
|
# @param [Hash] opts the optional parameters
|
281
281
|
# @return [AppsResponse]
|
282
|
-
def
|
283
|
-
data, _status_code, _headers =
|
282
|
+
def list_using_get1(opts = {})
|
283
|
+
data, _status_code, _headers = list_using_get1_with_http_info(opts)
|
284
284
|
data
|
285
285
|
end
|
286
286
|
|
287
287
|
# Get all apps accessible by account identified with apiKey
|
288
288
|
# @param [Hash] opts the optional parameters
|
289
289
|
# @return [Array<(AppsResponse, Integer, Hash)>] AppsResponse data, response status code and response headers
|
290
|
-
def
|
290
|
+
def list_using_get1_with_http_info(opts = {})
|
291
291
|
if @api_client.config.debugging
|
292
|
-
@api_client.config.logger.debug 'Calling API: AppsApi.
|
292
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.list_using_get1 ...'
|
293
293
|
end
|
294
294
|
# resource path
|
295
295
|
local_var_path = '/users-web/api/v3/apps'
|
@@ -320,7 +320,7 @@ module SematextCloud
|
|
320
320
|
:return_type => return_type)
|
321
321
|
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug "API called: AppsApi#
|
323
|
+
@api_client.config.logger.debug "API called: AppsApi#list_using_get1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
324
324
|
end
|
325
325
|
return data, status_code, headers
|
326
326
|
end
|
@@ -390,8 +390,8 @@ module SematextCloud
|
|
390
390
|
# @param any_state_app_id App Id
|
391
391
|
# @param [Hash] opts the optional parameters
|
392
392
|
# @return [AppResponse]
|
393
|
-
def
|
394
|
-
data, _status_code, _headers =
|
393
|
+
def update_using_put3(body, any_state_app_id, opts = {})
|
394
|
+
data, _status_code, _headers = update_using_put3_with_http_info(body, any_state_app_id, opts)
|
395
395
|
data
|
396
396
|
end
|
397
397
|
|
@@ -401,17 +401,17 @@ module SematextCloud
|
|
401
401
|
# @param any_state_app_id App Id
|
402
402
|
# @param [Hash] opts the optional parameters
|
403
403
|
# @return [Array<(AppResponse, Integer, Hash)>] AppResponse data, response status code and response headers
|
404
|
-
def
|
404
|
+
def update_using_put3_with_http_info(body, any_state_app_id, opts = {})
|
405
405
|
if @api_client.config.debugging
|
406
|
-
@api_client.config.logger.debug 'Calling API: AppsApi.
|
406
|
+
@api_client.config.logger.debug 'Calling API: AppsApi.update_using_put3 ...'
|
407
407
|
end
|
408
408
|
# verify the required parameter 'body' is set
|
409
409
|
if @api_client.config.client_side_validation && body.nil?
|
410
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.
|
410
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AppsApi.update_using_put3"
|
411
411
|
end
|
412
412
|
# verify the required parameter 'any_state_app_id' is set
|
413
413
|
if @api_client.config.client_side_validation && any_state_app_id.nil?
|
414
|
-
fail ArgumentError, "Missing the required parameter 'any_state_app_id' when calling AppsApi.
|
414
|
+
fail ArgumentError, "Missing the required parameter 'any_state_app_id' when calling AppsApi.update_using_put3"
|
415
415
|
end
|
416
416
|
# resource path
|
417
417
|
local_var_path = '/users-web/api/v3/apps/{anyStateAppId}'.sub('{' + 'anyStateAppId' + '}', any_state_app_id.to_s)
|
@@ -444,7 +444,7 @@ module SematextCloud
|
|
444
444
|
:return_type => return_type)
|
445
445
|
|
446
446
|
if @api_client.config.debugging
|
447
|
-
@api_client.config.logger.debug "API called: AppsApi#
|
447
|
+
@api_client.config.logger.debug "API called: AppsApi#update_using_put3\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
448
448
|
end
|
449
449
|
return data, status_code, headers
|
450
450
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: v3
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
module SematextCloud
|
@@ -22,8 +22,8 @@ module SematextCloud
|
|
22
22
|
# @param app_id appId
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
24
|
# @return [CloudWatchSettingsResponse]
|
25
|
-
def
|
26
|
-
data, _status_code, _headers =
|
25
|
+
def update_using_put(body, app_id, opts = {})
|
26
|
+
data, _status_code, _headers = update_using_put_with_http_info(body, app_id, opts)
|
27
27
|
data
|
28
28
|
end
|
29
29
|
|
@@ -33,17 +33,17 @@ module SematextCloud
|
|
33
33
|
# @param app_id appId
|
34
34
|
# @param [Hash] opts the optional parameters
|
35
35
|
# @return [Array<(CloudWatchSettingsResponse, Integer, Hash)>] CloudWatchSettingsResponse data, response status code and response headers
|
36
|
-
def
|
36
|
+
def update_using_put_with_http_info(body, app_id, opts = {})
|
37
37
|
if @api_client.config.debugging
|
38
|
-
@api_client.config.logger.debug 'Calling API: AwsSettingsControllerApi.
|
38
|
+
@api_client.config.logger.debug 'Calling API: AwsSettingsControllerApi.update_using_put ...'
|
39
39
|
end
|
40
40
|
# verify the required parameter 'body' is set
|
41
41
|
if @api_client.config.client_side_validation && body.nil?
|
42
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AwsSettingsControllerApi.
|
42
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AwsSettingsControllerApi.update_using_put"
|
43
43
|
end
|
44
44
|
# verify the required parameter 'app_id' is set
|
45
45
|
if @api_client.config.client_side_validation && app_id.nil?
|
46
|
-
fail ArgumentError, "Missing the required parameter 'app_id' when calling AwsSettingsControllerApi.
|
46
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling AwsSettingsControllerApi.update_using_put"
|
47
47
|
end
|
48
48
|
# resource path
|
49
49
|
local_var_path = '/users-web/api/v3/apps/{appId}/aws'.sub('{' + 'appId' + '}', app_id.to_s)
|
@@ -76,7 +76,7 @@ module SematextCloud
|
|
76
76
|
:return_type => return_type)
|
77
77
|
|
78
78
|
if @api_client.config.debugging
|
79
|
-
@api_client.config.logger.debug "API called: AwsSettingsControllerApi#
|
79
|
+
@api_client.config.logger.debug "API called: AwsSettingsControllerApi#update_using_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
80
|
end
|
81
81
|
return data, status_code, headers
|
82
82
|
end
|