GetData
Get Data from a supported web3 storage provider
Description
Search the Storedat API directly for data. The difference between this method and the provider specific query methods is that this queries the Storedat API indexing system.
Only data uploaded through the CreateData method will be available to retrieve through this endpoint. Data previously or externally uploaded should be queried through the provider specific methods outlined prior in this section.
Arguments
Input | Description |
---|---|
| The unique grouping id identifying the data you use to store your data. You can use this to group related data that you want to store together (i.e. NFT project metadata, content to a given entity). Should only include alphanumerical characters and the |
| An array of key/value pairs representing the metadata of your data |
| Used to specify a sort order by block inclusion time. |
| Optional field to specify the number of results to be returned. If omitted, all results under the given groupId will be returned |
Response Details
Detail | Description |
---|---|
| The identifier of the content provided by the underlying storage protocol i.e transactionID, CID |
| String representation of the data Note: Data of the types listed below will be return as a string:
All other MIME types will have data returned as the url pointing to that content on the underlying storage protocol |
| The url pointing to the content hosted on the underlying storage protocol |
| The web3 storage solution the data is stored. |
| An array of key/value pairs representing the metadata of your data |
| The time of creation of your data |
| An error message if an issue occurs while mutating your data |
Request Headers
Header | Description |
---|---|
| An identifier representing you as a user of the API. This will be provided to you upon signing up for the beta program |
| Your API Key required to be able to interact with this method. This will be provided to you upon signing up for the beta program |
Sample Query
Sample Response
Last updated