Skip to content
Hoody.com

The Container Images API provides access to the public image catalog, the images a user has imported or purchased, and the actions available on those images. Use these endpoints to discover base images when provisioning containers, retrieve icon assets, import a free image, purchase a paid image, or submit a star rating.

Get a paginated list of public container images. Supports filtering by operating system, architecture, price range, rating range, and free-text search.

NameInTypeRequiredDescription
osquerystringNoFilter images by operating system - e.g., debian (the platform currently carries debian/13 only)
architecturequerystringNoFilter images by CPU architecture - e.g., amd64, arm64, armhf
min_pricequerynumberNoMinimum price filter for paid images - 0 includes free images
max_pricequerynumberNoMaximum price filter for paid images - useful for budget constraints
min_ratingquerynumberNoMinimum average rating filter - filters images with rating >= this value (0-5 stars)
max_ratingquerynumberNoMaximum average rating filter - filters images with rating at most this value (0-5 stars)
searchquerystringNoSearch term to filter images by name, description, or tags
pagequeryintegerNoPage number for pagination - starts from 1. Default: 1
limitqueryintegerNoNumber of images to return per page - maximum 100 items. Default: 20
sort_byquerystringNoField to sort images by. Allowed values: alias, added_date, price, rating
sort_orderquerystringNoSort direction. Allowed values: asc, desc
Terminal window
curl -X GET "https://api.hoody.com/api/v1/images/public?os=debian&architecture=amd64&min_price=0&page=1&limit=20&sort_by=added_date&sort_order=desc" \
-H "Authorization: Bearer <token>"

Get details for a single public container image.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the public container image to retrieve details for
Terminal window
curl -X GET "https://api.hoody.com/api/v1/images/public/507f1f77bcf86cd799439021" \
-H "Authorization: Bearer <token>"

Retrieve the icon for a container image. The response is always a PNG; a generic placeholder PNG is returned when the image has no icon, is not public, or does not exist.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container image to retrieve icon for
Terminal window
curl -X GET "https://api.hoody.com/api/v1/images/507f1f77bcf86cd799439021/icon" \
-H "Authorization: Bearer <token>" \
--output icon.png

List the container images that the authenticated user has imported or purchased.

NameInTypeRequiredDescription
pagequeryintegerNoPage number for pagination - starts from 1. Default: 1
limitqueryintegerNoNumber of images to return per page - maximum 100 items. Default: 20
sort_byquerystringNoField to sort user images by - currently only supports creation date. Allowed values: created_at
sort_orderquerystringNoSort direction. Allowed values: asc, desc
Terminal window
curl -X GET "https://api.hoody.com/api/v1/images/user?page=1&limit=20&sort_by=created_at&sort_order=desc" \
-H "Authorization: Bearer <token>"

Import a free public container image into the authenticated user’s account. The image must have a price of 0 and must not already be owned by the caller.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the public container image to import
Terminal window
curl -X POST "https://api.hoody.com/api/v1/images/import/507f1f77bcf86cd799439021" \
-H "Authorization: Bearer <token>"

Purchase a paid public container image. The cost is deducted from the authenticated user’s balance and the image becomes available in the user image list.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the paid container image to purchase
Terminal window
curl -X POST "https://api.hoody.com/api/v1/images/purchase/507f1f77bcf86cd799439021" \
-H "Authorization: Bearer <token>"

Submit a star rating (0-5) for a container image. The response includes the rating that was just submitted, the new average rating, and the total number of ratings.

NameInTypeRequiredDescription
idpathstringYesUnique identifier of the container image to rate
NameTypeRequiredDescription
ratingnumberYesRating for the image from 0 to 5 stars
Terminal window
curl -X POST "https://api.hoody.com/api/v1/images/rate/507f1f77bcf86cd799439021" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"rating": 5}'