\EventLogApi

All URIs are relative to http://localhost/api/v1

MethodHTTP requestDescription
GetEventLogGet /eventLogs/{event_log_id}Get a log entry
GetEventLogsGet /eventLogsGet all log entries from event log

GetEventLog

EventLog GetEventLog(ctx, eventLogId)

Get a log entry

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
eventLogIdint32The Event Log ID.

Return type

EventLog

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetEventLogs

EventLogCollection GetEventLogs(ctx, optional)

Get all log entries from event log

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
optional*GetEventLogsOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetEventLogsOpts struct

NameTypeDescriptionNotes
limitoptional.Int32The numbers of items to return.[default to 100]
offsetoptional.Int32The number of items to skip before starting to collect the result set.

Return type

EventLogCollection

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]