stcloud 0.1.1

Client package for talking to Sematext Cloud.
Documentation
# \AlertNotificationsApi

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

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


# **get_alert_notifications_for_app_using_post**
> ::models::GenericApiResponse get_alert_notifications_for_app_using_post(ctx, app_id, time_interval)
Get alert notifications for an app

Default value of interval is 1d

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **app_id** | **i64**| appId | 
  **time_interval** | [**AlertNotificationRequest**]AlertNotificationRequest.md| Time Interval | 

### Return type

[**::models::GenericApiResponse**](Generic Api Response.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

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

# **get_alert_notifications_for_user_using_post**
> ::models::GenericApiResponse get_alert_notifications_for_user_using_post(ctx, time_interval)
Get alert notifications for a user

Default value of interval is 1d

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **time_interval** | [**AlertNotificationRequest**]AlertNotificationRequest.md| Time Interval | 

### Return type

[**::models::GenericApiResponse**](Generic Api Response.md)

### Authorization

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

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

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