get: operationId: exportsDownload tags: - 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'