segs.lol
Settings
ShareX
Chatterino
Settings; External Tools; Image Uploader
| Request URL: | https://segs.lol/api/upload |
|---|---|
| Form field: | file |
| Image link: | {link} |
| Deletion link: | {delete} |
API
| Upload: | curl "https://segs.lol/api/upload" -F "file=@/home/supa/kappa.png" |
|---|
content-type: application/json
{
"id": "${id}",
"ext": ".png",
"type": "image/png",
"checksum": "${md5}",
"key": "${key}",
"link": "https://segs.lol/${id}",
"delete": "https://segs.lol/delete?${key}"
}| Delete: | curl "https://segs.lol/api/delete?key=$fileKey" |
|---|
content-type: application/json
{
"success": true
}| Object: | curl "https://segs.lol/api/object?id=$fileId" |
|---|
content-type: application/json
{
"id": "${id}",
"type": "${mimetype}",
"date": "${Number(unixUploadTimeMS)}",
"size": "${Number(bytes)}",
"checksums": {
"md5": "${md5}"
},
"name": "${filename} (nullable)"
}Looking for a cool song/video queue manager for your Twitch chat?
Either way, check out
chat.vote/playlist!