Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
totvslabs committed Aug 10, 2023
1 parent 594c345 commit a46f35d
Show file tree
Hide file tree
Showing 45 changed files with 8,096 additions and 83 deletions.
62 changes: 46 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

alertmanager
- API version: 1.0.0
- Build date: 2023-06-02T15:01:33.240562Z[Etc/UTC]
- Build date: 2023-08-10T17:30:44.416597Z[Etc/UTC]

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Expand Down Expand Up @@ -83,21 +83,28 @@ Please follow the [installation](#installation) instruction and execute the foll
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.auth.*;
import org.openapitools.client.models.*;
import org.openapitools.client.api.DefaultApi;
import org.openapitools.client.api.ChannelsApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");

DefaultApi apiInstance = new DefaultApi(defaultClient);

// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth) defaultClient.getAuthentication("auth_token");
auth_token.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");

ChannelsApi apiInstance = new ChannelsApi(defaultClient);
String id = "id_example"; // String |
try {
String result = apiInstance.deleteClientAppGetDelete(id);
PolicyChannelSchema result = apiInstance.deletePolicyChannelsDelete(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteClientAppGetDelete");
System.err.println("Exception when calling ChannelsApi#deletePolicyChannelsDelete");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
Expand All @@ -114,25 +121,48 @@ All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**deleteClientAppGetDelete**](docs/DefaultApi.md#deleteClientAppGetDelete) | **DELETE** /client_apps/{id} |
*DefaultApi* | [**getClientAppGet**](docs/DefaultApi.md#getClientAppGet) | **GET** /client_apps/{id} |
*DefaultApi* | [**getClientAppGetAll**](docs/DefaultApi.md#getClientAppGetAll) | **GET** /client_apps |
*DefaultApi* | [**getDocs**](docs/DefaultApi.md#getDocs) | **GET** /docs |
*DefaultApi* | [**getHealthCheck**](docs/DefaultApi.md#getHealthCheck) | **GET** /health_check |
*DefaultApi* | [**getSwaggerJson**](docs/DefaultApi.md#getSwaggerJson) | **GET** /docs/swagger.json |
*DefaultApi* | [**postClientAppPost**](docs/DefaultApi.md#postClientAppPost) | **POST** /client_apps/{id} |
*DefaultApi* | [**putClientAppPut**](docs/DefaultApi.md#putClientAppPut) | **PUT** /client_apps |
*ChannelsApi* | [**deletePolicyChannelsDelete**](docs/ChannelsApi.md#deletePolicyChannelsDelete) | **DELETE** /channels/{id} |
*ChannelsApi* | [**getPolicyChannelsGet**](docs/ChannelsApi.md#getPolicyChannelsGet) | **GET** /channels/{id} |
*ChannelsApi* | [**getPolicyChannelsGetAll**](docs/ChannelsApi.md#getPolicyChannelsGetAll) | **GET** /channels |
*ChannelsApi* | [**postPolicyChannelsPost**](docs/ChannelsApi.md#postPolicyChannelsPost) | **POST** /channels |
*ChannelsApi* | [**postPolicyChannelsTest**](docs/ChannelsApi.md#postPolicyChannelsTest) | **POST** /channels/test |
*ChannelsApi* | [**putPolicyChannelsPut**](docs/ChannelsApi.md#putPolicyChannelsPut) | **PUT** /channels/{id} |
*DocsApi* | [**getSwaggerJson**](docs/DocsApi.md#getSwaggerJson) | **GET** /docs/swagger.json |
*DocsApi* | [**getSwaggerYml**](docs/DocsApi.md#getSwaggerYml) | **GET** /docs/swagger.yml |
*EventsApi* | [**getEventsGet**](docs/EventsApi.md#getEventsGet) | **GET** /events/{id} |
*EventsApi* | [**getEventsGetAll**](docs/EventsApi.md#getEventsGetAll) | **GET** /events |
*EventsApi* | [**getEventsParametersGet**](docs/EventsApi.md#getEventsParametersGet) | **GET** /events/parameters |
*EventsApi* | [**postEventsPost**](docs/EventsApi.md#postEventsPost) | **POST** /events |
*HealthCheckApi* | [**getHealthCheck**](docs/HealthCheckApi.md#getHealthCheck) | **GET** /health_check |
*NotificationsApi* | [**getNotificationLogGet**](docs/NotificationsApi.md#getNotificationLogGet) | **GET** /notifications/{id} |
*NotificationsApi* | [**getNotificationLogGetAll**](docs/NotificationsApi.md#getNotificationLogGetAll) | **GET** /notifications |
*PoliciesApi* | [**deletePoliciesDelete**](docs/PoliciesApi.md#deletePoliciesDelete) | **DELETE** /policies/{id} |
*PoliciesApi* | [**getPoliciesGet**](docs/PoliciesApi.md#getPoliciesGet) | **GET** /policies/{id} |
*PoliciesApi* | [**getPoliciesGetAll**](docs/PoliciesApi.md#getPoliciesGetAll) | **GET** /policies |
*PoliciesApi* | [**postPoliciesPost**](docs/PoliciesApi.md#postPoliciesPost) | **POST** /policies |
*PoliciesApi* | [**putPoliciesPut**](docs/PoliciesApi.md#putPoliciesPut) | **PUT** /policies/{id} |
*WelcomeApi* | [**getWelcome**](docs/WelcomeApi.md#getWelcome) | **GET** / |


## Documentation for Models

- [ClientAppSchema](docs/ClientAppSchema.md)
- [EventSchema](docs/EventSchema.md)
- [PaginationSchema](docs/PaginationSchema.md)
- [PolicyChannelSchema](docs/PolicyChannelSchema.md)
- [PolicySchema](docs/PolicySchema.md)


<a id="documentation-for-authorization"></a>
## Documentation for Authorization

Endpoints do not require authorization.

Authentication schemes defined for the API:
<a id="auth_token"></a>
### auth_token

- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header


## Recommendation
Expand Down
Loading

0 comments on commit a46f35d

Please sign in to comment.