Download a public file (no authentication required)
Changed onDownload 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.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/public/{projectId}/{bucketName}/{path}
- Auth: none declared
Path parameters
Project ID
Storage bucket name
Object path within bucket
Response
File content
Changes
- ▲
added the new path request parameter
bucketName - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status
- ▲
- ▲
the response's body type changed from
objectto no type for status - ▲
removed the required property
from the response with the status - ●
deleted the
pathrequest parameterbucketName - ●
removed the optional property
from the response with the status
- ▲