Skip to content
Hoody.com

The storage endpoints let you list, retrieve, and delete files that have been saved to disk by the curl service. Saved files are organized under three symlinked directory structures — by-job, by-domain, and by-date — so the same physical file can be referenced through any of the three paths. Use these endpoints to audit downloads, look up files by domain or date, or clean up old content.

Retrieve a paginated list of every file currently saved to storage. Each entry includes its relative path, byte size, creation timestamp, and the originating job UUID when one can be parsed from the path. Files appear under their by-job, by-domain, and by-date paths, but all three resolve to the same physical file.

NameInTypeRequiredDescription
pagequeryintegerNo1-based page number
limitqueryintegerNoItems per page. When omitted, the handler returns all items.
Terminal window
curl -X GET "https://proj-abc123-cont-curl-1.eu-west-1.containers.hoody.icu/api/v1/curl/storage?page=1&limit=20" \
-H "Authorization: Bearer <token>"

Stream the raw contents of a previously saved file. The response uses Content-Type: application/octet-stream, so it works for any file type. The path parameter accepts any of the three symlinked forms (by-job/..., by-domain/..., or by-date/...).

Path examples:

  • by-job/550e8400-e29b-41d4-a716-446655440000/report.pdf
  • by-domain/api.example.com/660e8400-e29b-41d4-a716-446655440111
  • by-date/2024-01-15/770e8400-e29b-41d4-a716-446655440222
NameInTypeRequiredDescription
pathpathstringYesRelative path to file in storage (supports nested paths)
Terminal window
curl -X GET "https://proj-abc123-cont-curl-1.eu-west-1.containers.hoody.icu/api/v1/curl/storage/by-job/550e8400-e29b-41d4-a716-446655440000/report.pdf" \
-H "Authorization: Bearer <token>" \
--output report.pdf

Permanently delete a file from storage. This action cannot be undone. Deleting a file removes only the underlying physical file — any other symlinked paths pointing to it will subsequently return 404.

NameInTypeRequiredDescription
pathpathstringYesRelative path to file in storage
Terminal window
curl -X DELETE "https://proj-abc123-cont-curl-1.eu-west-1.containers.hoody.icu/api/v1/curl/storage/by-job/550e8400-e29b-41d4-a716-446655440000/report.pdf" \
-H "Authorization: Bearer <token>"