leth storage meta

leth storage meta

Fetches the public meta information and returns them.

Synopsis

Usage:

leth storage meta --nodeid=1 --network=rinkeby --meta=QmZnx4FPooZoy2kTFzAKhZAzhuQ3EHG8yx2E57GvN2t1vb

Possible Outputs:

{"filename":"secret/file.txt","ext":"txt","owner":"0xadC486F16F003897fb927e22438cb1b820f79879","hash":"QmRnXxBJg3NjXzuTi91iNYcMff4oz4NwjN7fgtBXp2UbG9","acl":"0x3cb99420c7F16f00ef41B5ace9e0C815F3736879"}
{"error": {"code": "SOME/INTERNAL/ERROR/CODE", "message": "explanatory error message"}}
leth storage meta [flags]

Options

  -h, --help                       help for meta
      --meta leth storage upload   IPFS file hash of content you want to get public meta info about. Meta hash was returned by leth storage upload command.
      --network string             Possible values: 'sirius', 'mainnet', 'standalone', 'rinkeby', 'ganache'.
      --nodeid int                 ID of the node in order to support multiple nodes on the same machine. 0 by default.

SEE ALSO

  • leth storage - Features LethStorage’s pkg capabilities over CLI such as file upload/download, access authorization…
Auto generated by spf13/cobra on 31-May-2019