post http://127.0.0.1:5001/api/v1/object/put
Store input as a DAG object and print the key.
Arguments
Arguments | Description | Type | Required? |
---|---|---|---|
arg | Data to be stored as a DAG object. | file | Y |
inputenc | Encoding type of input data. One of: {“protobuf”, “json”}. Default: “json”. | string | N |
datafieldenc | Encoding type of the data field, either "text" or "base64". | string | N |
pin | Pin this object when adding. | boolean | N |
quiet | Write minimal output. | boolean | N |