Skip to content

Commit a521e74

Browse files
authored
Merge pull request #19 from sematext/develop
Develop
2 parents 90601a4 + 437e906 commit a521e74

File tree

96 files changed

+3742
-9142
lines changed

Some content is hidden

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

96 files changed

+3742
-9142
lines changed

docs/AlertNotificationRequest.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
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+
5+
| Name | Type | Description | Notes |
6+
| -------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------- | ---------- |
7+
| **default_interval** | Option<**i64**> | | [optional] |
8+
| **end** | Option<**String**> | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
9+
| **interval** | Option<**String**> | | [optional] |
10+
| **start** | Option<**String**> | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
1011

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

docs/AlertNotificationsApi.md

+27-23
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,70 @@
11
# \AlertNotificationsApi
22

3-
All URIs are relative to *https://localhost*
3+
All URIs are relative to *http://localhost*
44

55
| Method | HTTP request | Description |
66
| ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------- |
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 |
7+
| [**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 |
88
| [**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

11-
# **get_alert_notifications_for_app_using_post**
12-
> ::models::GenericApiResponse get_alert_notifications_for_app_using_post(ctx, app_id, time_interval)
11+
12+
## get_alert_notifications_for_app_using_post1
13+
14+
> crate::models::GenericApiResponse get_alert_notifications_for_app_using_post1(app_id, time_interval)
1315
Get alert notifications for an app
1416

1517
Default value of interval is 1d
1618

17-
### Required Parameters
19+
### Parameters
20+
1821

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 |
22+
| Name | Type | Description | Required | Notes |
23+
| ----------------- | ----------------------------------------------------------- | ------------- | ---------- | ----- |
24+
| **app_id** | **i64** | appId | [required] |
25+
| **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval | [required] |
2426

2527
### Return type
2628

27-
[**::models::GenericApiResponse**](Generic Api Response.md)
29+
[**crate::models::GenericApiResponse**](Generic Api Response.md)
2830

2931
### Authorization
3032

3133
[api_key](../README.md#api_key)
3234

3335
### HTTP request headers
3436

35-
- **Content-Type**: application/json
36-
- **Accept**: application/json
37+
- **Content-Type**: application/json
38+
- **Accept**: application/json
3739

3840
[[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)
3941

40-
# **get_alert_notifications_for_user_using_post**
41-
> ::models::GenericApiResponse get_alert_notifications_for_user_using_post(ctx, time_interval)
42+
43+
## get_alert_notifications_for_user_using_post
44+
45+
> crate::models::GenericApiResponse get_alert_notifications_for_user_using_post(time_interval)
4246
Get alert notifications for a user
4347

4448
Default value of interval is 1d
4549

46-
### Required Parameters
50+
### Parameters
51+
4752

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 |
53+
| Name | Type | Description | Required | Notes |
54+
| ----------------- | ----------------------------------------------------------- | ------------- | ---------- | ----- |
55+
| **time_interval** | [**AlertNotificationRequest**](AlertNotificationRequest.md) | Time Interval | [required] |
5256

5357
### Return type
5458

55-
[**::models::GenericApiResponse**](Generic Api Response.md)
59+
[**crate::models::GenericApiResponse**](Generic Api Response.md)
5660

5761
### Authorization
5862

5963
[api_key](../README.md#api_key)
6064

6165
### HTTP request headers
6266

63-
- **Content-Type**: application/json
64-
- **Accept**: application/json
67+
- **Content-Type**: application/json
68+
- **Accept**: application/json
6569

6670
[[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)

0 commit comments

Comments
 (0)