-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
need/analysisNeeds further analysis before proceedingNeeds further analysis before proceedingtopic/apiTopic apiTopic apitopic/rpc-apiIssues related to Kubo RPC API at /api/v0Issues related to Kubo RPC API at /api/v0
Description
Ref: ipfs-inactive/interface-js-ipfs-core#123
» ipfs dag put --help
#...
-f, --format string - Format that the object will be added as. Default: cbor.
--input-enc string - Format that the input object will be. Default: json.
#...
As discussed previously:
format
should take in the names of the formats (dag-cbor, dag-pb, eth-block, etc)- There should be an option for
hashAlg
- The endpoint needs to reply with a header that specifies the encoding of the output. A sane default would be
cbor
all the way and/or have an option for--output-enc
too.
Related question:
- Can we get listed on the --input-enc, the actual supported encoding options available?
For context: https://github.com/ipfs/interface-ipfs-core/issues/81#issuecomment-277271941
Metadata
Metadata
Assignees
Labels
need/analysisNeeds further analysis before proceedingNeeds further analysis before proceedingtopic/apiTopic apiTopic apitopic/rpc-apiIssues related to Kubo RPC API at /api/v0Issues related to Kubo RPC API at /api/v0