Store the bytes (body ≤ `CLOUDD_STORAGE_MAX_BYTES`, default 32 MiB).
const url = 'https://infra-hyphae.run/v0/projects/example/storage/objects/example/example';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': '*/*'}, body: 'binary'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://infra-hyphae.run/v0/projects/example/storage/objects/example/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: */*' \ --data binaryContent type from the Content-Type header (default
application/octet-stream). Writes the blob, then upserts the catalog
row with the backend’s etag and size (201 new, 200 replaced). Works
with or without a prior upload ticket. Receipted.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”S3-compatible bucket name so the same name works on every backend.
Object key; may contain /. Percent-encode other reserved characters.
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “ Responses ”Stored (replaced an existing object; id retained).
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
S3-compatible bucket name so the same name works on every backend.
RFC 3339, UTC.
RFC 3339, UTC.
Example
{ "backend": "fs", "state": "pending"}Stored (new 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
S3-compatible bucket name so the same name works on every backend.
RFC 3339, UTC.
RFC 3339, UTC.
Example
{ "backend": "fs", "state": "pending"}Malformed or out-of-bounds input (invalid_request).
object
object
Example
{ "error": { "code": "invalid_request" }}Missing, malformed, duplicate, or unknown credential (authentication_required).
object
object
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”Unknown route, or a project the caller does not own (not_found).
object
object
Example
{ "error": { "code": "invalid_request" }}Body exceeds the surface’s limit (payload_too_large).
object
object
Example
{ "error": { "code": "invalid_request" }}The engine failed to start or did not answer (upstream_unavailable).
object
object
Example
{ "error": { "code": "invalid_request" }}