Sha256: de28844aa7d96a5b414d8cbc89eb3b98abe24c7743e0e5dee566cf625eabf847

Contents?: true

Size: 1.75 KB

Versions: 2

Compression:

Stored size: 1.75 KB

Contents

# stcloud::LogsAppApi

All URIs are relative to */*

| Method                                                                     | HTTP request                          | Description     |
| -------------------------------------------------------------------------- | ------------------------------------- | --------------- |
| [**create_logsene_application**](LogsAppApi.md#create_logsene_application) | **POST** /logsene-reports/api/v3/apps | Create Logs App |

# **create_logsene_application**
> AppsResponse create_logsene_application(body)

Create Logs App

### Example
```ruby
# load the gem
require 'stcloud'
# setup authorization
stcloud.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 = stcloud::LogsAppApi.new
body = stcloud::CreateAppInfo.new # CreateAppInfo | Details of the application to be created


begin
  #Create Logs App
  result = api_instance.create_logsene_application(body)
  p result
rescue stcloud::ApiError => e
  puts "Exception when calling LogsAppApi->create_logsene_application: #{e}"
end
```

### Parameters

| Name     | Type                                  | Description                              | Notes |
| -------- | ------------------------------------- | ---------------------------------------- | ----- |
| **body** | [**CreateAppInfo**](CreateAppInfo.md) | Details of the application to be created |

### Return type

[**AppsResponse**](AppsResponse.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.3.1 docs/LogsAppApi.md
SematextCloud-0.3.0 docs/LogsAppApi.md