POST
/
files
Upload a file
curl --request POST \
  --url https://pinapi.jackalprotocol.com/api/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "name": "<string>",
  "cid": "<string>",
  "merkle": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

Response

Successful operation

name
string
cid
string
merkle
string