v1

latestOpenAPI 3.0.02026-07-2661281.2 KB
Swaps

Add Swap

org:files:write

put/files/{network}/swap/{cid}

Path parameters

network'public' | 'private' required

Target either the public or private IPFS network

cidstring required

The target original CID

Request body

swapCidstring required

The CID you want to redirect to

Example request

{
  "swapCid": "bafkreig4zcnmqa23zff3ye7tuef6wrlq3aimffzm22axfeh3ddmawzlzz4"
}

Response

OK