Application Programming Interface

Cherry Node IPFS Features


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

  1. create_ipfs_asset : Create the file you want to upload.

  2. pin_ipfs_asset : Pin

  3. unpin_ipfs_asset: Unpins an IPFS Asset and make it available for garbage collection

  4. delete_ipfs_asset: Deletes the IPFS Asset from the storage

  5. add_owner: Add an Owner(Owner, Editor, Reader) to the given IPFS Asset

  6. remove_ownership: Removes any kind of ownership of the given Account from the given IPFS Asset

  7. change_ownership: Change the ownership of a given Account of then given IPFS Asset

Last updated