summaryrefslogtreecommitdiff
path: root/matweb/oas/download.yml
blob: 4c101a4def5dc3431bc302b1e5eb5ad6521a3859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
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"