Installation
To install a plugin navigate to the Plugins Marketplace tab on the right side.Usage
After installing the plugin you can then make CID swaps and have them reflect when making Gateway requests. The first parametercid
will be the original CID, and swapCid
will be the content you want it to point to instead.
getSwapHistory
method, passing in the cid
of the original CID and the domain
of the gateway that has the Hot Swaps plugin installed.
deleteSwap
method and pass in the CID.