ImageBucket API

The ImageBucket API allows you to fetch information about users and images.
All API calls should be made to https://img.zrmiller.com/api/{endpoint}.

GET/users
Returns an array of all user.
Response
usernameStringThe user's ImageBucket username.timeJoinedStringThe datetime of when the user signed up. Format is 'Year-Month-Day Hour:Minute:Second'.urlStringThe URL for the user's profile, which will display all images uploaded by the user.
Example Response
[
    {
        "username": "CatFan42",
        "timeJoined": "2023-05-30 17:07:17",
        "url": "https://img.zrmiller.com/u/CatFan42"
    },
    {
        "username": "nature_is_neat",
        "timeJoined": "2023-05-30 18:06:13",
        "url": "https://img.zrmiller.com/u/nature_is_neat"
    }
]
GET/users/{username}
Returns data about a single user.
Parameters
usernameStringThe username of the target user.
Response
usernameStringThe user's ImageBucket username.timeJoinedStringThe datetime of when the user signed up. Format is 'Year-Month-Day Hour:Minute:Second'.urlStringThe URL for the user's profile, which will display all images uploaded by the user.
Example Response
{
    "username": "CatFan42",
    "timeJoined": "2023-05-30 17:07:17",
    "url": "https://img.zrmiller.com/u/CatFan42"
}
GET/users/{username}/images
Returns an array of all images uploaded by the target user.
Parameters
usernameStringThe username of the target user.
Response
authorStringThe username of the person who uploaded the image.uuidStringThe unique ID of the image.extensionStringThe file type extension for the image.thumbnailBooleanReturns true if this image has had a thumbnail version created.animatedBooleanReturns true if this image is a gif with more than one frame.timeUploadedStringThe datetime when the image was uploaded. Format is 'Year-Month-Day Hour:Minute:Second'urlStringA direct to the target image.thumbnailURLStringA direct to the target image's thumbnail. If the image has no thumbnail, the full sized image will be served instead.
Example Response
[
    {
        "author": "CatFan42",
        "uuid": "qvVzecRX",
        "extension": "jpg",
        "thumbnail": true,
        "animated": false,
        "timeUploaded": "2023-05-30 17:51:24",
        "url": "https://img.zrmiller.com/i/qvVzecRX.jpg",
        "thumbnailURL": "https://img.zrmiller.com/i/qvVzecRX_thumbnail.jpg"
    },
    {
        "author": "CatFan42",
        "uuid": "JxVcaRsz",
        "extension": "jpg",
        "thumbnail": true,
        "animated": false,
        "timeUploaded": "2023-05-30 17:51:30",
        "url": "https://img.zrmiller.com/i/JxVcaRsz.jpg",
        "thumbnailURL": "https://img.zrmiller.com/i/JxVcaRsz_thumbnail.jpg"
    }
]
GET/images
Returns an array of all uploaded images.
Response
authorStringThe username of the person who uploaded the image.uuidStringThe unique identifier of the image.extensionStringThe file type extension for the image.urlStringA direct link to the target image.
Example Response
[
    {
        "author": "CatFan42",
        "uuid": "qvVzecRX",
        "extension": "jpg",
        "url": "https://img.zrmiller.com/i/qvVzecRX.jpg"
    },
    {
        "author": "CatFan42",
        "uuid": "JxVcaRsz",
        "extension": "jpg",
        "url": "https://img.zrmiller.com/i/JxVcaRsz.jpg"
    }
]
GET/images/{uuid}
Returns metadata for a single image.
Parameters
uuidStringThe unique identifier of the target image.
Response
authorStringThe username of the person who uploaded the image.uuidStringThe unique ID of the image.extensionStringThe file type extension for the image.thumbnailBooleanReturns true if this image has had a thumbnail version created.animatedBooleanReturns true if this image is a gif with more than one frame.timeUploadedStringThe datetime when the image was uploaded. Format is 'Year-Month-Day Hour:Minute:Second'urlStringA direct to the target image.thumbnailURLStringA direct to the target image's thumbnail. If the image has no thumbnail, the full sized image will be served instead.
Example Response
{
    "author": "CatFan42",
    "uuid": "qvVzecRX",
    "extension": "jpg",
    "thumbnail": true,
    "animated": false,
    "timeUploaded": "2023-05-30 17:51:24",
    "url": "https://img.zrmiller.com/i/qvVzecRX.jpg",
    "thumbnailURL": "https://img.zrmiller.com/i/qvVzecRX_thumbnail.jpg"
}