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

{
  "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

{
  "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

{
  "success": false,
  "error": "Invalid MD5",
  "code": 1061
}

Last updated