diff --git a/IPIP/0379-delegated-ipns-http-api.md b/IPIP/0379-delegated-ipns-http-api.md index b9f6b175c..1c9704fa1 100644 --- a/IPIP/0379-delegated-ipns-http-api.md +++ b/IPIP/0379-delegated-ipns-http-api.md @@ -65,13 +65,11 @@ Implements are permitted to set a lower limit. If lower than the default maximum Similarly, a client may check if a server supports ProtocolBuffer formatted records by checking the `X-Ipns-Allow-Protobuf` header key in response to `OPTIONS` request. If present the header value must be either `true` or `false` the absence of the header indicates that ProtocolBuffer formatted records are not supported. Privacy in delegated IPNS is out of scope for this work. -- The usual JSON parsing rules apply. To prevent potential Denial of Service (DoS) attack, clients should ignore responses larger than 100 providers and introduce a byte size limit that is applicable to their use case. ### Alternatives See: -- [Libp2p-based IPNS](https://github.com/ipfs/go-ipns). -- Reframe; find out more on [IPIP-337 Design Rationale](0337-delegated-routing-http-api.md#design-rationale). +- Reframe; it was deprecated and now removed. Historical reasons can be found in [IPIP-337 Design Rationale](https://specs.ipfs.tech/ipips/ipip-0337/#design-rationale). ### Copyright diff --git a/routing/DELEGATED_IPNS_HTTP.md b/routing/DELEGATED_IPNS_HTTP.md index c9ff9ab84..22631f11e 100644 --- a/routing/DELEGATED_IPNS_HTTP.md +++ b/routing/DELEGATED_IPNS_HTTP.md @@ -71,6 +71,8 @@ Where: cached. - `PublicKey` represents the optional public key used to sign the record. This field is only required if it cannot be extracted from the IPNS name, e.g. in the case of legacy RSA keys. + The idea here is that IPNS Record should always have all information neccessary + for signature verification in offline mode, without additional lookups to retrieve the public key. - `ExtendedData` represents the extensible data as arbitrary JSON object. ## Versioning @@ -80,7 +82,7 @@ increment the version number. ## API -### `GET /naming/v1/records/{ipns-name}` +### `GET /routing/v1/ipns/{ipns-name}` **Path Parameters** @@ -120,7 +122,7 @@ The response body contains the [IPNS record](#ipns-record). } ``` -### `PUT /naming/v1/records/{ipns-name}` +### `PUT /routing/v1/ipns/{ipns-name}` **Path Parameters**