Skip to content

Commit 67fab21

Browse files
committed
add links
1 parent e739398 commit 67fab21

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

IPIP/0000-gateway-json-cbor-response-format.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,16 @@ using either the `Accept` HTTP header or the `format` URL query.
4343

4444
## Test fixtures
4545

46-
- `bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke` is a DAG-PB directory.
47-
- `bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm` is the aforementioned
48-
DAG-PB directory's Logical DAG-JSON representation that is expected to be returned
49-
when using `?format=dag-json`.
46+
- [`bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke`][dag-pb] is a
47+
DAG-PB directory.
48+
- [`bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm`][dag-pb-json]
49+
is the aforementioned DAG-PB directory's Logical DAG-JSON representation that
50+
is expected to be returned when using `?format=dag-json`.
5051
- Traversal Test Fixtures: the following test fixtures contain two levels of nested
5152
documents of their encoding. Accessing `/ipfs/$CID/foo/bar` should return the JSON
5253
equivalent of `{"hello":"this is not a link"}`.
53-
- DAG-CBOR: `bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu`
54-
- DAG-JSON: `baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta`
54+
- DAG-CBOR: [`bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu`][dag-cbor-traversal]
55+
- DAG-JSON: [`baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta`][dag-json-traversal]
5556
- `TODO` is a valid JSON but not a valid DAG-JSON
5657
- `TODO` is a valid CBOR but not a valid DAG-CBOR
5758

@@ -94,4 +95,8 @@ Copyright and related rights waived via [CC0](https://creativecommons.org/public
9495
[ipfs/specs/pull/328]: https://github.com/ipfs/specs/pull/328
9596
[ipfs/kubo/issues/8823]: https://github.com/ipfs/kubo/issues/8823
9697
[ipfs/kubo/pull/9335]: https://github.com/ipfs/kubo/pull/9335
97-
[ipfs/go-ipfs/issues/7552]: https://github.com/ipfs/go-ipfs/issues/7552
98+
[ipfs/go-ipfs/issues/7552]: https://github.com/ipfs/go-ipfs/issues/7552
99+
[dag-pb]: https://dweb.link/ipfs/bafybeiegxwlgmoh2cny7qlolykdf7aq7g6dlommarldrbm7c4hbckhfcke
100+
[dag-pb-json]: https://dweb.link/ipfs/bafkreidmwhhm6myajxlpu7kofe3aqwf4ezxxn46cp5fko7mb6x74g4k5nm
101+
[dag-cbor-traversal]: https://dweb.link/ipfs/bafyreiehxu373cu3v5gyxyxfsfjryscs7sq6fh3unqcqgqhdfn3n43vrgu
102+
[dag-json-traversal]: https://dweb.link/ipfs/baguqeeraoaeabj5hdfcmpkzfeiwtfwb3qbvfwzbiknqn7itcwsb2fdtu7eta

0 commit comments

Comments
 (0)