Fission Web API
An introduction to the Fission Web API with some example requests
The Fission Web API provides an interface to our systems using a standard RESTful API. We'll go through a few interactions that you might find helpful, but for the full API, check out the Swagger docs.
Get Content from IPFS
Getting content from IPFS is a simple GET
request to https://runfission.com/ipfs/{cid}
No authentication needed!
For example:
If you want to do this programmatically, use your favorite REST client or the Fission TypeScript Client
Upload Content To IPFS
You can upload content to IPFS by sending a POST
request to https://runfission.com/ipfs
For this, you'll need a BasicAuth header with your Fission username & password, as well as a content-type: application/octet-stream
header
With JSON:
With a file:
If you want to do this programmatically, use your favorite REST client or the Fission TypeScript Client
Pin Content To IPFS
Fission also offer's a pinning service, if you already have content on IPFS and want the remote Fission node to help keep it online. To pin something, send a PUT
request to https://runfission.com/ipfs/{cid}
For this, you'll need a BasicAuth header
For example:
If you want to do this programmatically, use your favorite REST client or the Fission TypeScript Client
Last updated