Sha256: 29997a499b7b71784a1e4c72375426d50d572005254ec8269b604c112a65b6f1
Contents?: true
Size: 1.9 KB
Versions: 2
Compression:
Stored size: 1.9 KB
Contents
# SematextCloud::LogsAppApi All URIs are relative to *https://localhost* | Method | HTTP request | Description | | -------------------------------------------------------------------------- | ------------------------------------- | --------------- | | [**create_logsene_application**](LogsAppApi.md#create_logsene_application) | **POST** /logsene-reports/api/v3/apps | Create Logs App | # **create_logsene_application** > GenericApiResponse create_logsene_application(application_details) Create Logs 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::LogsAppApi.new application_details = SematextCloud::CreateAppInfo.new # CreateAppInfo | Details of the application to be created begin #Create Logs App result = api_instance.create_logsene_application(application_details) p result rescue SematextCloud::ApiError => e puts "Exception when calling LogsAppApi->create_logsene_application: #{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/LogsAppApi.md |
SematextCloud-0.1.5 | docs/LogsAppApi.md |