Storage Objects

Download a public file (no authentication required)

Changed on

Download a file that has been marked as public. This endpoint requires NO authentication.

Access Requirements:

  • The file must have is_public: true set via the visibility endpoint
  • Private files will return 403 Forbidden

Use Cases:

  • Shareable public URLs for profile pictures, public documents, etc.
  • Embedding public files on external websites
  • Direct linking without requiring SDK or authentication

URL Format:

GET /public/{projectId}/{bucketName}/{path}

Example:

https://api.volcano.dev/public/abc123/avatars/user-photo.jpg

CORS: This endpoint allows all origins since the file is already public.

get/public/{projectId}/{bucketName}/{path}

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    none declared

Path parameters

projectId, string uuid required

Project ID

bucketName, string required

Storage bucket name

path, string required

Object path within bucket

Response

File content

Changes

    • info

      added the non-success response with the status

    • breaking

      added the new path request parameter bucketName

    • breaking

      the response's body type changed from no type to object for status

    2 more changes in this revision