latestOpenAPI 3.1.02026-08-10226.4 KB

5cd8dce08efe

Fetch content from IPFS

Retrieve a file or directory from IPFS by its CID hash. Returns the raw content. For JSON files (dispute templates, evidence, policy docs) the response body is the parsed JSON.

get/ipfs/{hash}

Path parameters

hashstring required
Example:QmTaZuQjJT9NZCYsqyRmEwLb1Vt3gme1a6BS4NQLiWXtH2

The IPFS CID (v0 or v1) of the content to retrieve. May include a subpath for directory traversal, e.g. QmHash.../metadata.json.

Response

Content retrieved successfully

object required

For JSON files: the parsed content. Schema varies by content type (dispute template, evidence, policy doc).

Example response

{
  "title": "Should this item be accepted into the registry?",
  "description": "Evaluate whether the item meets the registry criteria.",
  "question": "Does this item comply with the required criteria?",
  "answers": [
    {
      "id": "0x00",
      "title": "Refuse to Arbitrate"
    },
    {
      "id": "0x01",
      "title": "Yes"
    },
    {
      "id": "0x02",
      "title": "No"
    }
  ]
}