update docs to reflect api changes

This commit is contained in:
2018-06-07 21:03:35 +02:00
parent 7cf7924b96
commit f067eabd05
6 changed files with 20 additions and 22 deletions

View File

@@ -26,17 +26,10 @@
<tr>
<td>name</td>
<td>false</td>
<td>300 Characters</td>
<td>Name of file param</td>
<td>255 Characters</td>
<td>Multipart file name</td>
<td>Name of the file to upload</td>
</tr>
<tr>
<td>description</td>
<td>false</td>
<td>5000 Characters</td>
<td>Pixeldrain File</td>
<td>Description of the file</td>
</tr>
</table>
<h3>Returns</h3>
@@ -73,13 +66,7 @@
{
"success": false,
"value": "name_too_long",
"message": "File Name is too long, Max 300 characters allowed."
}</pre>
<pre>HTTP 413: Payload Too Large
{
"success": false,
"value": "description_too_long",
"message": "File Description is too long, Max 5000 characters allowed."
"message": "File Name is too long, Max 255 characters allowed."
}</pre>
</div>
</details>