From 2c1bc2f05af93e13d331e0f6a5c1b617717a50e3 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Mon, 13 Jul 2020 08:14:47 +0200 Subject: documented download endpoint --- matweb/oas/download.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 matweb/oas/download.yml (limited to 'matweb/oas') diff --git a/matweb/oas/download.yml b/matweb/oas/download.yml new file mode 100644 index 0000000..4c101a4 --- /dev/null +++ b/matweb/oas/download.yml @@ -0,0 +1,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" \ No newline at end of file -- cgit v1.3