mattermost/api/v4/source/logs.yaml
Arya Khochare a8b18ac807
MM-57013 Added download button for downloading logs from server logs page in system console (#26389)
* 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>
2024-06-24 14:05:23 -04:00

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"