All URIs are relative to https://localhost/
Method | HTTP request | Description |
---|---|---|
ApiLogAddGet | GET /_api/log/Add | Gets the log container. |
ApiLogAddPut | PUT /_api/log/Add | Adds the log. |
ApiLogGet | GET /_api/log | Gets all logs. |
Log ApiLogAddGet (string authorization)
Gets the log container.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApiLogAddGetExample
{
public void main()
{
var apiInstance = new LoggingApi();
var authorization = authorization_example; // string | access token
try
{
// Gets the log container.
Log result = apiInstance.ApiLogAddGet(authorization);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LoggingApi.ApiLogAddGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Log ApiLogAddPut (string authorization, Log log = null)
Adds the log.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApiLogAddPutExample
{
public void main()
{
var apiInstance = new LoggingApi();
var authorization = authorization_example; // string | access token
var log = new Log(); // Log | The log. (optional)
try
{
// Adds the log.
Log result = apiInstance.ApiLogAddPut(authorization, log);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LoggingApi.ApiLogAddPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | access token | |
log | Log | The log. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/json-patch+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List ApiLogGet (string authorization)
Gets all logs.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ApiLogGetExample
{
public void main()
{
var apiInstance = new LoggingApi();
var authorization = authorization_example; // string | access token
try
{
// Gets all logs.
List<Log> result = apiInstance.ApiLogGet(authorization);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling LoggingApi.ApiLogGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
authorization | string | access token |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]