Private IPFS
Get File by ID
Private IPFS
Get File by ID
GET
/
files
/
{id}
curl --request GET \
--url https://api.pinata.cloud/v3/files/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "e5323ea7-8a02-4486-9b6f-63c788810aeb",
"name": "e093dbd3-f276-4bb3-a43e-60437725f410.txt",
"cid": "bafkreicnu2aqjkoglrlrd65giwo4l64pdajxffk6jtq2vb7yaiopc3yu7m",
"size": 36,
"number_of_files": 1,
"mime_type": "text/plain",
"group_id": "18893556-de8e-4229-8a9a-27b95468dd3e",
"keyvalues": {
"whimsey": "true"
},
"created_at": "2024-08-27T14:57:51.485934Z"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
curl --request GET \
--url https://api.pinata.cloud/v3/files/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "e5323ea7-8a02-4486-9b6f-63c788810aeb",
"name": "e093dbd3-f276-4bb3-a43e-60437725f410.txt",
"cid": "bafkreicnu2aqjkoglrlrd65giwo4l64pdajxffk6jtq2vb7yaiopc3yu7m",
"size": 36,
"number_of_files": 1,
"mime_type": "text/plain",
"group_id": "18893556-de8e-4229-8a9a-27b95468dd3e",
"keyvalues": {
"whimsey": "true"
},
"created_at": "2024-08-27T14:57:51.485934Z"
}
}