{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/js-ipfs/issues/58","repository_url":"https://api.github.com/repos/ipfs/js-ipfs","labels_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/58/comments","events_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/58/events","html_url":"https://github.com/ipfs/js-ipfs/issues/58","id":128875300,"number":58,"title":"object","user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/difficulty:easy","name":"difficulty:easy","color":"bfe5bf"},{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/feature","name":"feature","color":"5319e7"},{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":{"login":"xicombd","id":1211330,"avatar_url":"https://avatars.githubusercontent.com/u/1211330?v=3","gravatar_id":"","url":"https://api.github.com/users/xicombd","html_url":"https://github.com/xicombd","followers_url":"https://api.github.com/users/xicombd/followers","following_url":"https://api.github.com/users/xicombd/following{/other_user}","gists_url":"https://api.github.com/users/xicombd/gists{/gist_id}","starred_url":"https://api.github.com/users/xicombd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xicombd/subscriptions","organizations_url":"https://api.github.com/users/xicombd/orgs","repos_url":"https://api.github.com/users/xicombd/repos","events_url":"https://api.github.com/users/xicombd/events{/privacy}","received_events_url":"https://api.github.com/users/xicombd/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-26T16:47:13Z","updated_at":"2016-03-10T09:51:09Z","closed_at":null,"body":"The object API enables IPFS users to create graph structures with IPFS were links are MerkleLinks (multihashes)\r\n\r\n#### To learn more about the object API, you can\r\n\r\n- check go implementation of the MerkleDAG https://github.com/ipfs/go-ipfs/tree/master/merkledag\r\n- check the MerkleDAG spec https://github.com/ipfs/specs/tree/master/merkledag\r\n- see the http-api spec for the object API https://github.com/ipfs/http-api-spec/pull/32\r\n\r\n#### Implementation Roadmap\r\n\r\n- [x] MerkleDAG JS implementation https://github.com/vijayee/js-ipfs-merkle-dag\r\n- [x] jsipfs object new [template] - Creates a new object from an ipfs template.\r\n  - [x] core\r\n  - [x] http-api\r\n  - [x] cli\r\n- [x] jsipfs object get <key>        - Get and serialize the DAG node named by <key>.\r\n  - [x] core\r\n  - [x] http-api\r\n  - [x] cli\r\n- [ ] jsipfs object put <data>       - Stores input as a DAG object, outputs its key.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object stat <key>       - Get stats for the DAG node named by <key>.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object data <key>       - Outputs the raw bytes in an IPFS object.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object links <key>      - Outputs the links pointed to by the specified object.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object patch append-data <root> <data>    - Append data to the data segment of a dag node.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object patch add-link <root> <name> <ref> - Add a link to a given object.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object patch rm-link <root> <link>        - Remove a link from an object.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n- [ ] jsipfs object patch set-data <root> <data>       - Set data field of an ipfs object.\r\n  - [x] core\r\n  - [ ] http-api\r\n  - [ ] cli\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/js-ipfs/issues/comments/194761220","html_url":"https://github.com/ipfs/js-ipfs/issues/58#issuecomment-194761220","issue_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/58","id":194761220,"user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T09:51:09Z","updated_at":"2016-03-10T09:51:09Z","body":"@xicombd :+1: :D "}}