mirror of
https://github.com/nextcloud/server.git
synced 2025-01-30 22:37:01 +00:00
6eb843cc57
Signed-off-by: provokateurin <kate@provokateurin.de>
68 lines
2 KiB
JSON
68 lines
2 KiB
JSON
{
|
|
"openapi": "3.0.3",
|
|
"info": {
|
|
"title": "settings-administration",
|
|
"version": "0.0.1",
|
|
"description": "Nextcloud settings",
|
|
"license": {
|
|
"name": "agpl"
|
|
}
|
|
},
|
|
"components": {
|
|
"securitySchemes": {
|
|
"basic_auth": {
|
|
"type": "http",
|
|
"scheme": "basic"
|
|
},
|
|
"bearer_auth": {
|
|
"type": "http",
|
|
"scheme": "bearer"
|
|
}
|
|
},
|
|
"schemas": {}
|
|
},
|
|
"paths": {
|
|
"/index.php/settings/admin/log/download": {
|
|
"get": {
|
|
"operationId": "log_settings-download",
|
|
"summary": "download logfile",
|
|
"description": "This endpoint requires admin access",
|
|
"tags": [
|
|
"log_settings"
|
|
],
|
|
"security": [
|
|
{
|
|
"bearer_auth": []
|
|
},
|
|
{
|
|
"basic_auth": []
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Logfile returned",
|
|
"headers": {
|
|
"Content-Disposition": {
|
|
"schema": {
|
|
"type": "string",
|
|
"enum": [
|
|
"attachment; filename=\"nextcloud.log\""
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"content": {
|
|
"application/octet-stream": {
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "binary"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|