cURL
curl --request GET \ --url https://pinapi.jackalprotocol.com/api/files \ --header 'Authorization: Bearer <token>'
{ "files": [ { "id": 1, "file_name": "0.jpg", "cid": "bafybeifihpmvz4fpwxckox2yx7pe7tbafkvvimpempuv64n3362jijbfea", "size": 12345, "created_at": "2025-01-28T20:10:48.404857Z" } ], "count": 1 }
List files with pagination
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Page number for pagination
Number of items per page
Filter by file name
Successful operation
The response is of type object.
object