Skip to main content

Crate artifact_api

Crate artifact_api 

Source
Expand description

Stable, storage-independent artifact references shared across mHome runtimes.

Structs§

ArtifactMetadata
Immutable metadata encoded into an artifact URI.
ArtifactPolicy
Both independent policy dimensions participate in resource identity.
ArtifactReference
Canonical, scope-owned, content-addressed artifact identity.
ArtifactReferenceError
Validation error returned for malformed or cross-scope references.
ArtifactUploadReceipt
Successful HTTP receipt means bytes were staged, not that an Artifact exists.
ArtifactUri
A canonical artifact URI. Construction and deserialization reject non-artifact sources.
CancelArtifactUploadRequest
CancelArtifactUploadResponse
CompleteArtifactUploadRequest
The sender supplies the digest and length of all bytes it intended to send.
HostTlsIdentity
TLS identity of a local file endpoint, delivered over the authenticated business channel. It grants no Host management authority. Public cloud URLs omit this field.
HostTlsPublicKey
ImportArtifactRequest
Explicit import of a finite HTTP resource. Scope comes from authenticated context.
MediaReference
PrepareArtifactUploadRequest
PrepareArtifactUploadResponse
PrepareArtifactUploadValidationError
PutArtifactRequest
PutArtifactResponse
PutArtifactValidationError
ResolveArtifactRequest
ResolveArtifactResponse
ResolveArtifactResponseError
StartArtifactUploadRequest
Start an upload whose final length and digest need not be known yet.
StartArtifactUploadResponse

Enums§

ArtifactDelivery
ArtifactIdentity
How callers distinguish resources containing the same bytes.
ArtifactKind
Logical media kind encoded in an artifact reference.
ArtifactReferenceErrorKind
Stable category for reference validation failures.
ArtifactRetention
Retention is independent of identity and physical storage technology.

Constants§

ARTIFACT_URL_PREFIX
Prefix of the version 3 artifact URI format.
MAX_EXTERNAL_ARTIFACT_BYTES
Public upload/import policy, not a limit on internally generated artifacts.

Type Aliases§

CompleteArtifactUploadResponse
DeleteArtifactRequest
Lifecycle operations use the same canonical, scope-checked URI as resolve.