mediachain / aleph

א: The mediachain universe manipulation engine
MIT License
38 stars 16 forks source link

Add `mcclient manifest lookup` command #175

Closed yusefnapora closed 7 years ago

yusefnapora commented 7 years ago

This adds a command for the /dir/listmf/:entityId API endpoint added in https://github.com/mediachain/concat/pull/125

mcclient manifest list blockstack:vyzobot.id should give you this if you're running mcnode from master:

[
  {
    "entity": "blockstack:vyzobot.id",
    "keyId": "Qmcvnd3Jn41DwSjaZcVXpTpX873czeSAAf3PcyyULdvFZc",
    "body": {
      "node": {
        "peer": "QmeiY2eHMwK92Zt6X4kUUC3MsjMmVb2VnGZ17DhnhRPCEQ",
        "publisher": "4XTTM4K8sqTb7xYviJJcRDJ5W6TpQxMoJ7GtBstTALgh5wzGm"
      }
    },
    "timestamp": "1485367315",
    "signature": "KB9tExh+kUNuAEhlm0qXhgSIAhYWP+zABnVR3pRk+cUFFsAO0rOknm3sO+zP2n+ysDvS88JiZbeuENhdzEcHBQ=="
  },
  {
    "entity": "blockstack:vyzobot.id",
    "keyId": "Qmcvnd3Jn41DwSjaZcVXpTpX873czeSAAf3PcyyULdvFZc",
    "body": {
      "node": {
        "peer": "QmZ6dckUhRouVr6AsBTpK6vMLVpcz1KAeJAJVQEZQ5gCek",
        "publisher": "4XTTM2kxMrVAZXSAu9AKtHBiMFpiqWToAmr7s6BzGXiPoriHy"
      }
    },
    "timestamp": "1485367604",
    "signature": "AO0NyB6wW5PL/dVj1XNWEYyq7YOVgin04md08HwbN7HogBKzKPm6pApdWS2TSCa/l/2sG4Pg8M+tQXqPfttVAw=="
  }
]