mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-08 04:24:10 +01:00
Fix response format and 404 example for room alias lookup
This commit is contained in:
parent
7cec016256
commit
fee65dbacb
|
|
@ -98,10 +98,10 @@ paths:
|
||||||
description: The room ID for this room alias.
|
description: The room ID for this room alias.
|
||||||
servers:
|
servers:
|
||||||
type: array
|
type: array
|
||||||
description: A list of servers that are aware of this room ID.
|
description: A list of servers that are aware of this room alias.
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
description: A server which is aware of this room ID.
|
description: A server which is aware of this room alias.
|
||||||
examples:
|
examples:
|
||||||
application/json: |-
|
application/json: |-
|
||||||
{
|
{
|
||||||
|
|
@ -118,7 +118,7 @@ paths:
|
||||||
application/json: |-
|
application/json: |-
|
||||||
{
|
{
|
||||||
"errcode": "M_NOT_FOUND",
|
"errcode": "M_NOT_FOUND",
|
||||||
"error": "Room ID !abnjk1jdasj98:capuchins.com not found."
|
"error": "Room alias #monkeys:matrix.org not found."
|
||||||
}
|
}
|
||||||
tags:
|
tags:
|
||||||
- Room directory
|
- Room directory
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue