Retrieve data
Last updated
Last updated
Singularity provides a user-friendly way to browse and retrieve the dataset using URI paths, similar to filesystem paths.
Singularity has completed the replication of a dataset.
SPs have sealed the dataset and deals are active on-chain.
IPFS daemon service is started.
To create the index for a dataset:
If your dataset contains a larger numbers of files that exceed default index soft-limits, you should increase the default parameters.
The dataset's index is written to an IPFS CID. Retrieval operations using the Singularity client will lookup this IPFS index.
To make the IPFS path more user-friendly, a DNS TXT record for DNSLink can be published that contains the IPFS path, providing an easy logical name to reference the index.
E.g. If your organization owns the domain "mydata.net", and the dataset is named "mydatasetname" the DNSLink subdomain record can be:
Consult your DNS provider for specific instructions to update the TXT record.
If you do not have access to update the DNS provider of your organization, an alternative way is to use environment variables, aliases, or other indirection methods to dereference the IPFS path.
Using DNSLink name:
Using the IPFS path.
Copy a file from a specific path in the dataset to a local path.
Using DNSLink name:
Using the IPFS path.
\
Ref: .