Upload
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.
addMetadata (Optional)
- Type: PinataMetadata
Add optional metadata to file
group (Optional)
- Type:
string
Upload to a specific group by passing in the groupId
key (Optional)
- Type:
string
Upload a file using a secondary API key generated through keys.create()
cidVersion (Optional)
- Type:
0 | 1
Specificy CID version for upload