post http://127.0.0.1:5001/api/v1/dag/put
Add a dag node to BTFS.
Arguments
Argument | Description | Type | Required? |
---|---|---|---|
arg | The object to put. | file | Y |
format | Format that the object will be added as. Default: “cbor”. | string | N |
input-enc | Format that the input object will be. Default: “json”. | string | N |
pin | Pin this object when adding. | boolean | N |
hash | Hash function to use. | string | N |