The bytes, with `Content-Type`, `ETag`, and `X-Hyphae-Object-Id`.
GET
/v0/projects/{id}/storage/objects/{bucket}/{key}
const url = 'https://infra-hyphae.run/v0/projects/example/storage/objects/example/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/example/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
bucket
required
S3-compatible bucket name so the same name works on every backend.
string
key
required
string
Object key; may contain /. Percent-encode other reserved characters.
Responses
Section titled “ Responses ”Object bytes.
Media type*/*
string format: binary
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" }}The engine failed to start or did not answer (upstream_unavailable).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}