default

Upload a File

org:files:write

post/files

Request

Request body multipart/form-data

network'public' | 'private' required

Determine if the file should be uploaded to either the public or private IPFS network. If not designated it will default to private.

filestring binary required

File object you want to upload

namestring

Add a custom name for the file

group_idstring

ID of the group you would like to upload

keyvaluesobject

Add additional key value metadata to files upon upload

carboolean

Upload a file as a raw CAR file (only supported for public network)

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.