Upload content to IPFS
Upload a file to IPFS via the Kleros gateway. Returns the IPFS CID of the uploaded content. Use this to upload dispute templates, evidence files, policy documents, and Curate item attachments before referencing them on-chain.
post/add
Request
- Base URLhttps://cdn.kleros.link
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Response
File uploaded and pinned successfully
Example response
{
"cids": [
"/ipfs/QmTaZuQjJT9NZCYsqyRmEwLb1Vt3gme1a6BS4NQLiWXtH2"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.