You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to take existing data on IPFS and import it into S3X. As this functionality isn't related to MinIO, we can't extend the front-facing MinIO API, and need to implement this via the SideAPI.
Essentially this SideAPI call should allow users to:
Specify the bucket name
Specify the object name to store the data under
Specify the IPFS CID to "import"
We should then perform a set of operation similar to the following:
If bucket doesn't exist, create it
If object doesn't exist, create it referencing the IPFS CID
If object does exist, have the hash it points to updated to the IPFS CID we are importing
Edit:
One thing I realized is that we need to make sure that the IPFS CID is of type UnixFS, otherwise we may get inconsistency with the way S3X behaves. One possibility is that if the IPFS CID isn't a UnixFS object we simply read the data into memory and store it as a UnixFS object
The text was updated successfully, but these errors were encountered:
Currently there is no way to take existing data on IPFS and import it into S3X. As this functionality isn't related to MinIO, we can't extend the front-facing MinIO API, and need to implement this via the SideAPI.
Essentially this SideAPI call should allow users to:
We should then perform a set of operation similar to the following:
Edit:
One thing I realized is that we need to make sure that the IPFS CID is of type UnixFS, otherwise we may get inconsistency with the way S3X behaves. One possibility is that if the IPFS CID isn't a UnixFS object we simply read the data into memory and store it as a UnixFS object
The text was updated successfully, but these errors were encountered: