Images
Sort Me hosts their images, such as avatars or problem legend illustrations, on their own server. It converts images to WebP and creates multiple formats for displaying on a different parts of website.
Upload new image
POST
https://sort-me.org/images/upload
Pass the image in document
form-data field.
Get image
GET
https://sort-me.org/images/get/{id}
Get image; if possible, resize it to desired size.
For now, supported sizes are:
avatar
- 128x128, cropped to square
avatar-big
- 512x512, cropped to square
If you provide unknown size or not provide it at all, image will be returned in their default aspect ratio, resized to 1600px or less in width. This may change in future.
Images are always returned in WebP format.
Path Parameters
id*
string
UUID of previously uploaded picture.
Query Parameters
size
string
Size of picture
Last updated