Images¶
List of Endpoints¶
/upload/image: Handled byimage_upload()./upload/image/overlay: Handled byimage_upload_with_overlay().
API Reference¶
-
images.image_upload()[source]¶ Endpoint for just image upload.
Expects form data fields “post_id”, “ext” and “content-type” which are used to save the output name. Expects image to be uploaded as multipart/file-upload and accessible under the name “image”.
Returns: - 204 - No content.
- 400 - Missing data field.
- 5XX - Request too large.