Create Token QR code for File
Creates a QR code for a Token of a File that corresponds to the given fileId
.
Parameters
fileId
is theid
of the File the Token and its QR code should be created for.- Optionally,
expiresAt
can be specified, which describes the ISODateTime the Token expires at. - Optionally,
forIdentity
can be specified, which names theaddress
of the only Identity that will be able to load the Token from the Backbone.
On Success
- Returns the created QR code, whose content is Base64-encoded.
On Failure
fileId
does not resolve to a File.expiresAt
lies in the past.