GET
/
files
/
{network}
/
swap
/
{cid}
curl --request GET \
  --url https://api.pinata.cloud/v3/files/{network}/swap/{cid} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "mapped_cid": "bafkreig4zcnmqa23zff3ye7tuef6wrlq3aimffzm22axfeh3ddmawzlzz4",
      "created_at": "2024-09-20T17:09:39.490275Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

network
enum<string>
required

Target either the public or private IPFS network

Available options:
public,
private
cid
string
required

The original CID that is in the Gateway path

Query Parameters

domain
string
required

The domain of the gateway that has the Hot Swaps plugin installed

Response

200 - application/json
OK
data
object[]