Browse objects beneath the assets surface's configured paths
GET/program/api/v2/storage/assets/objects
Lists a bounded page of objects beneath one of the assets
surface's configured paths, for a destination picker.
Returns object NAMES ONLY. There are deliberately no
presigned preview or thumbnail URLs: presigning every object on
every page against a customer's bucket costs a signature per
object for a picker that mostly scrolls past them.
Preview-on-click can be added later as its own endpoint without
changing this shape. prefixes carries the immediate
sub-prefixes so a picker can descend.
Listing exists for the assets surface only — which is why
the surface is fixed in the path rather than being a parameter.
The other three surfaces produce files at locations the customer
already knows, and browsing them would put a file-management
surface in the dashboard for storage Native Frame does not own.
There is no URL shape here in which "list archive", "list
snapshots" or "list clips" is expressible. Rename, move and
delete are not offered on any surface.
Requires the assets surface to be in byo mode; responds 422
otherwise, since managed and public_url have no customer
bucket to browse. A path outside the surface's configured
paths is refused with 400 rather than listed.
nextCursor is absent on the last page.
Error codes (errorCode in the error body):
- 422
assets_not_byo— the assets surface is not bound to the customer's own bucket.
Request
Responses
- 200
- 400
- 403
- 422
- 500
A page of object names and sub-prefixes
The requested path is outside the surface's configured paths
Forbidden — no project access
The assets surface is not in byo mode, so there is no customer bucket to browse
Internal Server Error