federation-api: Remove mentions of keyId in the keys query endpoints
According to MSC3938
This commit is contained in:
parent
78ef5270ba
commit
4d40623ae4
@ -1,4 +1,4 @@
|
||||
//! `GET /_matrix/key/*/query/{serverName}/{keyId}`
|
||||
//! `GET /_matrix/key/*/query/{serverName}`
|
||||
//!
|
||||
//! Query for another server's keys. The receiving (notary) server must sign the keys returned by
|
||||
//! the queried server.
|
||||
@ -22,8 +22,6 @@ pub mod v2 {
|
||||
rate_limited: false,
|
||||
authentication: None,
|
||||
history: {
|
||||
// Note: The spec has an additional, deprecated path parameter on this. We may want to
|
||||
// support an additional parameter at the end, even if it is ignored.
|
||||
1.0 => "/_matrix/key/v2/query/:server_name",
|
||||
}
|
||||
};
|
||||
|
@ -5,9 +5,6 @@
|
||||
pub mod v2 {
|
||||
//! `/v2/` ([spec])
|
||||
//!
|
||||
//! Note: The specification includes `/{keyID}`, but this is deprecated, and the trailing slash
|
||||
//! then made optional.
|
||||
//!
|
||||
//! [spec]: https://spec.matrix.org/v1.4/server-server-api/#get_matrixkeyv2serverkeyid
|
||||
|
||||
use ruma_common::{
|
||||
|
Loading…
x
Reference in New Issue
Block a user