The path to the file to delete.
Optional options object.
Resolves when the file has been removed or rejects with an error.
Get the app storage bucket URL
the gaia hub URL
the app private key used to generate the app address
That resolves to the URL of the app index file or rejects if it fails
Retrieves the specified file from the app's data store.
the path to the file to read
a GetFileOptions object
that resolves to the raw data in the file or rejects with an error
Get the URL for reading a file from an app's data store.
the path to the file to read
that resolves to the URL or rejects with an error
Fetch the public read URL of a user file for the specified app.
the path to the file to read
The Blockstack ID of the user to look up
The app origin
that resolves to the public read URL of the file or rejects with an error
List the set of files in this application's Gaia storage bucket.
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.
that resolves to the number of files listed
Stores the data provided in the app's data store to to the file specified.
the path to store the data in
the data to store in the file
a PutFileOptions object
that resolves if the operation succeed and rejects if it failed
Generated using TypeDoc
Deletes the specified file from the app's data store.