summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfriedli2020-04-27 12:58:12 -0700
committerjfriedli2020-04-27 12:58:12 -0700
commit05ad5701d9f9ce599e2d6bcc7d736ea52deabec3 (patch)
tree91167f97a0f4f074111ad41ff3e4e0a6ff9b8f1c
parentc301e472bd7fd79d675c5df089db0b16fd1e2cfe (diff)
added secret to docs
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 22ff44d..2da1f27 100644
--- a/README.md
+++ b/README.md
@@ -123,6 +123,7 @@ The `file` parameter is the base64 encoded file which will be cleaned.
123 "output_filename": "fancy.cleaned.jpg", 123 "output_filename": "fancy.cleaned.jpg",
124 "mime": "image/jpg", 124 "mime": "image/jpg",
125 "key": "81a541f9ebc0233d419d25ed39908b16f82be26a783f32d56c381559e84e6161", 125 "key": "81a541f9ebc0233d419d25ed39908b16f82be26a783f32d56c381559e84e6161",
126 "secret": "44deb60b5febbd466e042f4172d36bcc5f7eb2eb6791d6e93191c378a381ae7c",
126 "meta": { 127 "meta": {
127 "BitDepth": 8, 128 "BitDepth": 8,
128 "ColorType": "RGB with Alpha", 129 "ColorType": "RGB with Alpha",
@@ -131,7 +132,7 @@ The `file` parameter is the base64 encoded file which will be cleaned.
131 "Interlace": "Noninterlaced" 132 "Interlace": "Noninterlaced"
132 }, 133 },
133 "meta_after": {}, 134 "meta_after": {},
134 "download_link": "http://localhost:5000/download/81a541f9ebc0233d419d25ed39908b16f82be26a783f32d56c381559e84e6161/fancy.cleaned.jpg" 135 "download_link": "http://localhost:5000/download/81a541f9ebc0233d419d25ed39908b16f82be26a783f32d56c381559e84e6161/44deb60b5febbd466e042f4172d36bcc5f7eb2eb6791d6e93191c378a381ae7c/fancy.cleaned.jpg"
135} 136}
136``` 137```
137 138
@@ -171,7 +172,8 @@ MUST contain more than two files. The max length is configurable
171 "download_list": [ 172 "download_list": [
172 { 173 {
173 "file_name": "uploaded_file_name.jpg", 174 "file_name": "uploaded_file_name.jpg",
174 "key": "uploaded_file_key" 175 "key": "uploaded_file_key",
176 "scret": "uploaded_file_secret"
175 } 177 }
176 ] 178 ]
177} 179}
@@ -186,6 +188,7 @@ The `key` parameter is the key from a previously uploaded file.
186 "output_filename": "files.2cd225d5-2d75-44a2-9f26-e120a87e4279.cleaned.zip", 188 "output_filename": "files.2cd225d5-2d75-44a2-9f26-e120a87e4279.cleaned.zip",
187 "mime": "application/zip", 189 "mime": "application/zip",
188 "key": "5ee4cf8821226340d3d5ed16bd2e1b435234a9ad218f282b489a85d116e7a4c4", 190 "key": "5ee4cf8821226340d3d5ed16bd2e1b435234a9ad218f282b489a85d116e7a4c4",
191 "secret": "44deb60b5febbd466e042f4172d36bcc5f7eb2eb6791d6e93191c378a381ae7c",
189 "meta_after": {}, 192 "meta_after": {},
190 "download_link": "http://localhost/api/download/5ee4cf8821226340d3d5ed16bd2e1b435234a9ad218f282b489a85d116e7a4c4/files.2cd225d5-2d75-44a2-9f26-e120a87e4279.cleaned.zip" 193 "download_link": "http://localhost/api/download/5ee4cf8821226340d3d5ed16bd2e1b435234a9ad218f282b489a85d116e7a4c4/files.2cd225d5-2d75-44a2-9f26-e120a87e4279.cleaned.zip"
191} 194}