brows3r — TypeScript API
    Preparing search index...

    Interface TextPayload

    Payload returned by objectGetText.

    Mirrors src-tauri/src/commands/objects_cmd.rs TextPayload.

    OCP: contentType and versionId can be added as optional fields later.

    interface TextPayload {
        body: string;
        contentLength: number;
        etag: string | null;
        truncated: boolean;
    }
    Index

    Properties

    body: string

    UTF-8 text body (invalid bytes replaced with the replacement character).

    contentLength: number

    Total object size in bytes on S3 (before truncation).

    etag: string | null

    HTTP ETag string from S3.

    truncated: boolean

    true when the returned body was truncated at maxBytes.