Application Programming Interface
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.
create_ipfs_asset: Create the file you want to upload.
unpin_ipfs_asset: Unpins an IPFS Asset and make it available for garbage collection
delete_ipfs_asset: Deletes the IPFS Asset from the storage
add_owner: Add an Owner(Owner, Editor, Reader) to the given IPFS Asset
remove_ownership: Removes any kind of ownership of the given Account from the given IPFS Asset
change_ownership: Change the ownership of a given Account of then given IPFS Asset