POST
/
files
curl --request POST \
  --url https://pinapi.jackalprotocol.com/api/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{
  "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

200
application/json
Successful operation
name
string
cid
string
merkle
string