Skip to content
Hoody.com

Use these endpoints to fetch files from remote URLs into the container’s filesystem, monitor in-flight transfers, and review download history. Every endpoint targets the container’s files service and supports bearer-token authentication.

The base URL for all operations on this page is https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com.

Fetch a file from a remote URL and store it in a directory on the container. The transfer runs asynchronously; poll the active-downloads endpoints or check the history to track its outcome.

NameInTypeRequiredDescription
directorypathstringYesDestination directory
downloadquerystringYesURL to download from
filenamequerystringNoCustom filename for downloaded file
timeoutqueryintegerNoDownload timeout in seconds (default 300)
Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/Downloads?download=https%3A%2F%2Ffiles.example.com%2Fdata.csv&filename=renamed-data.csv&timeout=600" \
-H "Authorization: Bearer <token>"

Two endpoints expose in-flight transfers: a directory-scoped view and a container-wide view. Both return the same progress shape.

NameInTypeRequiredDescription
directorypathstringYesDirectory to scope the listing to
downloadsquerystringYesSentinel value; pass the empty string ""
Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/Downloads?downloads=" \
-H "Authorization: Bearer <token>"

This endpoint takes no parameters.

Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/downloads" \
-H "Authorization: Bearer <token>"

Retrieve the historical record of completed and failed transfers.

NameInTypeRequiredDescription
download_historyquerystringYesSentinel value; pass the empty string ""
Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/?download_history=" \
-H "Authorization: Bearer <token>"