Skip to content

Commit 90601a4

Browse files
authored
Merge pull request #17 from sematext/develop
Develop
2 parents b196752 + 6428450 commit 90601a4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2177
-647
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stcloud"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
authors = ["Sematext Inc"]
55
description = "Client package for talking to Sematext Cloud."
66
readme = "README.md"

README.md

+58-42
Large diffs are not rendered by default.

docs/AlertNotificationRequest.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# AlertNotificationRequest
22

33
## Properties
4-
Name | Type | Description | Notes
5-
------------ | ------------- | ------------- | -------------
6-
**default_interval** | **i64** | | [optional] [default to null]
7-
**end** | **String** | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] [default to null]
8-
**interval** | **String** | | [optional] [default to null]
9-
**start** | **String** | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] [default to null]
4+
| Name | Type | Description | Notes |
5+
| -------------------- | ---------- | --------------------------------------------------------------------------------------------------------------- | ---------------------------- |
6+
| **default_interval** | **i64** | | [optional] [default to null] |
7+
| **end** | **String** | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] [default to null] |
8+
| **interval** | **String** | | [optional] [default to null] |
9+
| **start** | **String** | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] [default to null] |
1010

1111
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12-
13-

docs/AlertNotificationsApi.md

+13-14
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
All URIs are relative to *https://localhost*
44

