You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/paths/exports_{agb}_{filename}.yaml

29 lines
910 B
YAML

get:
operationId: exportsDownload
tags:
- HIS exports
summary: Download an available export
parameters:
- name: agb
in: path
description: The AGB code of the practice for the export file you want to download.
required: true
schema:
$ref: ../schemas/agb.yaml
- name: filename
in: path
required: true
description: |-
The name of the file as provided by the `/exports/available` endpoint.
schema:
type: string
responses:
'200':
description: |-
Fetches the requested HIS export as ZIP file.
Note that the response will have content type `application/zip` even if the requester's `Accept` header does not indicate this mime type is supported.
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'