This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Api
Ryu JuHeon edited this page Jun 2, 2021
·
1 revision
Get the current state of Heliotrope.
/about
/v4/api path is not required
json bool
Optional
Receive response in json format.
html
{
"last_checked_time": "(UTC) 2021-06-02 12:57:01.312032",
"last_mirrored_time": "(UTC) 2021-06-02 11:57:01.254476",
"new_item": "3",
"server_status": "idle" // mirroring
}
Show the image by proxying it
/proxy
shuffled_url string
Required
image_bytes (chucked)
{
"status": 400,
"message": "bad_request"
}
Shows the most requested works after sorting
/count
"hiyobot" string
Required
{
"total": 1,
"list": [
{
"index": 1570712,
"title": "title",
"count": 1
}
],
"status": 200
}
{
"status": 404,
"message": "not_found"
}
{
"status": 403,
"message": "not_authorized"
}
{
"index": 1570712
}
{
"status": 200
}
{
"status": 400,
"message": "bad_request"
}
{
"status": 403,
"message": "not_authorized"
}