org:files:write
curl --request POST \
--url https://api.pinata.cloud/v3/files/public/pin_by_cid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cid": "<string>",
"name": "<string>",
"group_id": "<string>",
"keyvalues": {},
"host_nodes": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"cid": "<string>",
"keyvalues": {},
"group_id": "<string>",
"status": "<string>",
"date_queued": "<string>",
"hose_nodes": [
"<string>"
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
curl --request POST \
--url https://api.pinata.cloud/v3/files/public/pin_by_cid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cid": "<string>",
"name": "<string>",
"group_id": "<string>",
"keyvalues": {},
"host_nodes": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"cid": "<string>",
"keyvalues": {},
"group_id": "<string>",
"status": "<string>",
"date_queued": "<string>",
"hose_nodes": [
"<string>"
]
}
}
org:files:write
curl --request POST \
--url https://api.pinata.cloud/v3/files/public/pin_by_cid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cid": "<string>",
"name": "<string>",
"group_id": "<string>",
"keyvalues": {},
"host_nodes": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"cid": "<string>",
"keyvalues": {},
"group_id": "<string>",
"status": "<string>",
"date_queued": "<string>",
"hose_nodes": [
"<string>"
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.
curl --request POST \
--url https://api.pinata.cloud/v3/files/public/pin_by_cid \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cid": "<string>",
"name": "<string>",
"group_id": "<string>",
"keyvalues": {},
"host_nodes": [
"<string>"
]
}'
{
"data": {
"id": "<string>",
"name": "<string>",
"cid": "<string>",
"keyvalues": {},
"group_id": "<string>",
"status": "<string>",
"date_queued": "<string>",
"hose_nodes": [
"<string>"
]
}
}