mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 09:09:58 -05:00
33 lines
734 B
YAML
33 lines
734 B
YAML
---
|
|
tags:
|
|
- "File Download"
|
|
summary: 'Download a single cleaned file or zip archive containing multiple files'
|
|
consumes:
|
|
- "application/json"
|
|
produces:
|
|
- "*/*"
|
|
parameters:
|
|
- name: "key"
|
|
in: "path"
|
|
description: "A key generated for that resource"
|
|
required: true
|
|
type: "string"
|
|
- name: "secret"
|
|
in: "path"
|
|
description: "A secret generated for that resource"
|
|
required: true
|
|
type: "string"
|
|
- name: "filename"
|
|
in: "path"
|
|
description: "the filename of the cleaned file"
|
|
required: true
|
|
type: "string"
|
|
|
|
|
|
responses:
|
|
200:
|
|
description: "An object containing all info about the cleaned file"
|
|
schema:
|
|
$ref: '#/definitions/UploadResponse'
|
|
404:
|
|
description: "The filename, key or secret are wrong" |