Skip to content

Commit

Permalink
Merge pull request #28 from sematext/SC-13794
Browse files Browse the repository at this point in the history
July 2022 updates in line with Sematext Cloud API v3
  • Loading branch information
hollerloudly authored Jul 28, 2022
2 parents 27f1837 + 2d60c0d commit 29a710d
Show file tree
Hide file tree
Showing 208 changed files with 1,264 additions and 525 deletions.
24 changes: 12 additions & 12 deletions docs/AlertNotificationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

All URIs are relative to */*

| Method | HTTP request | Description |
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
| [**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 |
| [**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 |
| Method | HTTP request | Description |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
| [**get_alert_notifications_for_app_using_post1**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post1) | **POST** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
| [**get_alert_notifications_for_user_using_post1**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post1) | **POST** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |

# **get_alert_notifications_for_app_using_post**
# **get_alert_notifications_for_app_using_post1**

> NotificationsResponse get_alert_notifications_for_app_using_post(bodyapp_id)
> NotificationsResponse get_alert_notifications_for_app_using_post1(bodyapp_id)
Get alert notifications for an app

Expand All @@ -35,10 +35,10 @@ app_id = 789 # Integer | appId

begin
#Get alert notifications for an app
result = api_instance.get_alert_notifications_for_app_using_post(bodyapp_id)
result = api_instance.get_alert_notifications_for_app_using_post1(bodyapp_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_app_using_post: #{e}"
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_app_using_post1: #{e}"
end
```

Expand All @@ -62,9 +62,9 @@ end
- **Content-Type**: application/json
- **Accept**: application/json

# **get_alert_notifications_for_user_using_post**
# **get_alert_notifications_for_user_using_post1**

> NotificationsResponse get_alert_notifications_for_user_using_post(body)
> NotificationsResponse get_alert_notifications_for_user_using_post1(body)
Get alert notifications for a user

Expand All @@ -89,10 +89,10 @@ body = SematextCloud::AlertNotificationRequest.new # AlertNotificationRequest |

begin
#Get alert notifications for a user
result = api_instance.get_alert_notifications_for_user_using_post(body)
result = api_instance.get_alert_notifications_for_user_using_post1(body)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_user_using_post: #{e}"
puts "Exception when calling AlertNotificationsApi->get_alert_notifications_for_user_using_post1: #{e}"
end
```

Expand Down
1 change: 1 addition & 0 deletions docs/AlertRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
| **notification_emails** | **Array<String>** | | [optional] |
| **notification_integrations** | [**Array<NotificationIntegration>**](NotificationIntegration.md) | | [optional] |
| **notifications_enabled** | **BOOLEAN** | | [optional] |
| **priority** | **String** | | [optional] |
| **query** | **String** | | [optional] |
| **report_name** | **String** | | [optional] |
| **rule_key** | **Integer** | | [optional] |
Expand Down
30 changes: 15 additions & 15 deletions docs/AlertsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

All URIs are relative to */*

