aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-27 11:44:31 +0200
committerChocobozzz <me@florianbigard.com>2023-07-27 14:17:12 +0200
commitf18003d0ac5c3fc6ec8de2a89102d1e1e89182df (patch)
tree0b3baa5658478607f3417fe7c747cc3a782f15b3 /support/doc/api
parentf5af5feb5a41eb6e2796e480402106b55bd10f04 (diff)
downloadPeerTube-f18003d0ac5c3fc6ec8de2a89102d1e1e89182df.tar.gz
PeerTube-f18003d0ac5c3fc6ec8de2a89102d1e1e89182df.tar.zst
PeerTube-f18003d0ac5c3fc6ec8de2a89102d1e1e89182df.zip
Improve runner management
* Add ability to remove runner jobs * Add runner job state quick filter * Merge registration tokens and runners tables in the same page * Add copy button to copy registration token
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 654bd7461..44daecf85 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -6088,6 +6088,21 @@ paths:
6088 '204': 6088 '204':
6089 description: successful operation 6089 description: successful operation
6090 6090
6091 /api/v1/runners/jobs/{jobUUID}:
6092 delete:
6093 summary: Delete a job
6094 description: The endpoint will first cancel the job if needed, and then remove it from the database. Children jobs will also be removed
6095 security:
6096 - OAuth2:
6097 - admin
6098 tags:
6099 - Runner Jobs
6100 parameters:
6101 - $ref: '#/components/parameters/jobUUID'
6102 responses:
6103 '204':
6104 description: successful operation
6105
6091 /api/v1/runners/jobs: 6106 /api/v1/runners/jobs:
6092 get: 6107 get:
6093 summary: List jobs 6108 summary: List jobs
@@ -6101,6 +6116,13 @@ paths:
6101 - $ref: '#/components/parameters/count' 6116 - $ref: '#/components/parameters/count'
6102 - $ref: '#/components/parameters/runnerJobSort' 6117 - $ref: '#/components/parameters/runnerJobSort'
6103 - $ref: '#/components/parameters/search' 6118 - $ref: '#/components/parameters/search'
6119 - name: stateOneOf
6120 in: query
6121 required: false
6122 schema:
6123 type: array
6124 items:
6125 $ref: '#/components/schemas/RunnerJobState'
6104 responses: 6126 responses:
6105 '200': 6127 '200':
6106 description: successful operation 6128 description: successful operation