SematextCloud 0.1.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -1
- data/Gemfile.lock +70 -0
- data/README.md +44 -55
- data/SematextCloud.gemspec +4 -11
- data/docs/AlertNotification.md +13 -0
- data/docs/AlertNotificationRequest.md +1 -0
- data/docs/AlertNotificationsApi.md +24 -26
- data/docs/AlertRule.md +1 -0
- data/docs/AlertRuleResponse.md +10 -0
- data/docs/AlertRuleResponseEntry.md +7 -0
- data/docs/AlertRuleScheduleTimeRangeDto.md +1 -0
- data/docs/AlertRuleScheduleWeekdayDto.md +1 -0
- data/docs/AlertRulesResponse.md +10 -0
- data/docs/AlertRulesResponseEntry.md +7 -0
- data/docs/AlertsApi.md +47 -51
- data/docs/App.md +2 -0
- data/docs/AppDescription.md +1 -0
- data/docs/AppMetadata.md +1 -0
- data/docs/AppResponse.md +10 -0
- data/docs/AppResponseEntry.md +7 -0
- data/docs/AppTypesResponse.md +10 -0
- data/docs/AppTypesResponseEntry.md +7 -0
- data/docs/AppsApi.md +120 -70
- data/docs/AppsResponse.md +10 -0
- data/docs/AppsResponseEntry.md +7 -0
- data/docs/AwsSettingsControllerApi.md +14 -15
- data/docs/BasicAuthMethodDto.md +1 -0
- data/docs/BasicOrganizationDto.md +1 -0
- data/docs/BillingApi.md +30 -35
- data/docs/BillingInfo.md +1 -0
- data/docs/ChargesDetailsResponseDto.md +13 -0
- data/docs/CloudWatchSettings.md +1 -0
- data/docs/CloudWatchSettingsResponse.md +10 -0
- data/docs/CloudWatchSettingsResponseEntry.md +7 -0
- data/docs/CreateAppInfo.md +8 -7
- data/docs/CreateTokenDto.md +3 -1
- data/docs/DailyDto.md +12 -0
- data/docs/DayUsageData.md +26 -0
- data/docs/Dimension.md +8 -0
- data/docs/Error.md +1 -0
- data/docs/EventDto.md +9 -0
- data/docs/FilterValue.md +1 -0
- data/docs/GenericApiResponse.md +7 -6
- data/docs/GenericMapBasedApiResponse.md +10 -0
- data/docs/Invitation.md +2 -1
- data/docs/Invoice.md +12 -0
- data/docs/InvoiceResponse.md +10 -0
- data/docs/InvoiceResponseEntry.md +7 -0
- data/docs/LimitChangeEventDTO.md +9 -0
- data/docs/LogsAppApi.md +12 -12
- data/docs/LogsUsageApiControllerApi.md +62 -0
- data/docs/MailReportResponse.md +10 -0
- data/docs/MailReportResponseResponseEntry.md +7 -0
- data/docs/MinPeriodFeePeriod.md +19 -0
- data/docs/MonitoringAppApi.md +16 -16
- data/docs/NotificationIntegration.md +1 -0
- data/docs/NotificationsResponse.md +10 -0
- data/docs/NotificationsResponseEntry.md +9 -0
- data/docs/Plan.md +16 -15
- data/docs/PlansResponse.md +10 -0
- data/docs/PlansResponseEntry.md +7 -0
- data/docs/ReportInfo.md +12 -10
- data/docs/ResetPasswordApi.md +12 -12
- data/docs/ServiceIntegration.md +1 -0
- data/docs/Subscription.md +22 -0
- data/docs/SubscriptionDashboardDto.md +2 -1
- data/docs/SubscriptionDto.md +17 -15
- data/docs/SubscriptionResponse.md +10 -0
- data/docs/SubscriptionResponseEntry.md +7 -0
- data/docs/SubscriptionsApi.md +160 -174
- data/docs/SubscriptionsResponse.md +10 -0
- data/docs/SubscriptionsResponseEntry.md +7 -0
- data/docs/TagApiControllerApi.md +28 -35
- data/docs/TagNamesResponse.md +7 -0
- data/docs/TokenDto.md +13 -0
- data/docs/TokenResponse.md +10 -0
- data/docs/TokenResponseEntry.md +7 -0
- data/docs/TokensApiControllerApi.md +72 -81
- data/docs/TokensResponse.md +10 -0
- data/docs/TokensResponseEntry.md +7 -0
- data/docs/UpdateAppInfo.md +2 -1
- data/docs/UpdatePlanResponse.md +10 -0
- data/docs/UpdatePlanResponseDto.md +8 -0
- data/docs/UpdatePlanResponseEntry.md +7 -0
- data/docs/UpdateSubscriptionDto.md +2 -1
- data/docs/UpdateTokenDto.md +3 -1
- data/docs/UsageDto.md +19 -0
- data/docs/UsageMultiResponse.md +10 -0
- data/docs/UsageMultiResponseEntry.md +7 -0
- data/docs/UsageResponse.md +10 -0
- data/docs/UsageResponseEntry.md +7 -0
- data/docs/UserInfo.md +1 -0
- data/docs/UserPermissions.md +1 -0
- data/docs/UserRole.md +1 -0
- data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
- data/lib/SematextCloud/api/alerts_api.rb +81 -72
- data/lib/SematextCloud/api/apps_api.rb +125 -106
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
- data/lib/SematextCloud/api/billing_api.rb +51 -46
- data/lib/SematextCloud/api/logs_app_api.rb +21 -20
- data/lib/SematextCloud/api/logs_usage_api_controller_api.rb +86 -0
- data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
- data/lib/SematextCloud/api/reset_password_api.rb +21 -20
- data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
- data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +98 -87
- data/lib/SematextCloud/api_client.rb +41 -42
- data/lib/SematextCloud/api_error.rb +21 -2
- data/lib/SematextCloud/configuration.rb +5 -9
- data/lib/SematextCloud/models/alert_notification.rb +260 -0
- data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
- data/lib/SematextCloud/models/alert_rule.rb +175 -152
- data/lib/SematextCloud/models/alert_rule_response.rb +235 -0
- data/lib/SematextCloud/models/alert_rule_response_entry.rb +206 -0
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
- data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
- data/lib/SematextCloud/models/alert_rules_response_entry.rb +208 -0
- data/lib/SematextCloud/models/app.rb +163 -93
- data/lib/SematextCloud/models/app_description.rb +41 -18
- data/lib/SematextCloud/models/app_metadata.rb +60 -37
- data/lib/SematextCloud/models/app_response.rb +235 -0
- data/lib/SematextCloud/models/app_response_entry.rb +206 -0
- data/lib/SematextCloud/models/app_types_response.rb +235 -0
- data/lib/SematextCloud/models/app_types_response_entry.rb +208 -0
- data/lib/SematextCloud/models/apps_response.rb +235 -0
- data/lib/SematextCloud/models/apps_response_entry.rb +208 -0
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
- data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
- data/lib/SematextCloud/models/billing_info.rb +48 -25
- data/lib/SematextCloud/models/charges_details_response_dto.rb +298 -0
- data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
- data/lib/SematextCloud/models/cloud_watch_settings_response_entry.rb +206 -0
- data/lib/SematextCloud/models/create_app_info.rb +53 -31
- data/lib/SematextCloud/models/create_token_dto.rb +54 -22
- data/lib/SematextCloud/models/daily_dto.rb +251 -0
- data/lib/SematextCloud/models/day_usage_data.rb +411 -0
- data/lib/SematextCloud/models/{data_series_filter.rb → dimension.rb} +59 -69
- data/lib/SematextCloud/models/error.rb +43 -20
- data/lib/SematextCloud/models/{data_series_request.rb → event_dto.rb} +65 -90
- data/lib/SematextCloud/models/filter_value.rb +53 -30
- data/lib/SematextCloud/models/generic_api_response.rb +46 -24
- data/lib/SematextCloud/models/generic_map_based_api_response.rb +236 -0
- data/lib/SematextCloud/models/invitation.rb +74 -52
- data/lib/SematextCloud/models/invoice.rb +253 -0
- data/lib/SematextCloud/models/invoice_response.rb +235 -0
- data/lib/SematextCloud/models/invoice_response_entry.rb +206 -0
- data/lib/SematextCloud/models/limit_change_event_dto.rb +224 -0
- data/lib/SematextCloud/models/mail_report_response.rb +235 -0
- data/lib/SematextCloud/models/mail_report_response_response_entry.rb +206 -0
- data/lib/SematextCloud/models/min_period_fee_period.rb +314 -0
- data/lib/SematextCloud/models/notification_integration.rb +73 -50
- data/lib/SematextCloud/models/notifications_response.rb +235 -0
- data/lib/SematextCloud/models/notifications_response_entry.rb +226 -0
- data/lib/SematextCloud/models/plan.rb +80 -57
- data/lib/SematextCloud/models/plans_response.rb +235 -0
- data/lib/SematextCloud/models/plans_response_entry.rb +208 -0
- data/lib/SematextCloud/models/report_info.rb +69 -37
- data/lib/SematextCloud/models/service_integration.rb +71 -48
- data/lib/SematextCloud/models/subscription.rb +387 -0
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
- data/lib/SematextCloud/models/subscription_dto.rb +85 -53
- data/lib/SematextCloud/models/subscription_response.rb +235 -0
- data/lib/SematextCloud/models/subscription_response_entry.rb +206 -0
- data/lib/SematextCloud/models/subscriptions_response.rb +235 -0
- data/lib/SematextCloud/models/subscriptions_response_entry.rb +208 -0
- data/lib/SematextCloud/models/tag_names_response.rb +213 -0
- data/lib/SematextCloud/models/{saved_query.rb → token_dto.rb} +78 -109
- data/lib/SematextCloud/models/token_response.rb +235 -0
- data/lib/SematextCloud/models/token_response_entry.rb +206 -0
- data/lib/SematextCloud/models/tokens_response.rb +235 -0
- data/lib/SematextCloud/models/tokens_response_entry.rb +208 -0
- data/lib/SematextCloud/models/update_app_info.rb +64 -41
- data/lib/SematextCloud/models/update_plan_response.rb +235 -0
- data/lib/SematextCloud/models/update_plan_response_dto.rb +217 -0
- data/lib/SematextCloud/models/update_plan_response_entry.rb +206 -0
- data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
- data/lib/SematextCloud/models/update_token_dto.rb +54 -22
- data/lib/SematextCloud/models/usage_dto.rb +320 -0
- data/lib/SematextCloud/models/usage_multi_response.rb +235 -0
- data/lib/SematextCloud/models/usage_multi_response_entry.rb +206 -0
- data/lib/SematextCloud/models/usage_response.rb +235 -0
- data/lib/SematextCloud/models/usage_response_entry.rb +206 -0
- data/lib/SematextCloud/models/user_info.rb +42 -19
- data/lib/SematextCloud/models/user_permissions.rb +48 -25
- data/lib/SematextCloud/models/user_role.rb +53 -30
- data/lib/SematextCloud/version.rb +2 -3
- data/lib/SematextCloud.rb +57 -7
- data/spec/api/alert_notifications_api_spec.rb +5 -6
- data/spec/api/alerts_api_spec.rb +11 -12
- data/spec/api/apps_api_spec.rb +26 -16
- data/spec/api/aws_settings_controller_api_spec.rb +6 -7
- data/spec/api/billing_api_spec.rb +7 -8
- data/spec/api/logs_app_api_spec.rb +3 -4
- data/spec/api/logs_usage_api_controller_api_spec.rb +47 -0
- data/spec/api/monitoring_app_api_spec.rb +5 -6
- data/spec/api/reset_password_api_spec.rb +3 -4
- data/spec/api/subscriptions_api_spec.rb +103 -11
- data/spec/api/tag_api_controller_api_spec.rb +8 -9
- data/spec/api/tokens_api_controller_api_spec.rb +18 -19
- data/spec/api_client_spec.rb +1 -2
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +4 -5
- data/spec/models/alert_notification_request_spec.rb +4 -5
- data/spec/models/alert_notification_spec.rb +76 -0
- data/spec/models/alert_rule_response_entry_spec.rb +40 -0
- data/spec/models/alert_rule_response_spec.rb +58 -0
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -5
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -5
- data/spec/models/alert_rule_spec.rb +4 -5
- data/spec/models/alert_rules_response_entry_spec.rb +40 -0
- data/spec/models/alert_rules_response_spec.rb +58 -0
- data/spec/models/app_description_spec.rb +4 -5
- data/spec/models/app_metadata_spec.rb +4 -5
- data/spec/models/app_response_entry_spec.rb +40 -0
- data/spec/models/app_response_spec.rb +58 -0
- data/spec/models/app_spec.rb +34 -5
- data/spec/models/app_types_response_entry_spec.rb +40 -0
- data/spec/models/app_types_response_spec.rb +58 -0
- data/spec/models/apps_response_entry_spec.rb +40 -0
- data/spec/models/apps_response_spec.rb +58 -0
- data/spec/models/basic_auth_method_dto_spec.rb +4 -5
- data/spec/models/basic_organization_dto_spec.rb +4 -5
- data/spec/models/billing_info_spec.rb +4 -5
- data/spec/models/{data_series_request_spec.rb → charges_details_response_dto_spec.rb} +18 -19
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +40 -0
- data/spec/models/cloud_watch_settings_response_spec.rb +58 -0
- data/spec/models/cloud_watch_settings_spec.rb +4 -5
- data/spec/models/create_app_info_spec.rb +4 -5
- data/spec/models/create_token_dto_spec.rb +10 -5
- data/spec/models/daily_dto_spec.rb +70 -0
- data/spec/models/day_usage_data_spec.rb +158 -0
- data/spec/models/dimension_spec.rb +46 -0
- data/spec/models/error_spec.rb +4 -5
- data/spec/models/{data_series_filter_spec.rb → event_dto_spec.rb} +14 -15
- data/spec/models/filter_value_spec.rb +4 -5
- data/spec/models/generic_api_response_spec.rb +4 -5
- data/spec/models/generic_map_based_api_response_spec.rb +58 -0
- data/spec/models/invitation_spec.rb +4 -5
- data/spec/models/invoice_response_entry_spec.rb +40 -0
- data/spec/models/invoice_response_spec.rb +58 -0
- data/spec/models/invoice_spec.rb +70 -0
- data/spec/models/limit_change_event_dto_spec.rb +52 -0
- data/spec/models/mail_report_response_response_entry_spec.rb +40 -0
- data/spec/models/mail_report_response_spec.rb +58 -0
- data/spec/models/min_period_fee_period_spec.rb +112 -0
- data/spec/models/notification_integration_spec.rb +4 -5
- data/spec/models/notifications_response_entry_spec.rb +52 -0
- data/spec/models/notifications_response_spec.rb +58 -0
- data/spec/models/plan_spec.rb +5 -6
- data/spec/models/plans_response_entry_spec.rb +40 -0
- data/spec/models/plans_response_spec.rb +58 -0
- data/spec/models/report_info_spec.rb +10 -5
- data/spec/models/service_integration_spec.rb +4 -5
- data/spec/models/subscription_dashboard_dto_spec.rb +4 -5
- data/spec/models/subscription_dto_spec.rb +10 -5
- data/spec/models/subscription_response_entry_spec.rb +40 -0
- data/spec/models/subscription_response_spec.rb +58 -0
- data/spec/models/subscription_spec.rb +138 -0
- data/spec/models/subscriptions_response_entry_spec.rb +40 -0
- data/spec/models/subscriptions_response_spec.rb +58 -0
- data/spec/models/tag_names_response_spec.rb +40 -0
- data/spec/models/token_dto_spec.rb +76 -0
- data/spec/models/token_response_entry_spec.rb +40 -0
- data/spec/models/token_response_spec.rb +58 -0
- data/spec/models/tokens_response_entry_spec.rb +40 -0
- data/spec/models/tokens_response_spec.rb +58 -0
- data/spec/models/update_app_info_spec.rb +4 -5
- data/spec/models/update_plan_response_dto_spec.rb +46 -0
- data/spec/models/update_plan_response_entry_spec.rb +40 -0
- data/spec/models/update_plan_response_spec.rb +58 -0
- data/spec/models/update_subscription_dto_spec.rb +4 -5
- data/spec/models/update_token_dto_spec.rb +10 -5
- data/spec/models/{saved_query_spec.rb → usage_dto_spec.rb} +20 -21
- data/spec/models/usage_multi_response_entry_spec.rb +40 -0
- data/spec/models/usage_multi_response_spec.rb +58 -0
- data/spec/models/usage_response_entry_spec.rb +40 -0
- data/spec/models/usage_response_spec.rb +58 -0
- data/spec/models/user_info_spec.rb +4 -5
- data/spec/models/user_permissions_spec.rb +4 -5
- data/spec/models/user_role_spec.rb +4 -5
- data/spec/spec_helper.rb +1 -2
- metadata +235 -173
- data/docs/DataSeriesFilter.md +0 -8
- data/docs/DataSeriesRequest.md +0 -12
- data/docs/MetricsApi.md +0 -227
- data/docs/SavedQueriesApi.md +0 -220
- data/docs/SavedQuery.md +0 -18
- data/lib/SematextCloud/api/metrics_api.rb +0 -247
- data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
- data/spec/api/metrics_api_spec.rb +0 -83
- data/spec/api/saved_queries_api_spec.rb +0 -80
data/docs/AppsApi.md
CHANGED
@@ -1,24 +1,77 @@
|
|
1
1
|
# SematextCloud::AppsApi
|
2
2
|
|
3
|
-
All URIs are relative to
|
3
|
+
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**
|
8
|
-
| [**
|
9
|
-
| [**
|
10
|
-
| [**
|
11
|
-
| [**
|
12
|
-
| [**
|
13
|
-
| [**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ----------------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------ |
|
7
|
+
| [**delete_using_delete**](AppsApi.md#delete_using_delete) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
|
8
|
+
| [**get_app_types_using_get**](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 |
|
9
|
+
| [**get_using_get**](AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
|
10
|
+
| [**invite_app_guests_using_post**](AppsApi.md#invite_app_guests_using_post) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
|
11
|
+
| [**list_apps_users_using_get**](AppsApi.md#list_apps_users_using_get) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
|
12
|
+
| [**list_using_get**](AppsApi.md#list_using_get) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
|
13
|
+
| [**update_description_using_put1**](AppsApi.md#update_description_using_put1) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
|
14
|
+
| [**update_using_put2**](AppsApi.md#update_using_put2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
|
14
15
|
|
16
|
+
# **delete_using_delete**
|
17
|
+
|
18
|
+
> GenericMapBasedApiResponse delete_using_delete(any_state_app_id)
|
19
|
+
|
20
|
+
delete
|
21
|
+
|
22
|
+
### Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
# load the gem
|
26
|
+
require 'SematextCloud'
|
27
|
+
# setup authorization
|
28
|
+
SematextCloud.configure do |config|
|
29
|
+
# Configure API key authorization: api_key
|
30
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
31
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
32
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
33
|
+
end
|
34
|
+
|
35
|
+
api_instance = SematextCloud::AppsApi.new
|
36
|
+
any_state_app_id = 789 # Integer | anyStateAppId
|
37
|
+
|
38
|
+
|
39
|
+
begin
|
40
|
+
#delete
|
41
|
+
result = api_instance.delete_using_delete(any_state_app_id)
|
42
|
+
p result
|
43
|
+
rescue SematextCloud::ApiError => e
|
44
|
+
puts "Exception when calling AppsApi->delete_using_delete: #{e}"
|
45
|
+
end
|
46
|
+
```
|
47
|
+
|
48
|
+
### Parameters
|
49
|
+
|
50
|
+
| Name | Type | Description | Notes |
|
51
|
+
| -------------------- | ----------- | ------------- | ----- |
|
52
|
+
| **any_state_app_id** | **Integer** | anyStateAppId |
|
53
|
+
|
54
|
+
### Return type
|
55
|
+
|
56
|
+
[**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
|
57
|
+
|
58
|
+
### Authorization
|
59
|
+
|
60
|
+
[api_key](../README.md#api_key)
|
61
|
+
|
62
|
+
### HTTP request headers
|
63
|
+
|
64
|
+
- **Content-Type**: Not defined
|
65
|
+
- **Accept**: application/json
|
15
66
|
|
16
67
|
# **get_app_types_using_get**
|
17
|
-
|
68
|
+
|
69
|
+
> AppTypesResponse get_app_types_using_get
|
18
70
|
|
19
71
|
Get all App types supported for the account identified with apiKey
|
20
72
|
|
21
73
|
### Example
|
74
|
+
|
22
75
|
```ruby
|
23
76
|
# load the gem
|
24
77
|
require 'SematextCloud'
|
@@ -42,11 +95,12 @@ end
|
|
42
95
|
```
|
43
96
|
|
44
97
|
### Parameters
|
98
|
+
|
45
99
|
This endpoint does not need any parameter.
|
46
100
|
|
47
101
|
### Return type
|
48
102
|
|
49
|
-
[**
|
103
|
+
[**AppTypesResponse**](AppTypesResponse.md)
|
50
104
|
|
51
105
|
### Authorization
|
52
106
|
|
@@ -54,17 +108,17 @@ This endpoint does not need any parameter.
|
|
54
108
|
|
55
109
|
### HTTP request headers
|
56
110
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
111
|
+
- **Content-Type**: Not defined
|
112
|
+
- **Accept**: application/json
|
61
113
|
|
62
114
|
# **get_using_get**
|
63
|
-
|
115
|
+
|
116
|
+
> AppResponse get_using_get(any_state_app_id)
|
64
117
|
|
65
118
|
Gets defails for one particular App
|
66
119
|
|
67
120
|
### Example
|
121
|
+
|
68
122
|
```ruby
|
69
123
|
# load the gem
|
70
124
|
require 'SematextCloud'
|
@@ -77,7 +131,6 @@ SematextCloud.configure do |config|
|
|
77
131
|
end
|
78
132
|
|
79
133
|
api_instance = SematextCloud::AppsApi.new
|
80
|
-
|
81
134
|
any_state_app_id = 789 # Integer | anyStateAppId
|
82
135
|
|
83
136
|
|
@@ -98,7 +151,7 @@ end
|
|
98
151
|
|
99
152
|
### Return type
|
100
153
|
|
101
|
-
[**
|
154
|
+
[**AppResponse**](AppResponse.md)
|
102
155
|
|
103
156
|
### Authorization
|
104
157
|
|
@@ -106,17 +159,17 @@ end
|
|
106
159
|
|
107
160
|
### HTTP request headers
|
108
161
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
162
|
+
- **Content-Type**: Not defined
|
163
|
+
- **Accept**: application/json
|
113
164
|
|
114
165
|
# **invite_app_guests_using_post**
|
115
|
-
|
166
|
+
|
167
|
+
> GenericMapBasedApiResponse invite_app_guests_using_post(body)
|
116
168
|
|
117
169
|
Invite guests to an app
|
118
170
|
|
119
171
|
### Example
|
172
|
+
|
120
173
|
```ruby
|
121
174
|
# load the gem
|
122
175
|
require 'SematextCloud'
|
@@ -129,13 +182,12 @@ SematextCloud.configure do |config|
|
|
129
182
|
end
|
130
183
|
|
131
184
|
api_instance = SematextCloud::AppsApi.new
|
132
|
-
|
133
|
-
invitation = SematextCloud::Invitation.new # Invitation | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
|
185
|
+
body = SematextCloud::Invitation.new # Invitation | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
|
134
186
|
|
135
187
|
|
136
188
|
begin
|
137
189
|
#Invite guests to an app
|
138
|
-
result = api_instance.invite_app_guests_using_post(
|
190
|
+
result = api_instance.invite_app_guests_using_post(body)
|
139
191
|
p result
|
140
192
|
rescue SematextCloud::ApiError => e
|
141
193
|
puts "Exception when calling AppsApi->invite_app_guests_using_post: #{e}"
|
@@ -144,13 +196,13 @@ end
|
|
144
196
|
|
145
197
|
### Parameters
|
146
198
|
|
147
|
-
| Name
|
148
|
-
|
|
149
|
-
| **
|
199
|
+
| Name | Type | Description | Notes |
|
200
|
+
| -------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
|
201
|
+
| **body** | [**Invitation**](Invitation.md) | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values |
|
150
202
|
|
151
203
|
### Return type
|
152
204
|
|
153
|
-
[**
|
205
|
+
[**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
|
154
206
|
|
155
207
|
### Authorization
|
156
208
|
|
@@ -158,17 +210,17 @@ end
|
|
158
210
|
|
159
211
|
### HTTP request headers
|
160
212
|
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
213
|
+
- **Content-Type**: application/json
|
214
|
+
- **Accept**: application/json
|
165
215
|
|
166
216
|
# **list_apps_users_using_get**
|
167
|
-
|
217
|
+
|
218
|
+
> AppsResponse list_apps_users_using_get
|
168
219
|
|
169
220
|
Get all users of apps accessible to this account
|
170
221
|
|
171
222
|
### Example
|
223
|
+
|
172
224
|
```ruby
|
173
225
|
# load the gem
|
174
226
|
require 'SematextCloud'
|
@@ -192,11 +244,12 @@ end
|
|
192
244
|
```
|
193
245
|
|
194
246
|
### Parameters
|
247
|
+
|
195
248
|
This endpoint does not need any parameter.
|
196
249
|
|
197
250
|
### Return type
|
198
251
|
|
199
|
-
[**
|
252
|
+
[**AppsResponse**](AppsResponse.md)
|
200
253
|
|
201
254
|
### Authorization
|
202
255
|
|
@@ -204,17 +257,17 @@ This endpoint does not need any parameter.
|
|
204
257
|
|
205
258
|
### HTTP request headers
|
206
259
|
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
260
|
+
- **Content-Type**: Not defined
|
261
|
+
- **Accept**: application/json
|
211
262
|
|
212
263
|
# **list_using_get**
|
213
|
-
|
264
|
+
|
265
|
+
> AppsResponse list_using_get
|
214
266
|
|
215
267
|
Get all apps accessible by account identified with apiKey
|
216
268
|
|
217
269
|
### Example
|
270
|
+
|
218
271
|
```ruby
|
219
272
|
# load the gem
|
220
273
|
require 'SematextCloud'
|
@@ -238,11 +291,12 @@ end
|
|
238
291
|
```
|
239
292
|
|
240
293
|
### Parameters
|
294
|
+
|
241
295
|
This endpoint does not need any parameter.
|
242
296
|
|
243
297
|
### Return type
|
244
298
|
|
245
|
-
[**
|
299
|
+
[**AppsResponse**](AppsResponse.md)
|
246
300
|
|
247
301
|
### Authorization
|
248
302
|
|
@@ -250,19 +304,19 @@ This endpoint does not need any parameter.
|
|
250
304
|
|
251
305
|
### HTTP request headers
|
252
306
|
|
253
|
-
|
254
|
-
|
255
|
-
|
307
|
+
- **Content-Type**: Not defined
|
308
|
+
- **Accept**: application/json
|
256
309
|
|
310
|
+
# **update_description_using_put1**
|
257
311
|
|
258
|
-
|
259
|
-
> GenericApiResponse update_description_using_put(any_state_app_id, opts)
|
312
|
+
> AppResponse update_description_using_put1(any_state_app_id, opts)
|
260
313
|
|
261
314
|
Update description of the app
|
262
315
|
|
263
316
|
App can be in any state
|
264
317
|
|
265
318
|
### Example
|
319
|
+
|
266
320
|
```ruby
|
267
321
|
# load the gem
|
268
322
|
require 'SematextCloud'
|
@@ -275,19 +329,17 @@ SematextCloud.configure do |config|
|
|
275
329
|
end
|
276
330
|
|
277
331
|
api_instance = SematextCloud::AppsApi.new
|
278
|
-
|
279
332
|
any_state_app_id = 789 # Integer | App Id
|
280
|
-
|
281
|
-
|
282
|
-
update_details: SematextCloud::AppDescription.new # AppDescription | Update Details
|
333
|
+
opts = {
|
334
|
+
body: SematextCloud::AppDescription.new # AppDescription | Update Details
|
283
335
|
}
|
284
336
|
|
285
337
|
begin
|
286
338
|
#Update description of the app
|
287
|
-
result = api_instance.
|
339
|
+
result = api_instance.update_description_using_put1(any_state_app_id, opts)
|
288
340
|
p result
|
289
341
|
rescue SematextCloud::ApiError => e
|
290
|
-
puts "Exception when calling AppsApi->
|
342
|
+
puts "Exception when calling AppsApi->update_description_using_put1: #{e}"
|
291
343
|
end
|
292
344
|
```
|
293
345
|
|
@@ -296,11 +348,11 @@ end
|
|
296
348
|
| Name | Type | Description | Notes |
|
297
349
|
| -------------------- | --------------------------------------- | -------------- | ---------- |
|
298
350
|
| **any_state_app_id** | **Integer** | App Id |
|
299
|
-
| **
|
351
|
+
| **body** | [**AppDescription**](AppDescription.md) | Update Details | [optional] |
|
300
352
|
|
301
353
|
### Return type
|
302
354
|
|
303
|
-
[**
|
355
|
+
[**AppResponse**](AppResponse.md)
|
304
356
|
|
305
357
|
### Authorization
|
306
358
|
|
@@ -308,19 +360,19 @@ end
|
|
308
360
|
|
309
361
|
### HTTP request headers
|
310
362
|
|
311
|
-
|
312
|
-
|
363
|
+
- **Content-Type**: application/json
|
364
|
+
- **Accept**: application/json
|
313
365
|
|
366
|
+
# **update_using_put2**
|
314
367
|
|
315
|
-
|
316
|
-
# **update_using_put1**
|
317
|
-
> GenericApiResponse update_using_put1(dto, any_state_app_id)
|
368
|
+
> AppResponse update_using_put2(bodyany_state_app_id)
|
318
369
|
|
319
370
|
Update app
|
320
371
|
|
321
372
|
App can be in any state
|
322
373
|
|
323
374
|
### Example
|
375
|
+
|
324
376
|
```ruby
|
325
377
|
# load the gem
|
326
378
|
require 'SematextCloud'
|
@@ -333,18 +385,16 @@ SematextCloud.configure do |config|
|
|
333
385
|
end
|
334
386
|
|
335
387
|
api_instance = SematextCloud::AppsApi.new
|
336
|
-
|
337
|
-
dto = SematextCloud::UpdateAppInfo.new # UpdateAppInfo | dto
|
338
|
-
|
388
|
+
body = SematextCloud::UpdateAppInfo.new # UpdateAppInfo | dto
|
339
389
|
any_state_app_id = 789 # Integer | App Id
|
340
390
|
|
341
391
|
|
342
392
|
begin
|
343
393
|
#Update app
|
344
|
-
result = api_instance.
|
394
|
+
result = api_instance.update_using_put2(bodyany_state_app_id)
|
345
395
|
p result
|
346
396
|
rescue SematextCloud::ApiError => e
|
347
|
-
puts "Exception when calling AppsApi->
|
397
|
+
puts "Exception when calling AppsApi->update_using_put2: #{e}"
|
348
398
|
end
|
349
399
|
```
|
350
400
|
|
@@ -352,12 +402,12 @@ end
|
|
352
402
|
|
353
403
|
| Name | Type | Description | Notes |
|
354
404
|
| -------------------- | ------------------------------------- | ----------- | ----- |
|
355
|
-
| **
|
405
|
+
| **body** | [**UpdateAppInfo**](UpdateAppInfo.md) | dto |
|
356
406
|
| **any_state_app_id** | **Integer** | App Id |
|
357
407
|
|
358
408
|
### Return type
|
359
409
|
|
360
|
-
[**
|
410
|
+
[**AppResponse**](AppResponse.md)
|
361
411
|
|
362
412
|
### Authorization
|
363
413
|
|
@@ -365,5 +415,5 @@ end
|
|
365
415
|
|
366
416
|
### HTTP request headers
|
367
417
|
|
368
|
-
|
369
|
-
|
418
|
+
- **Content-Type**: application/json
|
419
|
+
- **Accept**: application/json
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# SematextCloud::AppsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ----------- | --------------------------------------------- | ----------- | ---------- |
|
7
|
+
| **data** | [**AppsResponseEntry**](AppsResponseEntry.md) | | [optional] |
|
8
|
+
| **errors** | [**Array<Error>**](Error.md) | | [optional] |
|
9
|
+
| **message** | **String** | | [optional] |
|
10
|
+
| **success** | **BOOLEAN** | | [optional] |
|
@@ -1,20 +1,21 @@
|
|
1
1
|
# SematextCloud::AwsSettingsControllerApi
|
2
2
|
|
3
|
-
All URIs are relative to
|
3
|
+
All URIs are relative to */*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ---------------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
|
7
|
+
| [**update_using_put1**](AwsSettingsControllerApi.md#update_using_put1) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
|
8
8
|
|
9
|
+
# **update_using_put1**
|
9
10
|
|
10
|
-
|
11
|
-
> GenericApiResponse update_using_put(app_id, dto)
|
11
|
+
> CloudWatchSettingsResponse update_using_put1(bodyapp_id)
|
12
12
|
|
13
13
|
Update App's AWS CloudWatch settings
|
14
14
|
|
15
15
|
Applicable only for AWS Apps
|
16
16
|
|
17
17
|
### Example
|
18
|
+
|
18
19
|
```ruby
|
19
20
|
# load the gem
|
20
21
|
require 'SematextCloud'
|
@@ -27,18 +28,16 @@ SematextCloud.configure do |config|
|
|
27
28
|
end
|
28
29
|
|
29
30
|
api_instance = SematextCloud::AwsSettingsControllerApi.new
|
30
|
-
|
31
|
+
body = SematextCloud::CloudWatchSettings.new # CloudWatchSettings | dto
|
31
32
|
app_id = 789 # Integer | appId
|
32
33
|
|
33
|
-
dto = SematextCloud::CloudWatchSettings.new # CloudWatchSettings | dto
|
34
|
-
|
35
34
|
|
36
35
|
begin
|
37
36
|
#Update App's AWS CloudWatch settings
|
38
|
-
result = api_instance.
|
37
|
+
result = api_instance.update_using_put1(bodyapp_id)
|
39
38
|
p result
|
40
39
|
rescue SematextCloud::ApiError => e
|
41
|
-
puts "Exception when calling AwsSettingsControllerApi->
|
40
|
+
puts "Exception when calling AwsSettingsControllerApi->update_using_put1: #{e}"
|
42
41
|
end
|
43
42
|
```
|
44
43
|
|
@@ -46,12 +45,12 @@ end
|
|
46
45
|
|
47
46
|
| Name | Type | Description | Notes |
|
48
47
|
| ---------- | ----------------------------------------------- | ----------- | ----- |
|
48
|
+
| **body** | [**CloudWatchSettings**](CloudWatchSettings.md) | dto |
|
49
49
|
| **app_id** | **Integer** | appId |
|
50
|
-
| **dto** | [**CloudWatchSettings**](CloudWatchSettings.md) | dto |
|
51
50
|
|
52
51
|
### Return type
|
53
52
|
|
54
|
-
[**
|
53
|
+
[**CloudWatchSettingsResponse**](CloudWatchSettingsResponse.md)
|
55
54
|
|
56
55
|
### Authorization
|
57
56
|
|
@@ -59,5 +58,5 @@ end
|
|
59
58
|
|
60
59
|
### HTTP request headers
|
61
60
|
|
62
|
-
|
63
|
-
|
61
|
+
- **Content-Type**: application/json
|
62
|
+
- **Accept**: application/json
|
data/docs/BasicAuthMethodDto.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# SematextCloud::BasicOrganizationDto
|
2
2
|
|
3
3
|
## Properties
|
4
|
+
|
4
5
|
| Name | Type | Description | Notes |
|
5
6
|
| ---------------- | ------------------------------------------------------------ | ----------- | ---------- |
|
6
7
|
| **auth_methods** | [**Array<BasicAuthMethodDto>**](BasicAuthMethodDto.md) | | [optional] |
|
data/docs/BillingApi.md
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
# SematextCloud::BillingApi
|
2
2
|
|
3
|
-
All URIs are relative to
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ---------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ---------------------- |
|
7
|
-
| [**get_detailed_invoice_using_get**](BillingApi.md#get_detailed_invoice_using_get) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
|
8
|
-
| [**list_available_plans_using_get**](BillingApi.md#list_available_plans_using_get) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
|
9
|
-
| [**update_plan_using_put**](BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
|
3
|
+
All URIs are relative to */*
|
10
4
|
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------ | ---------------------- |
|
7
|
+
| [**get_detailed_invoice_using_get**](BillingApi.md#get_detailed_invoice_using_get) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
|
8
|
+
| [**list_available_plans_using_get1**](BillingApi.md#list_available_plans_using_get1) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
|
9
|
+
| [**update_plan_using_put**](BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
|
11
10
|
|
12
11
|
# **get_detailed_invoice_using_get**
|
13
|
-
|
12
|
+
|
13
|
+
> InvoiceResponse get_detailed_invoice_using_get(service, year, month)
|
14
14
|
|
15
15
|
Get invoice details
|
16
16
|
|
17
17
|
### Example
|
18
|
+
|
18
19
|
```ruby
|
19
20
|
# load the gem
|
20
21
|
require 'SematextCloud'
|
@@ -27,11 +28,8 @@ SematextCloud.configure do |config|
|
|
27
28
|
end
|
28
29
|
|
29
30
|
api_instance = SematextCloud::BillingApi.new
|
30
|
-
|
31
31
|
service = 'service_example' # String | service
|
32
|
-
|
33
32
|
year = 56 # Integer | year
|
34
|
-
|
35
33
|
month = 56 # Integer | month
|
36
34
|
|
37
35
|
|
@@ -54,7 +52,7 @@ end
|
|
54
52
|
|
55
53
|
### Return type
|
56
54
|
|
57
|
-
[**
|
55
|
+
[**InvoiceResponse**](InvoiceResponse.md)
|
58
56
|
|
59
57
|
### Authorization
|
60
58
|
|
@@ -62,17 +60,17 @@ end
|
|
62
60
|
|
63
61
|
### HTTP request headers
|
64
62
|
|
65
|
-
|
66
|
-
|
63
|
+
- **Content-Type**: Not defined
|
64
|
+
- **Accept**: application/json
|
67
65
|
|
66
|
+
# **list_available_plans_using_get1**
|
68
67
|
|
69
|
-
|
70
|
-
# **list_available_plans_using_get**
|
71
|
-
> GenericApiResponse list_available_plans_using_get(opts)
|
68
|
+
> PlansResponse list_available_plans_using_get1(opts)
|
72
69
|
|
73
70
|
Get available plans
|
74
71
|
|
75
72
|
### Example
|
73
|
+
|
76
74
|
```ruby
|
77
75
|
# load the gem
|
78
76
|
require 'SematextCloud'
|
@@ -85,18 +83,17 @@ SematextCloud.configure do |config|
|
|
85
83
|
end
|
86
84
|
|
87
85
|
api_instance = SematextCloud::BillingApi.new
|
88
|
-
|
89
|
-
opts = {
|
86
|
+
opts = {
|
90
87
|
integration_id: 789, # Integer | integrationId
|
91
88
|
app_type: 'app_type_example' # String | appType
|
92
89
|
}
|
93
90
|
|
94
91
|
begin
|
95
92
|
#Get available plans
|
96
|
-
result = api_instance.
|
93
|
+
result = api_instance.list_available_plans_using_get1(opts)
|
97
94
|
p result
|
98
95
|
rescue SematextCloud::ApiError => e
|
99
|
-
puts "Exception when calling BillingApi->
|
96
|
+
puts "Exception when calling BillingApi->list_available_plans_using_get1: #{e}"
|
100
97
|
end
|
101
98
|
```
|
102
99
|
|
@@ -109,7 +106,7 @@ end
|
|
109
106
|
|
110
107
|
### Return type
|
111
108
|
|
112
|
-
[**
|
109
|
+
[**PlansResponse**](PlansResponse.md)
|
113
110
|
|
114
111
|
### Authorization
|
115
112
|
|
@@ -117,17 +114,17 @@ end
|
|
117
114
|
|
118
115
|
### HTTP request headers
|
119
116
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
117
|
+
- **Content-Type**: Not defined
|
118
|
+
- **Accept**: application/json
|
124
119
|
|
125
120
|
# **update_plan_using_put**
|
126
|
-
|
121
|
+
|
122
|
+
> UpdatePlanResponse update_plan_using_put(bodyapp_id)
|
127
123
|
|
128
124
|
Update plan for an app
|
129
125
|
|
130
126
|
### Example
|
127
|
+
|
131
128
|
```ruby
|
132
129
|
# load the gem
|
133
130
|
require 'SematextCloud'
|
@@ -140,15 +137,13 @@ SematextCloud.configure do |config|
|
|
140
137
|
end
|
141
138
|
|
142
139
|
api_instance = SematextCloud::BillingApi.new
|
143
|
-
|
140
|
+
body = SematextCloud::BillingInfo.new # BillingInfo | dto
|
144
141
|
app_id = 789 # Integer | appId
|
145
142
|
|
146
|
-
dto = SematextCloud::BillingInfo.new # BillingInfo | dto
|
147
|
-
|
148
143
|
|
149
144
|
begin
|
150
145
|
#Update plan for an app
|
151
|
-
result = api_instance.update_plan_using_put(
|
146
|
+
result = api_instance.update_plan_using_put(bodyapp_id)
|
152
147
|
p result
|
153
148
|
rescue SematextCloud::ApiError => e
|
154
149
|
puts "Exception when calling BillingApi->update_plan_using_put: #{e}"
|
@@ -159,12 +154,12 @@ end
|
|
159
154
|
|
160
155
|
| Name | Type | Description | Notes |
|
161
156
|
| ---------- | --------------------------------- | ----------- | ----- |
|
157
|
+
| **body** | [**BillingInfo**](BillingInfo.md) | dto |
|
162
158
|
| **app_id** | **Integer** | appId |
|
163
|
-
| **dto** | [**BillingInfo**](BillingInfo.md) | dto |
|
164
159
|
|
165
160
|
### Return type
|
166
161
|
|
167
|
-
[**
|
162
|
+
[**UpdatePlanResponse**](UpdatePlanResponse.md)
|
168
163
|
|
169
164
|
### Authorization
|
170
165
|
|
@@ -172,5 +167,5 @@ end
|
|
172
167
|
|
173
168
|
### HTTP request headers
|
174
169
|
|
175
|
-
|
176
|
-
|
170
|
+
- **Content-Type**: application/json
|
171
|
+
- **Accept**: application/json
|