| Method | HTTP request | Description |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
| [**create_alert_using_post**](AlertsApi.md#create_alert_using_post) | **POST** /users-web/api/v3/alerts | Create alert rule |
| [**delete_alert_rule_using_delete1**](AlertsApi.md#delete_alert_rule_using_delete1) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
| [**disable_alert_rule_using_put**](AlertsApi.md#disable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
| [**enable_alert_rule_using_put**](AlertsApi.md#enable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
| [**get_alert_rules_for_app_using_get1**](AlertsApi.md#get_alert_rules_for_app_using_get1) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
| Method | HTTP request | Description |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------- |
| [**create_alert_using_post**](AlertsApi.md#create_alert_using_post) | **POST** /users-web/api/v3/alerts | Create alert rule |
| [**delete_alert_rule_using_delete**](AlertsApi.md#delete_alert_rule_using_delete) | **DELETE** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
| [**disable_alert_rule_using_put**](AlertsApi.md#disable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
| [**enable_alert_rule_using_put**](AlertsApi.md#enable_alert_rule_using_put) | **PUT** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
| [**get_alert_rules_for_app_using_get**](AlertsApi.md#get_alert_rules_for_app_using_get) | **GET** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |

# **create_alert_using_post**

Expand Down Expand Up @@ -61,9 +61,9 @@ end
- **Content-Type**: application/json
- **Accept**: application/json

# **delete_alert_rule_using_delete1**
# **delete_alert_rule_using_delete**

> GenericMapBasedApiResponse delete_alert_rule_using_delete1(updateable_alert_id)
> GenericMapBasedApiResponse delete_alert_rule_using_delete(updateable_alert_id)
Delete alert rule

Expand All @@ -86,10 +86,10 @@ updateable_alert_id = 789 # Integer | updateableAlertId

begin
#Delete alert rule
result = api_instance.delete_alert_rule_using_delete1(updateable_alert_id)
result = api_instance.delete_alert_rule_using_delete(updateable_alert_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AlertsApi->delete_alert_rule_using_delete1: #{e}"
puts "Exception when calling AlertsApi->delete_alert_rule_using_delete: #{e}"
end
```

Expand Down Expand Up @@ -214,9 +214,9 @@ end
- **Content-Type**: Not defined
- **Accept**: application/json

# **get_alert_rules_for_app_using_get1**
# **get_alert_rules_for_app_using_get**

> AlertRulesResponse get_alert_rules_for_app_using_get1(app_id)
> AlertRulesResponse get_alert_rules_for_app_using_get(app_id)
Get alert rules for an app

Expand All @@ -239,10 +239,10 @@ app_id = 789 # Integer | appId

begin
#Get alert rules for an app
result = api_instance.get_alert_rules_for_app_using_get1(app_id)
result = api_instance.get_alert_rules_for_app_using_get(app_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AlertsApi->get_alert_rules_for_app_using_get1: #{e}"
puts "Exception when calling AlertsApi->get_alert_rules_for_app_using_get: #{e}"
end
```

Expand Down
40 changes: 20 additions & 20 deletions docs/AppsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ All URIs are relative to */*
| ----------------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------ |
| [**delete_using_delete**](AppsApi.md#delete_using_delete) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
| [**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 |
| [**get_using_get**](AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
| [**invite_app_guests_using_post**](AppsApi.md#invite_app_guests_using_post) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
| [**get_using_get1**](AppsApi.md#get_using_get1) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
| [**invite_app_guests_using_post1**](AppsApi.md#invite_app_guests_using_post1) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
| [**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 |
| [**list_using_get**](AppsApi.md#list_using_get) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
| [**list_using_get1**](AppsApi.md#list_using_get1) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
| [**update_description_using_put1**](AppsApi.md#update_description_using_put1) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
| [**update_using_put2**](AppsApi.md#update_using_put2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
| [**update_using_put3**](AppsApi.md#update_using_put3) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |

# **delete_using_delete**

Expand Down Expand Up @@ -111,9 +111,9 @@ This endpoint does not need any parameter.
- **Content-Type**: Not defined
- **Accept**: application/json

# **get_using_get**
# **get_using_get1**

> AppResponse get_using_get(any_state_app_id)
> AppResponse get_using_get1(any_state_app_id)
Gets defails for one particular App

Expand All @@ -136,10 +136,10 @@ any_state_app_id = 789 # Integer | anyStateAppId

begin
#Gets defails for one particular App
result = api_instance.get_using_get(any_state_app_id)
result = api_instance.get_using_get1(any_state_app_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AppsApi->get_using_get: #{e}"
puts "Exception when calling AppsApi->get_using_get1: #{e}"
end
```

Expand All @@ -162,9 +162,9 @@ end
- **Content-Type**: Not defined
- **Accept**: application/json

# **invite_app_guests_using_post**
# **invite_app_guests_using_post1**

> GenericMapBasedApiResponse invite_app_guests_using_post(body)
> GenericMapBasedApiResponse invite_app_guests_using_post1(body)
Invite guests to an app

Expand All @@ -187,10 +187,10 @@ body = SematextCloud::Invitation.new # Invitation | For `app` and `apps` fields

begin
#Invite guests to an app
result = api_instance.invite_app_guests_using_post(body)
result = api_instance.invite_app_guests_using_post1(body)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AppsApi->invite_app_guests_using_post: #{e}"
puts "Exception when calling AppsApi->invite_app_guests_using_post1: #{e}"
end
```

Expand Down Expand Up @@ -260,9 +260,9 @@ This endpoint does not need any parameter.
- **Content-Type**: Not defined
- **Accept**: application/json

# **list_using_get**
# **list_using_get1**

> AppsResponse list_using_get
> AppsResponse list_using_get1
Get all apps accessible by account identified with apiKey

Expand All @@ -283,10 +283,10 @@ api_instance = SematextCloud::AppsApi.new

begin
#Get all apps accessible by account identified with apiKey
result = api_instance.list_using_get
result = api_instance.list_using_get1
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AppsApi->list_using_get: #{e}"
puts "Exception when calling AppsApi->list_using_get1: #{e}"
end
```

Expand Down Expand Up @@ -363,9 +363,9 @@ end
- **Content-Type**: application/json
- **Accept**: application/json

# **update_using_put2**
# **update_using_put3**

> AppResponse update_using_put2(bodyany_state_app_id)
> AppResponse update_using_put3(bodyany_state_app_id)
Update app

Expand All @@ -391,10 +391,10 @@ any_state_app_id = 789 # Integer | App Id

begin
#Update app
result = api_instance.update_using_put2(bodyany_state_app_id)
result = api_instance.update_using_put3(bodyany_state_app_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AppsApi->update_using_put2: #{e}"
puts "Exception when calling AppsApi->update_using_put3: #{e}"
end
```

Expand Down
14 changes: 7 additions & 7 deletions docs/AwsSettingsControllerApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

All URIs are relative to */*

| Method | HTTP request | Description |
| ---------------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
| [**update_using_put1**](AwsSettingsControllerApi.md#update_using_put1) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
| Method | HTTP request | Description |
| -------------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
| [**update_using_put**](AwsSettingsControllerApi.md#update_using_put) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |

# **update_using_put1**
# **update_using_put**

> CloudWatchSettingsResponse update_using_put1(bodyapp_id)
> CloudWatchSettingsResponse update_using_put(bodyapp_id)
Update App's AWS CloudWatch settings

Expand All @@ -34,10 +34,10 @@ app_id = 789 # Integer | appId

begin
#Update App's AWS CloudWatch settings
result = api_instance.update_using_put1(bodyapp_id)
result = api_instance.update_using_put(bodyapp_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AwsSettingsControllerApi->update_using_put1: #{e}"
puts "Exception when calling AwsSettingsControllerApi->update_using_put: #{e}"
end
```

Expand Down
20 changes: 10 additions & 10 deletions docs/BillingApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to */*

| Method | HTTP request | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------ | ---------------------- |
| [**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 |
| [**get_detailed_invoice_using_get1**](BillingApi.md#get_detailed_invoice_using_get1) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
| [**list_available_plans_using_get1**](BillingApi.md#list_available_plans_using_get1) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
| [**update_plan_using_put**](BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
| [**update_plan_using_put1**](BillingApi.md#update_plan_using_put1) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |

# **get_detailed_invoice_using_get**
# **get_detailed_invoice_using_get1**

> InvoiceResponse get_detailed_invoice_using_get(service, year, month)
> InvoiceResponse get_detailed_invoice_using_get1(service, year, month)
Get invoice details

Expand All @@ -35,10 +35,10 @@ month = 56 # Integer | month

begin
#Get invoice details
result = api_instance.get_detailed_invoice_using_get(service, year, month)
result = api_instance.get_detailed_invoice_using_get1(service, year, month)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling BillingApi->get_detailed_invoice_using_get: #{e}"
puts "Exception when calling BillingApi->get_detailed_invoice_using_get1: #{e}"
end
```

Expand Down Expand Up @@ -117,9 +117,9 @@ end
- **Content-Type**: Not defined
- **Accept**: application/json

# **update_plan_using_put**
# **update_plan_using_put1**

> UpdatePlanResponse update_plan_using_put(bodyapp_id)
> UpdatePlanResponse update_plan_using_put1(bodyapp_id)
Update plan for an app

Expand All @@ -143,10 +143,10 @@ app_id = 789 # Integer | appId

begin
#Update plan for an app
result = api_instance.update_plan_using_put(bodyapp_id)
result = api_instance.update_plan_using_put1(bodyapp_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling BillingApi->update_plan_using_put: #{e}"
puts "Exception when calling BillingApi->update_plan_using_put1: #{e}"
end
```

Expand Down
Loading

0 comments on commit 29a710d

Please sign in to comment.