Sha256: 7b7ea6ffee9471191712530f104d5160a521a421ad16f67d2892da8058bc529e

Contents?: true

Size: 1.57 KB

Versions: 5

Compression:

Stored size: 1.57 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

5 entries across 5 versions & 1 rubygems

Version Path
SematextCloud-0.1.4 docs/LogsAppApi.md
SematextCloud-0.1.3 docs/LogsAppApi.md
SematextCloud-0.1.2 docs/LogsAppApi.md
SematextCloud-0.1.1 docs/LogsAppApi.md
SematextCloud-0.1.0 docs/LogsAppApi.md