private
base64
Upload a base64 string to Private IPFS
Usage
Returns
Parameters
base64
- Type:
string
Accepts a string encoded in base64
group (Optional)
- Type:
string
Upload to a specific group by passing in the groupId
keyvalues (Optional)
- Type:
Record<string, string>
Add optional metadata to file
name (Optional)
- Type:
string
Add optional name to file
vectorize (Optional)
The file vectors feature is still in beta. Please contact the team at team@pinata.cloud if you have any issues.
- Type:
null
Vectorize a file on upload, requires a group to be used as well.
url (Optional)
- Type:
string
Pass in a presigned upload URL created with createSignedURL
key (Optional)
- Type:
string
Upload a file using a secondary API key generated through keys.create()