The path to the file to delete.
Optional
options: { Optional options object.
Optional
wasSet to true if the file was originally signed in order for the corresponding signature file to also be deleted.
Get the app storage bucket URL
That resolves to the URL of the app index file or rejects if it fails
the gaia hub URL
the app private key used to generate the app address
Retrieves the specified file from the app's data store.
that resolves to the raw data in the file or rejects with an error
the path to the file to read
Optional
options: GetFileOptionsa GetFileOptions object
Get the URL for reading a file from an app's data store.
that resolves to the URL or rejects with an error
the path to the file to read
Optional
options: GetFileUrlOptionsFetch the public read URL of a user file for the specified app.
that resolves to the public read URL of the file or rejects with an error
the path to the file to read
The Blockstack ID of the user to look up
The app origin
Optional
zoneFileLookupURL: stringThe URL to use for zonefile lookup. If falsey, this will use the blockstack.js's getNameInfo function instead.
Optional
privateKey: stringOptional
username: stringOptional
zoneFileLookupURL: stringList the set of files in this application's Gaia storage bucket.
that resolves to the number of files listed
a callback to invoke on each named file that
returns true
to continue the listing operation or false
to end it.
If the call is ended early by the callback, the last file is excluded.
If an error occurs the entire call is rejected.
Stores the data provided in the app's data store to to the file specified.
that resolves if the operation succeed and rejects if it failed
the path to store the data in
the data to store in the file
Optional
options: PutFileOptionsa PutFileOptions object
Generated using TypeDoc
Deletes the specified file from the app's data store.
Returns
Resolves when the file has been removed or rejects with an error.