diff --git a/IPIP/0000-gateway-json-cbor-response-format.md b/IPIP/0000-gateway-json-cbor-response-format.md index 8ca1c3421..406c659cc 100644 --- a/IPIP/0000-gateway-json-cbor-response-format.md +++ b/IPIP/0000-gateway-json-cbor-response-format.md @@ -43,15 +43,16 @@ using either the `Accept` HTTP header or the `format` URL query. ## Test fixtures -- `bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke` is a DAG-PB directory. -- `bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm` is the aforementioned - DAG-PB directory's Logical DAG-JSON representation that is expected to be returned - when using `?format=dag-json`. +- [`bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke`][dag-pb] is a + DAG-PB directory. +- [`bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm`][dag-pb-json] + is the aforementioned DAG-PB directory's Logical DAG-JSON representation that + is expected to be returned when using `?format=dag-json`. - Traversal Test Fixtures: the following test fixtures contain two levels of nested documents of their encoding. Accessing `/ipfs/$CID/foo/bar` should return the JSON equivalent of `{"hello":"this is not a link"}`. - - DAG-CBOR: `bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu` - - DAG-JSON: `baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta` + - DAG-CBOR: [`bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu`][dag-cbor-traversal] + - DAG-JSON: [`baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta`][dag-json-traversal] - `TODO` is a valid JSON but not a valid DAG-JSON - `TODO` is a valid CBOR but not a valid DAG-CBOR @@ -94,4 +95,8 @@ Copyright and related rights waived via [CC0](https://creativecommons.org/public [ipfs/specs/pull/328]: https://github.com/ipfs/specs/pull/328 [ipfs/kubo/issues/8823]: https://github.com/ipfs/kubo/issues/8823 [ipfs/kubo/pull/9335]: https://github.com/ipfs/kubo/pull/9335 -[ipfs/go-ipfs/issues/7552]: https://github.com/ipfs/go-ipfs/issues/7552 \ No newline at end of file +[ipfs/go-ipfs/issues/7552]: https://github.com/ipfs/go-ipfs/issues/7552 +[dag-pb]: https://dweb.link/ipfs/bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke +[dag-pb-json]: https://dweb.link/ipfs/bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm +[dag-cbor-traversal]: https://dweb.link/ipfs/bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu +[dag-json-traversal]: https://dweb.link/ipfs/baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta