Update file visibility (public/private)
Changed onChange whether a file is publicly accessible. Only the file owner or a service key can change visibility. If the bucket defines UPDATE policies, the owner must also satisfy one of them.
- Public files can be downloaded with just an anon key (no user authentication required)
- Private files (default) require authentication and must pass policy checks
- All downloads go through the Volcano API - there is no direct access to the underlying store
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/storage/{bucketName}/{path}/visibility
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Storage bucket name
Object path within bucket
Request body
Response
Visibility updated
Changes
- ▲
added the new path request parameter
bucketName - ▲
added the new required request property
- ▲
the request's body type changed from no type to
object - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲
- ▲
the request's body type changed from
objectto no type - ▲
the response's body type changed from
objectto no type for status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ●
deleted the
pathrequest parameterbucketName - ●
removed the request property
- ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status
- ▲