Moralis IPFS Storage Folder capabilities

Is it possible to add to an IPFS folder while maintaining the CID using this documentation.
https://docs.moralis.io/moralis-server/web3-sdk/ipfs-storage-new

Or are we able to set the path of new data to point to an existing CID?

ie. given folder moralis/abc/ with CID: QmPQ3YJ3hgfsBzJ1U4MGyV2C1GhDy6MWCENr1qMdMpKVnY
which contains:
QmPQ3YJ3hgfsBzJ1U4MGyV2C1GhDy6MWCENr1qMdMpKVnY/moralis/abc/1.json,
QmPQ3YJ3hgfsBzJ1U4MGyV2C1GhDy6MWCENr1qMdMpKVnY/moralis/abc/2.json

Can I later on upload a new metadata file such that:
QmPQ3YJ3hgfsBzJ1U4MGyV2C1GhDy6MWCENr1qMdMpKVnY/moralis/abc/3.json

no - directories on ipfs are immutable

1 Like

thanks, this was my understanding as well. Just confirming that Moralis didn’t do anything too magical here :wink:

1 Like