Skip to content

Latest commit

 

History

History
193 lines (144 loc) · 4.69 KB

LoggingApi.md

File metadata and controls

193 lines (144 loc) · 4.69 KB

IO.Swagger.Api.LoggingApi

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.

ApiLogAddGet

Log ApiLogAddGet (string authorization)

Gets the log container.

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
authorization string access token

Return type

Log

Authorization

No authorization required

HTTP request headers

  • 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]

ApiLogAddPut

Log ApiLogAddPut (string authorization, Log log = null)

Adds the log.

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
authorization string access token
log Log The log. [optional]

Return type

Log

Authorization

No authorization required

HTTP request headers

  • 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]

ApiLogGet

List ApiLogGet (string authorization)

Gets all logs.

Example

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 );
            }
        }
    }
}

Parameters

Name Type Description Notes
authorization string access token

Return type

List

Authorization

No authorization required

HTTP request headers

  • 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]