Merge pull request #2029 from matrix-org/travis/1.0/delete-alias

Add M_NOT_FOUND definition for deleting non-existent aliases
pull/2036/head
Travis Ralston 5 years ago committed by GitHub
commit 1aa71f2436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -148,5 +148,14 @@ paths:
}
schema:
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:
- Room directory

@ -0,0 +1 @@
Add ``M_NOT_FOUND`` error definition for deleting room aliases.
Loading…
Cancel
Save