diff options
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r-- | support/doc/api/openapi.yaml | 22 |
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 |