OAPI: add operation to read the entire task log
Manifest task: T99730
This commit is contained in:
parent
9cebcc9f7c
commit
7521bff1a7
@ -776,6 +776,33 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
|
||||
/api/v3/tasks/{task_id}/log:
|
||||
summary: Fetch the task's entire log.
|
||||
get:
|
||||
operationId: fetchTaskLog
|
||||
summary: Fetch the entire task log.
|
||||
tags: [jobs]
|
||||
parameters:
|
||||
- name: task_id
|
||||
in: path
|
||||
required: true
|
||||
schema: { type: string, format: uuid }
|
||||
responses:
|
||||
"200":
|
||||
description: The task log.
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
"204":
|
||||
description: Returned when the task has no log yet.
|
||||
default:
|
||||
description: Unexpected error.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Error"
|
||||
|
||||
/api/v3/tasks/{task_id}/setstatus:
|
||||
summary: >
|
||||
Request a status change for the given task. This may have effect on the
|
||||
|
Loading…
x
Reference in New Issue
Block a user