Module log_api

Module log_api 

Source

Enums§

GetLogsCountError
struct for typed errors of method get_logs_count

Functions§

get_logs_count
Get the Count of Logs This endpoint returns the total count of logs present in the database. The response is a JSON object containing the count. # Responses * 200 OK: Successfully retrieved the count of logs. The response body will be a JSON object with the structure { \"count\": i64 }, where i64 is the total number of logs. * 500 Internal Server Error: Indicates that an error occurred on the server while processing the request. The response body will contain a JSON object with an error message. # Example json { \"count\": 456 }