"_storage" system table.
File metadata of a file can be accessed from
queries and
mutations via db.system.get and
db.system.query:
sha256: a base16 encoded sha256 checksum of the file contentssize: the size of the file in bytescontentType: theContentTypeof the file if it was provided on upload
Accessing metadata from actions (deprecated)
Alternatively, astorage.getMetadata()
function is available to access individual file metadata from
actions and
HTTP actions:
storage.getMetadata()
returns a FileMetadata, which has a
slightly different shape than the result from db.system.get.