latestOpenAPI 3.1.02026-08-10226.4 KB
5cd8dce08efe
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
Response
File uploaded and pinned successfully
Example response
{
"cids": [
"/ipfs/QmTaZuQjJT9NZCYsqyRmEwLb1Vt3gme1a6BS4NQLiWXtH2"
]
}