GET
/
collections
/
{id}
curl --request GET \
  --url https://pinapi.jackalprotocol.com/api/collections/{id} \
  --header 'Authorization: Bearer <token>'
{
  "count": 1,
  "files": [
    {
      "file_name": "jackal_whitepaper.pdf",
      "cid": "bafybeihqzwb6djkl5wwpkeeupsvfx2egk4irild4uwxlrdzqbpgd6eg66e",
      "id": 9,
      "size": 3211943,
      "created_at": "2025-01-28T20:10:48.404857Z"
    }
  ],
  "collections": [],
  "name": "My Collection",
  "cid": "bafybeiabcdefghijklmnopqrstuvwxyz"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Collection ID

Query Parameters

page
integer
default:0

Page number for pagination

limit
integer
default:25

Number of items per page

Response

200
application/json
Successful operation
files
object[]
count
integer
collections
object[]
name
string
cid
string