mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* added download system logs * download all logs * download all logs check-lint fix * check lint fix * download logs api * download logs api working * download logs working with error log * linting issues and code cleanup * CI check fix * documented the api and logs from file with error handling * test and final changes done * final changes done * Fix order of server-side translations * Fix incorrect indentation of logs.yaml --------- Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
18 lines
499 B
YAML
18 lines
499 B
YAML
/api/v4/logs/download:
|
|
get:
|
|
tags:
|
|
- logs
|
|
summary: Download system logs
|
|
description: >
|
|
Downloads the system logs as a text file.
|
|
operationId: DownloadSystemLogs
|
|
responses:
|
|
"200":
|
|
description: System logs downloaded successfully.
|
|
content:
|
|
text/plain:
|
|
schema:
|
|
type: string
|
|
format: binary
|
|
"500":
|
|
$ref: "#/components/responses/InternalServerError"
|