Using the default config, the Admin API runs on http://localhost:5082 and should not be exposed publicly.
- POST
/pin/:cidcreate pin - DELETE
/pin/:ciddelete pin - POST
/pin/:cid/blockblock content - GET
/idget peerID
POST /pin/:cid will pin the cid provided and also broadcast a pin request to others
DELETE /pin/:cid will delete the pin only locally, if you are running a gateway, this cid can still be fetched
POST /pin/:cid/block will delete content locally, and prevent to gateway from serving this data to others,
if this cid is requested, it will return a 404 response
GET /id returns the local peerId as base58 encoded string