org:files:write
Upload a single file to Private IPFS
If you need to upload files from a local file source you can use fs
to feed a file into a blob
, then turn that blob
into a File
.
File
objectAccepts a File object in accordance with the W3C File API.
In most environments you can also pass a Blob here as well.
string
Upload to a specific group by passing in the groupId
Record<string, string>
Add optional keyvalues to file
string
Add optional name to file
The file vectors feature is still in beta. Please contact the team at [email protected] if you have any issues.
null
Vectorize a file on upload, requires a group to be used as well.
string
Pass in a presigned upload URL created with createSignedURL
string
Upload a file using a secondary API key generated through keys.create()
org:files:write
Upload a single file to Private IPFS
If you need to upload files from a local file source you can use fs
to feed a file into a blob
, then turn that blob
into a File
.
File
objectAccepts a File object in accordance with the W3C File API.
In most environments you can also pass a Blob here as well.
string
Upload to a specific group by passing in the groupId
Record<string, string>
Add optional keyvalues to file
string
Add optional name to file
The file vectors feature is still in beta. Please contact the team at [email protected] if you have any issues.
null
Vectorize a file on upload, requires a group to be used as well.
string
Pass in a presigned upload URL created with createSignedURL
string
Upload a file using a secondary API key generated through keys.create()