Catalog rows in one bucket, sorted by key.
GET
/v0/projects/{id}/storage/objects
const url = 'https://infra-hyphae.run/v0/projects/example/storage/objects?bucket=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://infra-hyphae.run/v0/projects/example/storage/objects?bucket=example' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”bucket
required
S3-compatible bucket name so the same name works on every backend.
string
Responses
Section titled “ Responses ”Objects (pending rows included, with state).
Media typeapplication/json
object
bucket
required
S3-compatible bucket name so the same name works on every backend.
string
objects
required
Array<object>
Catalog row. etag and size are the blob store’s (S3/MinIO ETag, or SHA-256 hex on the filesystem backend); the Cloud computes nothing else about the bytes. Native is not involved.
object
id
required
string
project
required
string
bucket
required
S3-compatible bucket name so the same name works on every backend.
string
key
required
string
size
required
integer
etag
required
string
content_type
required
string
backend
required
string
state
required
string
created_at
required
RFC 3339, UTC.
string format: date-time
updated_at
required
RFC 3339, UTC.
string format: date-time
Example
{ "objects": [ { "backend": "fs", "state": "pending" } ]}Malformed or out-of-bounds input (invalid_request).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}Missing, malformed, duplicate, or unknown credential (authentication_required).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”WWW-Authenticate
string
Unknown route, or a project the caller does not own (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}