Anchorage API reference
    Preparing search index...

    Structural subset of an R2ObjectBody (get's return).

    interface ArtifactBucketObjectBody {
        customMetadata?: Record<string, string>;
        httpMetadata?: { contentType?: string };
        key: string;
        size: number;
        uploaded: Date;
        arrayBuffer(): Promise<ArrayBuffer>;
        text(): Promise<string>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    customMetadata?: Record<string, string>
    httpMetadata?: { contentType?: string }
    key: string
    size: number
    uploaded: Date

    Methods