Allow to select a specific log history entry by its create date

This commit is contained in:
Ingo Oppermann
2023-03-01 16:48:48 +01:00
parent 3151670829
commit 857f5b8182
5 changed files with 147 additions and 2 deletions

View File

@@ -1641,6 +1641,47 @@ const docTemplate = `{
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/api.ProcessReport"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/api.Error"
}
}
}
}
},
"/api/v3/process/{id}/report/{at}": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get the logs and the log history of a process.",
"produces": [
"application/json"
],
"tags": [
"v16.?.?"
],
"summary": "Get the logs of a process",
"operationId": "process-3-get-report-at",
"parameters": [
{
"type": "string",
"description": "Process ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",