콘텐츠로 이동

BlobMeta

이 콘텐츠는 아직 번역되지 않았습니다.

字节对象的元数据:体积、内容类型、sha256 内容寻址与可选的生命周期 / 标签 / CAS 令牌。

bytes: number;

contentType: string;

‘application/x-ndjson’ | ‘application/gzip’ | ‘application/zstd’ | ‘application/json’


optional etag?: string;

条件写 CAS 令牌(与 PutResult.etag 同一口径,不透明)。capabilities.conditionalPut:true 的适配器须在 head / list 返回(引擎据此对既有清单 ifMatch);其他适配器可缺席。


optional expiresAt?: string;

生命周期提示;不是删除承诺


sha256: string;

hex;内容寻址;put 幂等判据


optional tags?: Record<string, string>;

如 { tenant, sessionId, kind:‘segment’|‘manifest’|‘checkpoint’|‘attachment’ };引擎只写不读