Sha256: f12b52fd3e1fe4a9187975ae340e1fca2240ba1e7c1e12b05320c81480152237
Contents?: true
Size: 1.93 KB
Versions: 2
Compression:
Stored size: 1.93 KB
Contents
# SematextCloud::MonitoringAppApi All URIs are relative to *https://localhost* | Method | HTTP request | Description | | -------------------------------------------------------------------------- | --------------------------------- | --------------------- | | [**create_spm_application1**](MonitoringAppApi.md#create_spm_application1) | **POST** /spm-reports/api/v3/apps | Create Monitoring App | # **create_spm_application1** > GenericApiResponse create_spm_application1(application_details) Create Monitoring App ### Example ```ruby # load the gem require 'SematextCloud' # setup authorization SematextCloud.configure do |config| # Configure API key authorization: api_key config.api_key['Authorization'] = 'YOUR API KEY' # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) #config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = SematextCloud::MonitoringAppApi.new application_details = SematextCloud::CreateAppInfo.new # CreateAppInfo | Details of the application to be created begin #Create Monitoring App result = api_instance.create_spm_application1(application_details) p result rescue SematextCloud::ApiError => e puts "Exception when calling MonitoringAppApi->create_spm_application1: #{e}" end ``` ### Parameters | Name | Type | Description | Notes | | ----------------------- | ------------------------------------- | ---------------------------------------- | ----- | | **application_details** | [**CreateAppInfo**](CreateAppInfo.md) | Details of the application to be created | ### Return type [**GenericApiResponse**](GenericApiResponse.md) ### Authorization [api_key](../README.md#api_key) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
SematextCloud-0.2.0 | docs/MonitoringAppApi.md |
SematextCloud-0.1.5 | docs/MonitoringAppApi.md |