Skip to content

Commit c168c57

Browse files
authored
chore: apply similar to cid argument
1 parent d3e9251 commit c168c57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routing/http-routing-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ As such, human-readable encodings of types are preferred. This specification may
5252

5353
- CIDs are always string-encoded using a [multibase]-encoded [CIDv1].
5454
- Multiaddrs are string-encoded according to the [human-readable multiaddr specification][multiaddr].
55-
- Peer IDs are string-encoded according [PeerID string representation specification][peer-id-representation]: either a Multihash in Base58btc, or a CIDv1 with libp2p-key (`0x72`) codec.
55+
- Peer IDs are string-encoded according [PeerID string representation specification][peer-id-representation]: either a Multihash in Base58btc, or a CIDv1 with libp2p-key (`0x72`) codec in Base36 or Base32.
5656
- Multibase bytes are string-encoded according to [the Multibase spec][multibase], and SHOULD use base64.
5757
- Timestamps are Unix millisecond epoch timestamps.
5858

@@ -68,7 +68,7 @@ This API uses a standard version prefix in the path, such as `/v1/...`. If a bac
6868

6969
#### Path Parameters
7070

71-
- `cid` is the [CID](https://github.com/multiformats/cid) to fetch provider records for.
71+
- `cid` is the [CID](https://github.com/multiformats/cid) to fetch provider records for (preferably normalized to a CIDv1 in Base32, to maximize HTTP cache hits).
7272

7373
#### Request Query Parameters
7474

0 commit comments

Comments
 (0)