Skip to content

Commit

Permalink
Update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
ammsalme committed Jan 19, 2024
1 parent 8922710 commit 4cb536b
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -650,23 +650,37 @@ paths:
security:
- httpBasic: []
put:
summary: Protect a job log
summary: Protect/unprotect a job's / a job's blobSequence's logs
tags:
- /logs/
parameters:
- name: blobSequence
in: query
required: false
schema:
type: integer
security:
- httpBasic: []
responses:
'200':
description: Array of job logs
description: Mongo response object for update
delete:
summary: Delete a job log
summary: Delete a job's logs
tags:
- /logs/
parameters:
- name: force
description: Force deletion of protected logs
in: query
required: false
schema:
type: boolean
default: false
security:
- httpBasic: []
responses:
'200':
description: Array of job logs
description: Mongo response object for deletion
components:
securitySchemes:
httpBasic:
Expand Down

0 comments on commit 4cb536b

Please sign in to comment.