{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/specs/pulls/comments/45559092","id":45559092,"diff_hunk":"@@ -0,0 +1,464 @@\n+# IPLD -- the \"thin-waist\" merkle dag format.\n+\n+There are a variety of systems that use merkle-tree and hash-chain inspired datastructures (e.g. git, bittorrent, ipfs, tahoe-lafs, sfsro). IPLD defines:\n+\n+- **_merkle-links_**: the core unit of a merkle-graph\n+- **_merkle-dag_**: any graphs whose edges are _merkle-links_.\n+- **_merkle-paths_**: unix-style paths for traversing _merkle-dags_ with _named merkle-links**\n+- **IPLD Data Model**: a flexible, JSON-based data model for representing merkle-dags.\n+- **IPLD Serialized Formats**: a set of formats in which IPLD objects can be represented, for example JSON, CBOR, CSON, YAML, Protobuf, XML, RDF, etc.\n+- **IPLD Canonical Format**: a deterministic description on a serialized format that ensures the same _logical_ object is always serialized to _the exact same sequence of bits_. This is critical for merkle-linking, and all cryptographic applications.\n+\n+In short: JSON documents with named merkle-links that can be traversed.\n+\n+## Intro\n+\n+### What is a _merkle-link_?\n+\n+A _merkle-link_ is a link between two objects which is content-addressed with the _cryptographic hash_ of the target object, and embedded in the source object. Content addressing with merkle-links allows:\n+\n+- **Cryptographic Integrity Checking**: resolving a link's value can be tested by hashing. In turn, this allows wide, secure, trustless exchanges of data (e.g. git or bittorrent), as others cannot give you any data that does not hash to the link's value.\n+- **Immutable Datastructures**: data structures with merkle links cannot mutate, which is a nice property for distributed systems. This is useful for versioning, for representing distributed mutable state (eg CRDTs), and for long term archival.\n+\n+### What is a _merkle-graph_ or a _merkle-dag_?\n+\n+Objects with merkle-links form a Graph (merkle-graph), which necessarily is both Directed, and which can be counted on to be Acyclic, iff the properties of the cryptographic hash function hold. I.e. a _merkle-dag_. Hence all graphs which use _merkle-linking_ (_merkle-graph_) are necessarily also Directed Acyclic Graphs (DAGs, hence _merkle-dag_).\n+\n+### What is a _merkle-path_?\n+\n+A _merkle-path_ is a unix-style path (e.g. `/a/b/c/d`) which initially dereferences through a _merkle-link_ and then follows _named merkle-links_ in the intermediate objects. Following a name means looking into the object, finding the _name_ and resolving the associated _merkle-link_.\n+\n+For example, suppose we have this _merkle-path_:\n+\n+```\n+/ipfs/QmUmg7BZC1YP1ca66rRtWKxpXp77WgVHrnv263JtDuvs2k/a/b/c/d\n+```\n+Where:\n+- `ipfs` is a protocol namespace (to allow the computer to discern what to do)\n+- `QmUmg7BZC1YP1ca66rRtWKxpXp77WgVHrnv263JtDuvs2k` is a cryptographic hash.\n+- `a/b/c/d` is a path _traversal_, as in unix.\n+- this link traverses five objects.\n+\n+Resolving it involves looking up each object and attaining a hash value, then traversing to the next.\n+\n+```\n+      +-------------------+\n+O_1 = | \"a\": \"QmV76pU...\" |  whose hash value is QmUmg7BZC1YP1ca66rRtWKxpXp77WgVHrnv263JtDuvs2k\n+      +-------------------+\n+                |\n+                v\n+      +-------------------+\n+O_2 = | \"b\": \"QmV76pU...\" |  whose hash value is QmV76pUdAAukxEHt9Wp2xwyTpiCmzJCvjnMxyQBreaUeKT\n+      +-------------------+\n+                |\n+                v\n+      +-------------------+\n+O_3 = | \"c\": \"QmV76pU...\" |  whose hash value is QmQmkZPNPoRkPd7wj2xUJe5v5DsY6MX33MFaGhZKB2pRSE\n+      +-------------------+\n+                |\n+                v\n+      +-------------------+\n+O_4 = | \"d\": \"QmV76pU...\" |  whose hash value is QmWkyYNrN5wnHgX5vfs88q7QUaFKq52TVNTFeTzxm73UbT\n+      +-------------------+\n+                |\n+                v\n+      +-------------------+\n+O_5 = | \"hello\": \"world\"  |  whose hash value is QmR8Bzg59Y4FGWHeu9iTYhwhiP8PHCNFiaGhP1UjywA43j\n+      +-------------------+\n+```\n+\n+This entire _merkle-path_ traversal is a unix-style path traversal over a _merkle-dag_ which uses _merkle-links_ with names.\n+\n+## What is the IPLD Data Model?\n+\n+The IPLD Data Model defines a simple JSON-based _structure_ for all merkle-dags, and identifies a set of formats to encode the structure into.\n+\n+### Constraints and Desires\n+\n+Some Constraints:\n+- IPLD paths MUST be unambiguous. A given path string MUST always deterministically traverse to the same object. (e.g. avoid duplicating link names)\n+- IPLD paths MUST be universal and avoid opressing non-english societies (e.g. use UTF-8, not ASCII).\n+- IPLD paths MUST layer cleanly over UNIX and The Web (use `/`, have deterministic transforms for ASCII systems).\n+- Given the wide success of JSON, a huge number of systems present JSON interfaces. IPLD MUST be able to import and export to JSON trivially.\n+- The JSON data model is also very simple and easy to use. IPLD MUST be just as easy to use.\n+- Definining new datastructures MUST be trivially easy. It should not be cumbersome -- or require much knowledge -- to experiment with new definitions on top of IPLD.\n+- IPLD MUST be compatible with RDF and the proper W3C Semantic Web / Linked Data standards. We can achieve this easily through JSON-LD.\n+- IPLD Serialized Formats (on disk and on the wire) MUST be fast and space efficient. (should not use JSON as the storage format, and instead use CBOR or similar formats)\n+- IPLD cryptographic hashes MUST be upgradeable (use [multihash](https://github.com/jbenet/multihash))\n+\n+Some nice-to-haves:\n+- IPLD SHOULD NOT carry over mistakes, e.g. the lack of integers in JSON.\n+- IPLD SHOULD be upgradable, e.g. if a better on-disk format emerges, systems should be able to migrate to it and minimize costs of doing so.\n+- IPLD objects SHOULD be able to resolve properties too as paths, not just merkle links.\n+- IPLD Canonical Format SHOULD be easy to write a parser for.\n+- IPLD Canonical Format SHOULD enable seeking without parsing full objects. (CBOR and Protobuf allow this).\n+\n+\n+### Format Definition\n+\n+(**NOTE:** Here we will use both JSON and YML to show what formats look like. We explicitly use both to show equivalence of the object across two different formats.)\n+\n+At its core, IPLD Data Model \"is just JSON\" in that it (a) is also tree based documents with a few primitive types, (b) maps 1:1 to json, (c) users can use it through JSON itself. It \"is not JSON\" in that (a) it improves on some mistakes, (b) has an efficient serialized representation, and (c) does not actually specify a single on-wire format, as the world is known to improve.\n+\n+#### Basic Node\n+\n+Here is an example IPLD object in JSON:\n+\n+```json\n+{\n+  \"name\": \"Vannevar Bush\"\n+}\n+```\n+\n+Suppose it hashes to the multihash value `QmAAA...AAA`. Note that it has no links at all, just a string name value. But we are still be able to \"resolve\" the key `name` under it:\n+\n+```sh\n+> ipld cat --json QmAAA...AAA\n+{\n+  \"name\": \"Vannevar Bush\"\n+}\n+\n+> ipld cat --json QmAAA...AAA/name\n+\"Vannevar Bush\"\n+```\n+\n+And -- of course -- we are able to view it in other formats\n+\n+```sh\n+> ipld cat --yml QmAAA...AAA\n+---\n+name: Vannevar Bush\n+\n+> ipld cat --xml QmAAA...AAA\n+<!xml> <!-- todo -->\n+<node>\n+  <name>Vannevar Bush</name>\n+</node>\n+```\n+\n+#### Linking Between Nodes\n+\n+Merkle-Linking between nodes is the reason for IPLD to exist. A Link in IPLD is just an embedded node with a special format:\n+\n+```js\n+{\n+  \"title\": \"As We May Think\",\n+  \"author\": {\n+    \"mlink\": \"QmAAA...AAA\" // links to the node above.\n+  }\n+}\n+```\n+\n+Suppose this hashes to the multihash value `QmBBB...BBB`. This node links the _subpath `author` to `QmAAA...AAA`, the node in the section above. So we can now do:\n+\n+```sh\n+> ipld cat --json QmBBB...BBB\n+{\n+  \"title\": \"As We May Think\",\n+  \"author\": {\n+    \"mlink\": \"QmAAA...AAA\" // links to the node above.\n+  }\n+}\n+\n+> ipld cat --json QmBBB...BBB/author\n+{\n+  \"title\": \"As We May Think\",\n+  \"author\": {\n+    \"mlink\": \"QmAAA...AAA\" // links to the node above.\n+  }\n+}\n+\n+> ipld cat --yml QmBBB...BBB/author\n+---\n+title: As We May Think\n+author:\n+  mlink: QmAAA...AAA\n+\n+> ipld cat --json QmBBB...BBB/author/name\n+\"Vannevar Bush\"\n+```\n+\n+#### Link Properties\n+\n+IPLD allows for links to have other properties themselves. This is useful to encode other invormation into a link, such as the kind of relationship, or ancilliary data required in the link. This is _different from_ \"Link Objects\", discussed below, which are very useful in their own right. But sometimes, you just want to add a bit of data on the link and not have to make another object. IPLD doesn't get in your way.\n+\n+For example, supposed you have a file system, and want to assign metadata like permissions, or owners in the link between objects. Suppose you have a `directory` object with hash `QmCCC...CCC` like this:\n+\n+```js\n+{\n+  \"foo\": {\n+    \"mlink\": \"QmCCC...111\"\n+    \"mode\": \"0755\",\n+    \"owner\": \"jbenet\"\n+  },\n+  \"cat.jpg\": {\n+    \"mlink\": \"QmCCC...222\"\n+    \"mode\": \"0644\",\n+    \"owner\": \"jbenet\"\n+  },\n+  \"doge.jpg\": {\n+    \"mlink\": \"QmCCC...333\",\n+    \"mode\": \"0644\",\n+    \"owner\": \"jbenet\"\n+  }\n+}\n+```\n+\n+or in YML\n+\n+```yml\n+---\n+foo:\n+  mlink: QmCCC...111\n+  mode: 0755\n+  owner: jbenet\n+cat.jpg:\n+  mlink: QmCCC...222\n+  mode: 0644\n+  owner: jbenet\n+doge.jpg:\n+  mlink: QmCCC...333\n+  mode: 0644\n+  owner: jbenet\n+```\n+\n+Though we have new properties in the links that are _specific to this datastructure_, we can still resolve links just fine:\n+\n+```js\n+> ipld cat --json QmCCC...CCC/cat.jpg\n+{\n+  \"data\": \"\\u0008\\u0002\\u0012��\\u0008����\\u0000\\u0010JFIF\\u0000\\u0001\\u0001\\u0001\\u0000H\\u0000H...\"\n+}\n+\n+> ipld cat --json QmCCC...CCC/doge.jpg\n+{\n+  \"subfiles\": [\n+    {\n+      \"mlink\": \"QmPHPs1P3JaWi53q5qqiNauPhiTqa3S1mbszcVPHKGNWRh\"\n+    },\n+    {\n+      \"mlink\": \"QmPCuqUTNb21VDqtp5b8VsNzKEMtUsZCCVsEUBrjhERRSR\"\n+    },\n+    {\n+      \"mlink\": \"QmS7zrNSHEt5GpcaKrwdbnv1nckBreUxWnLaV4qivjaNr3\"\n+    }\n+  ]\n+}\n+\n+> ipld cat --yml QmCCC...CCC/doge.jpg\n+---\n+subfiles:\n+  - mlink: QmPHPs1P3JaWi53q5qqiNauPhiTqa3S1mbszcVPHKGNWRh\n+  - mlink: QmPCuqUTNb21VDqtp5b8VsNzKEMtUsZCCVsEUBrjhERRSR\n+  - mlink: QmS7zrNSHEt5GpcaKrwdbnv1nckBreUxWnLaV4qivjaNr3\n+\n+> ipld cat --json QmCCC...CCC/doge.jpg/subfiles/1\n+{\n+  \"data\": \"\\u0008\\u0002\\u0012��\\u0008����\\u0000\\u0010JFIF\\u0000\\u0001\\u0001\\u0001\\u0000H\\u0000H...\"\n+}\n+```\n+\n+But we can't extract the link as nicely as other properties, as links are meant to _resolve through_.\n+\n+#### Duplicate property keys\n+\n+Note that having two properties with _the same_ name IS NOT ALLOWED, but actually impossible to prevent (someone will do it and feed it to parsers), so to be safe, we define the value of the path traversal to be _the first_ entry in the serialized representation. For example, suppose we have the object:\n+\n+```json\n+{\n+  \"name\": \"J.C.R. Licklider\",\n+  \"name\": \"Hans Moravec\"\n+}\n+```\n+\n+Suppose _this_ was the _exact order_ in the _Canonical Format_ (not json, but cbor), and it hashes to `QmDDD...DDD`. We would _ALWAYS_ get:\n+\n+```sh\n+> ipld cat --json QmDDD...DDD\n+{\n+  \"name\": \"J.C.R. Licklider\",\n+  \"name\": \"Hans Moravec\"\n+}\n+> ipld cat --json QmDDD...DDD/name\n+\"J.C.R. Licklider\"\n+```\n+\n+\n+#### Path Restrictions\n+\n+There are some important problems that come about with path descriptions in Unix and the web. For a discussion see [this discussion](https://github.com/ipfs/go-ipfs/issues/1710). In order to be compatible with the models and expectations of unix and the web, IPLD explicitly disallows paths with certain path components. **Note that the data itself _may_ still contain these properties (someone will do it, and there are legitimate uses for it). So it is only _Path Resolvers_ that MUST NOT resolve through those paths.** The restrictions are the same as typical unix and UTF-8 path systems:\n+\n+\n+TODO:\n+- [ ] list path resolving restrictions\n+- [ ] show examples\n+\n+#### Integers in JSON\n+\n+IPLD is _directly compatible_ with JSON, to take advantage of JSON's successes, but it need not be _held back_ by JSON's mistakes. This is where we can afford to follow format idiomatic choices, though care MUST be given to ensure there is always a well-defined 1:1 mapping.\n+\n+On the subject of integers, there exist a variety of formats which represent integers as strings in JSON, for example, [EJSON](https://www.meteor.com/ejson). These can be used and conversion to and from other formats should happen naturally-- that is, when converting JSON to CBOR, an EJSON integer should be transformed naturally to a proper CBOR integer, instead of representing it as a map with string values.\n+\n+\n+## Serialized Data Formats\n+\n+IPLD supports a variety of serialized data formats trough [multicodec](https://github.com/jbenet/multicodec). These can be used however is idiomatic to the format, for example in `CBOR`, we can use `CBOR` type tags to represent the merkle-link, and avoid writing out the full string key `mlink`. Users are encouraged to use the formats to their fullest, and to store and transmit IPLD data in whatever format makes the most sense. The only requirement **is that there MUST be a well-defined one-to-one mapping with the IPLD Canonical format.** This is so that data can be transformed from one format to another, and back, without changing its meaning nor its cryptographic hashes.","path":"merkledag/ipld.md","position":null,"original_position":305,"commit_id":"37c662a73092e14fda73c986e7b89026dd0b7a82","original_commit_id":"74bc794794c3cfea3e5229546766cd38efdf387d","user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"body":"thanks addressed in 37c662a","created_at":"2015-11-22T13:47:39Z","updated_at":"2015-11-22T13:47:39Z","html_url":"https://github.com/ipfs/specs/pull/37#discussion_r45559092","pull_request_url":"https://api.github.com/repos/ipfs/specs/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/ipfs/specs/pulls/comments/45559092"},"html":{"href":"https://github.com/ipfs/specs/pull/37#discussion_r45559092"},"pull_request":{"href":"https://api.github.com/repos/ipfs/specs/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/ipfs/specs/pulls/37","id":50059998,"html_url":"https://github.com/ipfs/specs/pull/37","diff_url":"https://github.com/ipfs/specs/pull/37.diff","patch_url":"https://github.com/ipfs/specs/pull/37.patch","issue_url":"https://api.github.com/repos/ipfs/specs/issues/37","number":37,"state":"open","locked":false,"title":"IPLD spec","user":{"login":"jbenet","id":138401,"avatar_url":"https://avatars.githubusercontent.com/u/138401?v=3","gravatar_id":"","url":"https://api.github.com/users/jbenet","html_url":"https://github.com/jbenet","followers_url":"https://api.github.com/users/jbenet/followers","following_url":"https://api.github.com/users/jbenet/following{/other_user}","gists_url":"https://api.github.com/users/jbenet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbenet/subscriptions","organizations_url":"https://api.github.com/users/jbenet/orgs","repos_url":"https://api.github.com/users/jbenet/repos","events_url":"https://api.github.com/users/jbenet/events{/privacy}","received_events_url":"https://api.github.com/users/jbenet/received_events","type":"User","site_admin":false},"body":"This PR adds a new IPLD spec.\r\n\r\nSome things TODO:\r\n- [x] paths: link to path issue in go-ipfs or go-ipld\r\n- [ ] paths: list path resolving restrictions\r\n- [ ] paths: show examples of path resolving\r\n- [ ] examples/bitcoin: make this a real txn\r\n- [ ] more examples\r\n\r\n@mildred @diasdavid could you review?","created_at":"2015-11-08T13:13:49Z","updated_at":"2015-11-22T13:47:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eac17775610d48b5c3ae11ff98624bdc98952b54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/specs/pulls/37/commits","review_comments_url":"https://api.github.com/repos/ipfs/specs/pulls/37/comments","review_comment_url":"https://api.github.com/repos/ipfs/specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/specs/issues/37/comments","statuses_url":"https://api.github.com/repos/ipfs/specs/statuses/37c662a73092e14fda73c986e7b89026dd0b7a82","head":{"label":"ipfs:ipld-spec","ref":"ipld-spec","sha":"37c662a73092e14fda73c986e7b89026dd0b7a82","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":32023078,"name":"specs","full_name":"ipfs/specs","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/specs","description":"Specs for IPFS","fork":false,"url":"https://api.github.com/repos/ipfs/specs","forks_url":"https://api.github.com/repos/ipfs/specs/forks","keys_url":"https://api.github.com/repos/ipfs/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/specs/teams","hooks_url":"https://api.github.com/repos/ipfs/specs/hooks","issue_events_url":"https://api.github.com/repos/ipfs/specs/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/specs/events","assignees_url":"https://api.github.com/repos/ipfs/specs/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/specs/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/specs/tags","blobs_url":"https://api.github.com/repos/ipfs/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/specs/languages","stargazers_url":"https://api.github.com/repos/ipfs/specs/stargazers","contributors_url":"https://api.github.com/repos/ipfs/specs/contributors","subscribers_url":"https://api.github.com/repos/ipfs/specs/subscribers","subscription_url":"https://api.github.com/repos/ipfs/specs/subscription","commits_url":"https://api.github.com/repos/ipfs/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/specs/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/specs/merges","archive_url":"https://api.github.com/repos/ipfs/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/specs/downloads","issues_url":"https://api.github.com/repos/ipfs/specs/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/specs/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/specs/releases{/id}","created_at":"2015-03-11T14:47:16Z","updated_at":"2015-11-22T04:27:20Z","pushed_at":"2015-11-22T13:47:16Z","git_url":"git://github.com/ipfs/specs.git","ssh_url":"git@github.com:ipfs/specs.git","clone_url":"https://github.com/ipfs/specs.git","svn_url":"https://github.com/ipfs/specs","homepage":"http://ipfs.io","size":10097,"stargazers_count":117,"watchers_count":117,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":21,"forks":13,"open_issues":21,"watchers":117,"default_branch":"master"}},"base":{"label":"ipfs:master","ref":"master","sha":"5c3c1a40a735f5ceef938c94472e3ee0920004ee","user":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":32023078,"name":"specs","full_name":"ipfs/specs","owner":{"login":"ipfs","id":10536621,"avatar_url":"https://avatars.githubusercontent.com/u/10536621?v=3","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipfs/specs","description":"Specs for IPFS","fork":false,"url":"https://api.github.com/repos/ipfs/specs","forks_url":"https://api.github.com/repos/ipfs/specs/forks","keys_url":"https://api.github.com/repos/ipfs/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/specs/teams","hooks_url":"https://api.github.com/repos/ipfs/specs/hooks","issue_events_url":"https://api.github.com/repos/ipfs/specs/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/specs/events","assignees_url":"https://api.github.com/repos/ipfs/specs/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/specs/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/specs/tags","blobs_url":"https://api.github.com/repos/ipfs/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/specs/languages","stargazers_url":"https://api.github.com/repos/ipfs/specs/stargazers","contributors_url":"https://api.github.com/repos/ipfs/specs/contributors","subscribers_url":"https://api.github.com/repos/ipfs/specs/subscribers","subscription_url":"https://api.github.com/repos/ipfs/specs/subscription","commits_url":"https://api.github.com/repos/ipfs/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/specs/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/specs/merges","archive_url":"https://api.github.com/repos/ipfs/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/specs/downloads","issues_url":"https://api.github.com/repos/ipfs/specs/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/specs/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/specs/releases{/id}","created_at":"2015-03-11T14:47:16Z","updated_at":"2015-11-22T04:27:20Z","pushed_at":"2015-11-22T13:47:16Z","git_url":"git://github.com/ipfs/specs.git","ssh_url":"git@github.com:ipfs/specs.git","clone_url":"https://github.com/ipfs/specs.git","svn_url":"https://github.com/ipfs/specs","homepage":"http://ipfs.io","size":10097,"stargazers_count":117,"watchers_count":117,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":21,"forks":13,"open_issues":21,"watchers":117,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/specs/pulls/37"},"html":{"href":"https://github.com/ipfs/specs/pull/37"},"issue":{"href":"https://api.github.com/repos/ipfs/specs/issues/37"},"comments":{"href":"https://api.github.com/repos/ipfs/specs/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/specs/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/specs/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/specs/statuses/37c662a73092e14fda73c986e7b89026dd0b7a82"}}}}