Portal Community

get

Binary output.

FieldTypeRequired
cidtext✓ Yes

Missing cid → CFG_MISSING_CID. Response: { cid, data, size, mimeType }data is the raw single-block byte[]; mimeType is a fixed application/octet-stream (not reported by Kubo).

put

Binary input.

FieldTypeRequiredDefault
inputDataKeytextNodata
dataModeselectNobase64 (or text)
inlineContenttextNo
cidCodectextNoraw (IPLD multicodec label; also dag-pb, dag-cbor)
mhtypetextNosha2-256
mhlenintNo— optional multihash length override
pinboolNofalse

Content resolved from InputData[inputDataKey], else inlineContent; empty → MISSING_CONTENT, bad base64 → INVALID_CONTENT_ENCODING. Response: { cid, size }.

remove

FieldTypeRequiredDefault
cidtext✓ Yes
forceboolNofalse — ignore nonexistent blocks and continue
quietboolNofalse — minimal Kubo-side output; doesn't change this node's output contract

Missing cid → CFG_MISSING_CID. Response: { cid, ok }.

200-with-embedded-error: Kubo can report a per-block removal failure inside an HTTP 200 response body (a non-empty Error field) rather than a non-2xx status. This node surfaces that as ok: false rather than an HTTP-level error.

stat

FieldTypeRequired
cidtext✓ Yes

Missing cid → CFG_MISSING_CID. Response: { cid, size } — metadata only, no content transfer.