Store data on Niftyz Cloud
When you'll create an NFT you'll probably need a storage solution. Niftyz provides a secure storage through AWS S3 through presigned URLs. If you don't know how to use it, please refer to official docs here. You can use it with any available programming language provided by AWS.
Ask for a presigned url
In order to create a presigned url you must give following informations:
- filenames: filenames of the files you're trying to upload
- filetypes: file types of the files you're trying to upload
- type: type of permission for the files, they can be
publicorprivate, we suggest to useprivateto store locked data andpublicto store NFT public image.
[POST] {{GATEWAY}}/storage/generate
{
"filenames": [
"test.txt"
],
"filetypes": [
"plain/text"
],
"type": "public"
}