# <img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>** sematext-api-client-rust**
<br>
>*A [Sematext Cloud](https://sematext.com/cloud/) API client, for interaction with Sematext Cloud solution monitoring, alerting and log shipping.*
<br>
[](https://opensource.org/licenses/Apache-2.0)
<br>
One of a family of clients in following flavours:
<br>
<br>
* [sematext-api-client-javascript](https://github.com/sematext/sematext-api-client-javascript "Javascript")
* [sematext-api-client-rust](https://github.com/sematext/sematext-api-client-rust "Rust")
* [sematext-api-client-ruby](https://github.com/sematext/sematext-api-client-ruby "Ruby")
* [sematext-api-client-python](https://github.com/sematext/sematext-api-client-python "Python")
* [sematext-api-client-php](https://github.com/sematext/sematext-api-client-php "PHP")
* [sematext-api-client-java](https://github.com/sematext/sematext-api-client-java "Java")
* [sematext-api-client-go](https://github.com/sematext/sematext-api-client-go "Go/Golang")
<br>
Refer to below link for deeper information on the API itself.
<br>
<br>
* [Sematext Cloud API Reference](https://sematext.com/docs/api/ "API Reference")
<br>
## Contents
- [<img src="https://sematext.com/wp-content/uploads/2020/09/just-octi-blue.png" valign="bottom" width="60px"/>** sematext-api-client-rust**](#sematext-api-client-rust)
- [Contents](#contents)
- [Getting Started](#getting-started)
- [Authentication](#authentication)
- [Installation](#installation)
- [Reference](#reference)
- [Documentation For Models](#documentation-for-models)
<br>
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
## Authentication
This client code requires a Sematext API Access token to function. You can find this by logging into your [Sematext Cloud Account](https://apps.sematext.com/ui/account/api)
## Installation
Put the package under your project folder and add the following in import:
```
"./stcloud"
```
## Reference
All URIs are relative to *https://localhost*
| *AlertNotificationsApi* | [**get_alert_notifications_for_app_using_post**](docs/AlertNotificationsApi.md#get_alert_notifications_for_app_using_post) | **Post** /users-web/api/v3/apps/{appId}/notifications/alerts | Get alert notifications for an app |
| *AlertNotificationsApi* | [**get_alert_notifications_for_user_using_post1**](docs/AlertNotificationsApi.md#get_alert_notifications_for_user_using_post1) | **Post** /users-web/api/v3/notifications/alerts | Get alert notifications for a user |
| *AlertsApi* | [**create_alert_using_post**](docs/AlertsApi.md#create_alert_using_post) | **Post** /users-web/api/v3/alerts | Create alert rule |
| *AlertsApi* | [**delete_alert_rule_using_delete1**](docs/AlertsApi.md#delete_alert_rule_using_delete1) | **Delete** /users-web/api/v3/alerts/{updateableAlertId} | Delete alert rule |
| *AlertsApi* | [**disable_alert_rule_using_put1**](docs/AlertsApi.md#disable_alert_rule_using_put1) | **Put** /users-web/api/v3/alerts/{updateableAlertId}/disable | Disable alert rule |
| *AlertsApi* | [**enable_alert_rule_using_put1**](docs/AlertsApi.md#enable_alert_rule_using_put1) | **Put** /users-web/api/v3/alerts/{updateableAlertId}/enable | Enable alert rule |
| *AlertsApi* | [**get_alert_rules_for_app_using_get1**](docs/AlertsApi.md#get_alert_rules_for_app_using_get1) | **Get** /users-web/api/v3/apps/{appId}/alerts | Get alert rules for an app |
| *AppsApi* | [**delete_using_delete1**](docs/AppsApi.md#delete_using_delete1) | **Delete** /users-web/api/v3/apps/{anyStateAppId} | delete |
| *AppsApi* | [**get_app_types_using_get**](docs/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 |
| *AppsApi* | [**get_using_get1**](docs/AppsApi.md#get_using_get1) | **Get** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
| *AppsApi* | [**invite_app_guests_using_post1**](docs/AppsApi.md#invite_app_guests_using_post1) | **Post** /users-web/api/v3/apps/guests | Invite guests to an app |
| *AppsApi* | [**list_apps_users_using_get1**](docs/AppsApi.md#list_apps_users_using_get1) | **Get** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
| *AppsApi* | [**list_using_get**](docs/AppsApi.md#list_using_get) | **Get** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
| *AppsApi* | [**update_description_using_put**](docs/AppsApi.md#update_description_using_put) | **Put** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
| *AppsApi* | [**update_using_put2**](docs/AppsApi.md#update_using_put2) | **Put** /users-web/api/v3/apps/{anyStateAppId} | Update app |
| *AwsSettingsControllerApi* | [**update_using_put**](docs/AwsSettingsControllerApi.md#update_using_put) | **Put** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
| *BillingApi* | [**get_detailed_invoice_using_get1**](docs/BillingApi.md#get_detailed_invoice_using_get1) | **Get** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
| *BillingApi* | [**list_available_plans_using_get**](docs/BillingApi.md#list_available_plans_using_get) | **Get** /users-web/api/v3/billing/availablePlans | Get available plans |
| *BillingApi* | [**update_plan_using_put**](docs/BillingApi.md#update_plan_using_put) | **Put** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
| *LogsAppApi* | [**create_logsene_application**](docs/LogsAppApi.md#create_logsene_application) | **Post** /logsene-reports/api/v3/apps | Create Logs App |
| *MonitoringAppApi* | [**create_spm_application1**](docs/MonitoringAppApi.md#create_spm_application1) | **Post** /spm-reports/api/v3/apps | Create Monitoring App |
| *ResetPasswordApi* | [**reset_password_using_post1**](docs/ResetPasswordApi.md#reset_password_using_post1) | **Post** /users-web/api/v3/account/password/reset | Reset Password |
| *SubscriptionsApi* | [**create_for_app_using_post1**](docs/SubscriptionsApi.md#create_for_app_using_post1) | **Post** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
| *SubscriptionsApi* | [**create_for_dash_using_post1**](docs/SubscriptionsApi.md#create_for_dash_using_post1) | **Post** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription |
| *SubscriptionsApi* | [**delete_using_delete3**](docs/SubscriptionsApi.md#delete_using_delete3) | **Delete** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
| *SubscriptionsApi* | [**list_using_get3**](docs/SubscriptionsApi.md#list_using_get3) | **Get** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App |
| *SubscriptionsApi* | [**list_using_get4**](docs/SubscriptionsApi.md#list_using_get4) | **Get** /users-web/api/v3/subscriptions | Get current account's subscriptions |
| *SubscriptionsApi* | [**send_app_report_using_post1**](docs/SubscriptionsApi.md#send_app_report_using_post1) | **Post** /users-web/api/v3/apps/{appId}/report/send | Email an App report |
| *SubscriptionsApi* | [**send_dash_report_using_post1**](docs/SubscriptionsApi.md#send_dash_report_using_post1) | **Post** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report |
| *SubscriptionsApi* | [**toggle_enabled_using_put1**](docs/SubscriptionsApi.md#toggle_enabled_using_put1) | **Put** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status |
| *SubscriptionsApi* | [**update_for_app_using_put**](docs/SubscriptionsApi.md#update_for_app_using_put) | **Put** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
| *SubscriptionsApi* | [**update_for_dash_using_put1**](docs/SubscriptionsApi.md#update_for_dash_using_put1) | **Put** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription |
| *TagApiControllerApi* | [**get_tag_names_using_get1**](docs/TagApiControllerApi.md#get_tag_names_using_get1) | **Get** /spm-reports/api/v3/apps/{appIds}/tagNames | Gets tag names for the given application identifiers appearing in the given time frame. |
| *TagApiControllerApi* | [**get_using_get1**](docs/TagApiControllerApi.md#get_using_get1) | **Get** /spm-reports/api/v3/apps/{appIds}/tags | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
| *TagApiControllerApi* | [**get_using_get2**](docs/TagApiControllerApi.md#get_using_get2) | **Get** /spm-reports/api/v3/apps/{appIds}/metrics/filters | Gets values for specified tags for the given application identifiers appearing in the given time frame. |
| *TokensApiControllerApi* | [**create_app_token1**](docs/TokensApiControllerApi.md#create_app_token1) | **Post** /users-web/api/v3/apps/{appId}/tokens | Create new app token |
| *TokensApiControllerApi* | [**delete_app_token1**](docs/TokensApiControllerApi.md#delete_app_token1) | **Delete** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Delete app token |
| *TokensApiControllerApi* | [**get_app_tokens**](docs/TokensApiControllerApi.md#get_app_tokens) | **Get** /users-web/api/v3/apps/{appId}/tokens | Get app available tokens |
| *TokensApiControllerApi* | [**regenerate_app_token1**](docs/TokensApiControllerApi.md#regenerate_app_token1) | **Post** /users-web/api/v3/apps/{appId}/tokens/{tokenId}/regenerate | Regenerate app token) |
| *TokensApiControllerApi* | [**update_app_token**](docs/TokensApiControllerApi.md#update_app_token) | **Put** /users-web/api/v3/apps/{appId}/tokens/{tokenId} | Update app token (enable/disable or name) |
## Documentation For Models
- [AlertNotificationRequest](docs/AlertNotificationRequest.md)
- [AlertRule](docs/AlertRule.md)
- [AlertRuleScheduleTimeRangeDto](docs/AlertRuleScheduleTimeRangeDto.md)
- [AlertRuleScheduleWeekdayDto](docs/AlertRuleScheduleWeekdayDto.md)
- [App](docs/App.md)
- [AppDescription](docs/AppDescription.md)
- [AppMetadata](docs/AppMetadata.md)
- [BasicAuthMethodDto](docs/BasicAuthMethodDto.md)
- [BasicOrganizationDto](docs/BasicOrganizationDto.md)
- [BillingInfo](docs/BillingInfo.md)
- [CloudWatchSettings](docs/CloudWatchSettings.md)
- [CreateAppInfo](docs/CreateAppInfo.md)
- [CreateTokenDto](docs/CreateTokenDto.md)
- [Error](docs/Error.md)
- [FilterValue](docs/FilterValue.md)
- [GenericApiResponse](docs/GenericApiResponse.md)
- [Invitation](docs/Invitation.md)
- [NotificationIntegration](docs/NotificationIntegration.md)
- [Plan](docs/Plan.md)
- [ReportInfo](docs/ReportInfo.md)
- [ServiceIntegration](docs/ServiceIntegration.md)
- [SubscriptionDashboardDto](docs/SubscriptionDashboardDto.md)
- [SubscriptionDto](docs/SubscriptionDto.md)
- [UpdateAppInfo](docs/UpdateAppInfo.md)
- [UpdateSubscriptionDto](docs/UpdateSubscriptionDto.md)
- [UpdateTokenDto](docs/UpdateTokenDto.md)
- [UserInfo](docs/UserInfo.md)
- [UserPermissions](docs/UserPermissions.md)
- [UserRole](docs/UserRole.md)