POST
/
v1
/
files
curl --request POST \
  --url https://pinapi.jackalprotocol.com/api/v1/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=[
  null
]'
[
  {
    "name": "<string>",
    "cid": "<string>",
    "merkle": "<string>",
    "id": 123
  }
]

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
files
file[]
required

Response

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