Skip to content

Releases: sadoprotocol/ipfs-api

v0.2.5

14 Jun 08:03
Compare
Choose a tag to compare

Pin & Unpin CID address

v0.2.4

14 Jun 06:24
Compare
Choose a tag to compare
  • Add application/json file support to accepted types.

v0.2.3

14 Jun 01:33
Compare
Choose a tag to compare
  • fixes of previous release
  • multipart/form-data media encoding support for file upload

v0.2.2

13 Jun 15:20
Compare
Choose a tag to compare
  • Use http for server side fetching of ipfs data. (seems to crash on https)
  • Wrap get in a try catch so that the server doesn't exist on errors.

v0.2.1

13 Jun 13:28
Compare
Choose a tag to compare
  • Add GET /:cid endpoint to read cached files.
    • Converts base64 to file buffer of registered media type on time of upload.

NOTE! Currently does not have a fallback so will return a 404 if the file has not gone through the API cache. This will be addressed in a future release.

v0.2.0

13 Jun 13:01
Compare
Choose a tag to compare
  • Use multipart data for file uploads.
    • /upload now expects form-data with a file.
    • optionally a name can be provided for custom filename.
    • size and type is now derived from the file being uploaded.

v0.1.1

09 May 01:31
00bb5dd
Compare
Choose a tag to compare
  • Github workflow SSH deployment
  • Example using ipfs-api.ordit.io endpoint
  • SystemD service file
  • Upload response provide alternative gateway

v0.1.0

04 May 03:52
Compare
Choose a tag to compare

MVP

Env

  • App config
  • IPFS config
  • MongoDB config

IPFS module

  • publish, pin, unpin
  • ipfs path caching (MongoDB)
  • uploaded base64 cleanup
  • request routes

Examples

  • upload