Skip to content

Commit

Permalink
fix: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Sep 6, 2024
1 parent f9a6e76 commit e2b9fdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ipips/ipip-0484.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ In the context of this IPIP, we refer to the network layer transport protocol, e

The proposed change is to add a `?network-transports` parameter to the `GET /routing/v1/providers/{cid}` endpoint of :cite[http-routing-v1]:

- Add a `?network-transports=<comma-separated-list>` optional parameter to `GET /routing/v1/providers/{CID}` that indicates which network transports to return by filtering the multiaddrs in the `Addrs` field of the [Peer schema](peer-schema).
- Add a `?network-transports=<comma-separated-list>` optional parameter to `GET /routing/v1/providers/{CID}` that indicates which network transports to return by filtering the multiaddrs in the `Addrs` field of the [Peer schema].
- The value of the `network-transports` parameter is a comma-separated list of network transport protocol _name strings_ as defined in the [multiaddr protocol registry](https://github.com/multiformats/multiaddr/blob/master/protocols.csv), e.g. `?network-transports=webtransport`.
- Multiaddrs are filtered by checking if the protocol name appears in any of the multiaddrs.
- Only multiaddrs that pass the filter are included in the response.
Expand All @@ -63,7 +63,7 @@ Filtering out providers without any matching transport, will cause providers wit

The proposed change is to add a `?transfer-protocols` parameter to the `GET /routing/v1/providers/{cid}` endpoint of :cite[http-routing-v1]:

- Add a `?transfer-protocols=<comma-separated-list>` optional parameter to `GET /routing/v1/providers/{CID}` that indicates which transfer protocols to return by filtering the `Protocol` field of the [Peer schema](peer-schema).
- Add a `?transfer-protocols=<comma-separated-list>` optional parameter to `GET /routing/v1/providers/{CID}` that indicates which transfer protocols to return by filtering the `Protocol` field of the [Peer schema].
- The value of the `transfer-protocols` parameter is a comma-separated list of known transfer protocol names:
- `transport-bitswap`
- `transport-graphsync-filecoinv1`
Expand Down Expand Up @@ -102,4 +102,4 @@ The default behavior when `?network-transports` and `?transfer-protocols` is not

Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).

[peer-schema]: https://specs.ipfs.tech/routing/http-routing-v1/#peer-schema
[Peer schema]: https://specs.ipfs.tech/routing/http-routing-v1/#peer-schema

0 comments on commit e2b9fdb

Please sign in to comment.