Variables

baseUrl

The base url for the blob storage. The expected endpoints are:

  • POST /api/needle/blob - to request a new upload url

Functions

canUpload

Checks if the current user can upload a file of the given size

download
getBlobUrlForKey
hashMD5

Generates an md5 hash from a given buffer

hashMD5_Base64
hashSha256
upload