kernl API
    Preparing search index...

    Function describeUpload

    • The consent prompt for an upload: what leaves, how big it is, where it goes and who can then fetch it. A file on a public server can be fetched by anyone who has its address, so the prompt says so plainly.

      Parameters

      Returns ConsentSummary

      The summary the host renders.

      describeUpload({ mimeType: 'image/png', size: 2048, sha256, servers }, identity).title; // 'Upload a file'