dag_put
Add a DAG node to IPFS.
/api/v0/dag/put
Add a DAG node to IPFS.
REQUEST
REQUEST PARAMS
store-codec
[Optional]: Codec that the stored object will be encoded with. The default isdag-cbor
.input-codec
[Optional]: Codec that the input object is encoded in. The default isdag-json
.pin
[Optional]: Set totrue
pin this object when adding.hash
[Optional]: Hash function to use. The default issha2-256
.
RESPONSE
On success, the call to this endpoint will return with 200 and the following body:
BODY
RESULT FIELDS
Cid
- Content ID.
Last updated