Thumbnails
An API Key is required for this service. See Shared Responses for common error responses.
Get Thumbnail Information
GET
https://thumbs.yiff.rest/:id
Path Parameters
id*
String
The MD5 or ID of an e621 post.
{
"success": false,
"error": "Invalid Post ID",
"code": 1062
}
Create Thumbnail
PUT
https://thumbs.yifff.rest/:id/:type
A 202 Accepted will be returned in most circumstances. This is a non committal answer. You must fetch checkURL
at the specified checkAt
time. (you will be given a new check time if it's still processing)
If generation has already been started by someone else, a 202 Accepted will still be returned.
If a thumbnail has already been created, a 200 OK will be returned.
If Read Only is enabled, a 503 Service Unavailable will be returned.
Path Parameters
id*
String
The MD5 or ID of an e621 post.
type*
String
png
{
"success": false,
"error": "Invalid Post ID",
"code": 1062
}
Check Generation Progress
GET
https://thumbs.yiff.rest/check/:md5/:type
If Read Only is enabled, a 503 Service Unavailable will be returned.
Path Parameters
id*
String
The MD5 of an e621 post. This MUST be an md5, you will be given this if you did not have it.
type*
String
png
{
"success": false,
"error": "Invalid MD5",
"code": 1061
}
Last updated
Was this helpful?