Application Programming Interface
Cherry Node IPFS Features
Ownerships
Share your files with other accounts through OwnershipLayers (Owner, Editor, Reader). You can give and/or revoke the OwnershipLayer of any account as long as your are the Owner of the IPFS asset.
Owners can read, edit, pin, unpin and delete an IPFS asset.
Editors can read and edit an IPFS asset.
Readers can only read an IPFS asset.
Files you upload are automatically pinned. Pinning an IPFS asset allows you to tell the IPFS to always keep the pinned asset in your local node. Also, by pinning an IPFS asset, you are able to share it with other peers.
Unpin any IPFS asset that you do not want to share anymore.
Callable functions in Cherry
create_ipfs_asset
: Create the file you want to upload.pin_ipfs_asset
: Pinunpin_ipfs_asset
: Unpins an IPFS Asset and make it available for garbage collectiondelete_ipfs_asset
: Deletes the IPFS Asset from the storageadd_owner
: Add an Owner(Owner, Editor, Reader) to the given IPFS Assetremove_ownership
: Removes any kind of ownership of the given Account from the given IPFS Assetchange_ownership
: Change the ownership of a given Account of then given IPFS Asset
Last updated