Pinning files from CID on IPFS
You can pin content already available on IPFS with Starton using the Content IDentifier (CID).
- From Code
 - From Webapp
 
const axios = require("axios")
// AUTHENTICATING TO THE API USING YOUR API KEY
const startonApi = axios.create({
	baseURL: "https://api.starton.com",
	headers: {
		"x-api-key": "YOUR_API_KEY",
	},
})
startonApi
	.post("/v3/ipfs/pin", {
		name: "pin name", // name of the file you would like to pin
		cid: "bafybeid7ybbefggfv6y7gkkbyt3tpi647p66mrmcjkujrlbfbtb6mmbklq", // cid of the file you would like to pin
		metadata: { your: "additional", meta: "data" },
	})
	.then((res) => console.log(res.data))
	.catch((e) => console.log(e))
- Go to Storage.
 - Click Upload.
 - Select CID.
 - Enter the CID of the content.
 - Enter a Name for the file.
 - Click Upload.