Skip to content

Commit

Permalink
Add download evidence folder path
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelfteixeira committed Jan 2, 2025
1 parent 569600a commit 59dcd3d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions paths/workflow_runs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,36 @@ signed_evidence_file:
format: binary
default:
$ref: ../responses/default_error.yaml

evidence_folder:
get:
summary: Retrieve Workflow Run Evidence Folder
operationId: download_evidence_folder
description: >
Retrieves the evidence folder for the designated Workflow Run
parameters:
- name: workflow_run_id
in: path
description: Workflow Run ID
required: true
schema:
type: string
format: uuid
responses:
"302":
description: Found
headers:
Location:
description: Link to the evidence folder.
schema:
type: string
format: uri
"200":
description: The evidence folder binary data.
content:
application/zip:
schema:
type: string
format: binary
default:
$ref: ../responses/default_error.yaml

0 comments on commit 59dcd3d

Please sign in to comment.