RangerMauve / js-ipfs-fetch

Use the same `fetch()` API browsers provide for HTTP, but for IPFS
https://youtu.be/kI9Issf3MNc?t=1606
MIT License
65 stars 8 forks source link

Add `ipfs://localhost/pins` with Pinning API #13

Open RangerMauve opened 2 years ago

RangerMauve commented 2 years ago

At the moment we do weird stuff with headers to pin and unpin data.

It might be useful to make APIs for pinning explicit. e.g. implementing the pinning service API for ipfs://localhost/pins.

This way you could GET a list of pinned items, and DELETE or POST a pin along with seeing the status.