5-
Method | HTTP request | Description
6-
------------- | ------------- | -------------
7-
[**get_alert_notifications_for_app_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **Post** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app
8-
[**get_alert_notifications_for_user_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post) | **Post** /users-web/api/v3/notifications/alerts | Get alert notifications for a user
5+
| Method | HTTP request | Description |
6+
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
7+
| [**get_alert_notifications_for_app_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **Post** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
8+
| [**get_alert_notifications_for_user_using_post**](AlertNotificationsApi.md#get_alert_notifications_for_user_using_post) | **Post** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
99

1010

1111
# **get_alert_notifications_for_app_using_post**
@@ -16,11 +16,11 @@ Default value of interval is 1d
1616

1717
### Required Parameters
1818

19-
Name | Type | Description | Notes
20-
------------- | ------------- | ------------- | -------------
21-
**ctx** | **context.Context** | context containing the authentication | nil if no authentication
22-
**app_id** | **i64**| appId |
23-
**time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md)| Time Interval |
19+
| Name | Type | Description | Notes |
20+
| ----------------- | ----------------------------------------------------------- | ------------------------------------- | ------------------------ |
21+
| **ctx** | **context.Context** | context containing the authentication | nil if no authentication |
22+
| **app_id** | **i64** | appId |
23+
| **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
2424

2525
### Return type
2626

@@ -45,10 +45,10 @@ Default value of interval is 1d
4545

4646
### Required Parameters
4747

48-
Name | Type | Description | Notes
49-
------------- | ------------- | ------------- | -------------
50-
**ctx** | **context.Context** | context containing the authentication | nil if no authentication
51-
**time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md)| Time Interval |
48+
| Name | Type | Description | Notes |
49+
| ----------------- | ----------------------------------------------------------- | ------------------------------------- | ------------------------ |
50+
| **ctx** | **context.Context** | context containing the authentication | nil if no authentication |
51+
| **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval |
5252

5353
### Return type
5454

@@ -64,4 +64,3 @@ Name | Type | Description | Notes
6464
- **Accept**: application/json
6565

6666
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
67-

docs/AlertRule.md

+50-52
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,55 @@
11
# AlertRule
22

33
## Properties
4-
Name | Type | Description | Notes
5-
------------ | ------------- | ------------- | -------------
6-
**account_email** | **String** | | [optional] [default to null]
7-
**allowed_app_types** | **Vec<i64>** | | [optional] [default to null]
8-
**analyzing_time** | **String** | | [optional] [default to null]
9-
**app_display_state** | **String** | | [optional] [default to null]
10-
**app_id** | **i64** | | [optional] [default to null]
11-
**app_name** | **String** | | [optional] [default to null]
12-
**app_state** | **String** | | [optional] [default to null]
13-
**app_token** | **String** | | [optional] [default to null]
14-
**app_type** | **String** | | [optional] [default to null]
15-
**back_to_normal_needed** | **bool** | | [optional] [default to null]
16-
**chart_key** | **String** | | [optional] [default to null]
17-
**color** | **String** | | [optional] [default to null]
18-
**creator_email** | **String** | | [optional] [default to null]
19-
**default_agg_type** | **String** | | [optional] [default to null]
20-
**description** | **String** | | [optional] [default to null]
21-
**disallowed_app_types** | **Vec<i64>** | | [optional] [default to null]
22-
**enabled** | **bool** | | [optional] [default to null]
23-
**estimate_operation** | **String** | | [optional] [default to null]
24-
**estimate_value** | **f64** | | [optional] [default to null]
25-
**filter_values** | **String** | | [optional] [default to null]
26-
**filter_values_obj** | [**Vec<::models::FilterValue>**](FilterValue.md) | | [optional] [default to null]
27-
**ignore_regular_events_enabled** | **bool** | | [optional] [default to null]
28-
**integrations** | **String** | | [optional] [default to null]
29-
**last_data_received_date** | **i64** | | [optional] [default to null]
30-
**last_sent** | **i64** | | [optional] [default to null]
31-
**last_triggered** | **i64** | | [optional] [default to null]
32-
**metadata** | [***Value**](Value.md) | | [optional] [default to null]
33-
**metric_key** | **String** | | [optional] [default to null]
34-
**metric_label** | **String** | | [optional] [default to null]
35-
**min_delay_between_notifications_in_minutes** | **String** | | [optional] [default to null]
36-
**name** | **String** | | [optional] [default to null]
37-
**notification_emails** | **Vec<String>** | | [optional] [default to null]
38-
**notification_integrations** | [**Vec<::models::NotificationIntegration>**](NotificationIntegration.md) | | [optional] [default to null]
39-
**notifications_enabled** | **bool** | | [optional] [default to null]
40-
**query** | **String** | | [optional] [default to null]
41-
**report_name** | **String** | | [optional] [default to null]
42-
**rule_key** | **i64** | | [optional] [default to null]
43-
**rule_type** | **String** | | [optional] [default to null]
44-
**runbook** | **String** | | [optional] [default to null]
45-
**saved_query_id** | **i64** | | [optional] [default to null]
46-
**schedule** | [**Vec<::models::AlertRuleScheduleWeekdayDto>**](AlertRuleScheduleWeekdayDto.md) | | [optional] [default to null]
47-
**sematext_service** | **String** | | [optional] [default to null]
48-
**send_to_email** | **String** | | [optional] [default to null]
49-
**timezone** | **String** | | [optional] [default to null]
50-
**use_only_alert_rule_integrations** | **bool** | | [optional] [default to null]
51-
**user_permissions** | [***::models::UserPermissions**](UserPermissions.md) | | [optional] [default to null]
52-
**value_column_name** | **String** | | [optional] [default to null]
53-
**value_name** | **String** | | [optional] [default to null]
4+
| Name | Type | Description | Notes |
5+
| ---------------------------------------------- | -------------------------------------------------------------------------------- | ----------- | ---------------------------- |
6+
| **account_email** | **String** | | [optional] [default to null] |
7+
| **allowed_app_types** | **Vec<i64>** | | [optional] [default to null] |
8+
| **analyzing_time** | **String** | | [optional] [default to null] |
9+
| **app_display_state** | **String** | | [optional] [default to null] |
10+
| **app_id** | **i64** | | [optional] [default to null] |
11+
| **app_name** | **String** | | [optional] [default to null] |
12+
| **app_state** | **String** | | [optional] [default to null] |
13+
| **app_token** | **String** | | [optional] [default to null] |
14+
| **app_type** | **String** | | [optional] [default to null] |
15+
| **back_to_normal_needed** | **bool** | | [optional] [default to null] |
16+
| **chart_key** | **String** | | [optional] [default to null] |
17+
| **color** | **String** | | [optional] [default to null] |
18+
| **creator_email** | **String** | | [optional] [default to null] |
19+
| **default_agg_type** | **String** | | [optional] [default to null] |
20+
| **description** | **String** | | [optional] [default to null] |
21+
| **disallowed_app_types** | **Vec<i64>** | | [optional] [default to null] |
22+
| **enabled** | **bool** | | [optional] [default to null] |
23+
| **estimate_operation** | **String** | | [optional] [default to null] |
24+
| **estimate_value** | **f64** | | [optional] [default to null] |
25+
| **filter_values** | **String** | | [optional] [default to null] |
26+
| **filter_values_obj** | [**Vec<::models::FilterValue>**](FilterValue.md) | | [optional] [default to null] |
27+
| **ignore_regular_events_enabled** | **bool** | | [optional] [default to null] |
28+
| **integrations** | **String** | | [optional] [default to null] |
29+
| **last_data_received_date** | **i64** | | [optional] [default to null] |
30+
| **last_sent** | **i64** | | [optional] [default to null] |
31+
| **last_triggered** | **i64** | | [optional] [default to null] |
32+
| **metadata** | [***Value**](Value.md) | | [optional] [default to null] |
33+
| **metric_key** | **String** | | [optional] [default to null] |
34+
| **metric_label** | **String** | | [optional] [default to null] |
35+
| **min_delay_between_notifications_in_minutes** | **String** | | [optional] [default to null] |
36+
| **name** | **String** | | [optional] [default to null] |
37+
| **notification_emails** | **Vec<String>** | | [optional] [default to null] |
38+
| **notification_integrations** | [**Vec<::models::NotificationIntegration>**](NotificationIntegration.md) | | [optional] [default to null] |
39+
| **notifications_enabled** | **bool** | | [optional] [default to null] |
40+
| **query** | **String** | | [optional] [default to null] |
41+
| **report_name** | **String** | | [optional] [default to null] |
42+
| **rule_key** | **i64** | | [optional] [default to null] |
43+
| **rule_type** | **String** | | [optional] [default to null] |
44+
| **runbook** | **String** | | [optional] [default to null] |
45+
| **saved_query_id** | **i64** | | [optional] [default to null] |
46+
| **schedule** | [**Vec<::models::AlertRuleScheduleWeekdayDto>**](AlertRuleScheduleWeekdayDto.md) | | [optional] [default to null] |
47+
| **sematext_service** | **String** | | [optional] [default to null] |
48+
| **send_to_email** | **String** | | [optional] [default to null] |
49+
| **timezone** | **String** | | [optional] [default to null] |
50+
| **use_only_alert_rule_integrations** | **bool** | | [optional] [default to null] |
51+
| **user_permissions** | [***::models::UserPermissions**](UserPermissions.md) | | [optional] [default to null] |
52+
| **value_column_name** | **String** | | [optional] [default to null] |
53+
| **value_name** | **String** | | [optional] [default to null] |
5454

5555
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
56-
57-

docs/AlertRuleScheduleTimeRangeDto.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# AlertRuleScheduleTimeRangeDto
22

33
## Properties
4-
Name | Type | Description | Notes
5-
------------ | ------------- | ------------- | -------------
6-
**end** | **String** | | [optional] [default to null]
7-
**start** | **String** | | [optional] [default to null]
4+
| Name | Type | Description | Notes |
5+
| --------- | ---------- | ----------- | ---------------------------- |
6+
| **end** | **String** | | [optional] [default to null] |
7+
| **start** | **String** | | [optional] [default to null] |
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10-
11-

0 commit comments

Comments
 (0)