Compresr Logs API

The Logs API from Compresr — 1 operation(s) for logs.

OpenAPI Specification

compresr-logs-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Compresr Platform Admin Logs API
  version: 1.0.0
tags:
- name: Logs
paths:
  /logs/stats:
    get:
      summary: Logs Stats
      description: 'Get log file sizes for monitoring.


        Returns current sizes of error.log and warning.log.

        Useful to check if rotation is working and total disk usage.'
      operationId: logs_stats_logs_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - Logs
components:
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer