Add M_NOT_FOUND definition for deleting non-existent aliases
Fixes https://github.com/matrix-org/matrix-doc/issues/1675
This commit is contained in:
parent
5c268ef21f
commit
d52fcdacfa
2 changed files with 10 additions and 0 deletions
|
@ -148,5 +148,14 @@ paths:
|
||||||
}
|
}
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
404:
|
||||||
|
description: There is no mapped room ID for this room alias.
|
||||||
|
examples:
|
||||||
|
application/json: {
|
||||||
|
"errcode": "M_NOT_FOUND",
|
||||||
|
"error": "Room alias #monkeys:example.org not found."
|
||||||
|
}
|
||||||
|
schema:
|
||||||
|
"$ref": "definitions/errors/error.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Room directory
|
- Room directory
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Add ``M_NOT_FOUND`` error definition for deleting room aliases.
|
Loading…
Add table
Add a link
Reference in a new issue