Add listing of runners file system.

This commit is contained in:
Maximilian Paß
2022-08-17 22:40:31 +02:00
parent c7ee7c1e25
commit 152b77afe5
11 changed files with 408 additions and 13 deletions

View File

@ -51,13 +51,20 @@ components:
- networkAccess
- exposedPorts
additionalProperties: false
File:
FileHeader:
type: object
properties:
name:
description: The path of the file.
type: string
example: ./logs/last.log
objectType:
description: The type of the object (file).
type: string
minLength: 1
maxLength: 1
enum: ["d", "l", "-"]
default: "-"
size:
description: The size of the file in bytes.
type: integer
@ -310,11 +317,11 @@ paths:
schema:
type: object
properties:
Files:
files:
description: A list of all Files
type: array
items:
$ref: "#/components/schemas/File"
$ref: "#/components/schemas/FileHeader"
"401":
$ref: "#/components/responses/Unauthorized"
patch: