public
fileArray
Upload an array of files to Pinata as a folder
Usage
Returns
Parameters
file
- Type:
File[]
object
Accepts an array of File objects in accordance with the W3C File API.
group (Optional)
- Type:
string
Upload to a specific group by passing in the groupId
keyvalues (Optional)
- Type:
Record<string, string>
Add optional keyvalues to file
name (Optional)
- Type:
string
Add optional name to file
key (Optional)
- Type:
string
Upload a file using a secondary API key generated through keys.create()
url (Optional)
- Type:
string
Pass in a presigned upload URL created with createSignedURL