Add the codes to the right endpoint

dbkr/msc4178
David Baker 2 months ago
parent 78e5d4d315
commit 0c3245a46a

@ -488,9 +488,11 @@ paths:
"400": "400":
description: |- description: |-
The third-party identifier is already in use on the homeserver, or The third-party identifier is already in use on the homeserver, or
the request was invalid. The error code `M_SERVER_NOT_TRUSTED` the request was invalid. Error codes that can be returned are:
can be returned if the server does not trust/support the identity server * `M_SERVER_NOT_TRUSTED`: The server does not trust/support the identity server
provided in the request. provided in the request.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED`: The homeserver does not support adding email addresses.
* `M_INVALID_PARAM`: The email address given was not valid.
content: content:
application/json: application/json:
schema: schema:
@ -547,9 +549,10 @@ paths:
"400": "400":
description: |- description: |-
The third-party identifier is already in use on the homeserver, or The third-party identifier is already in use on the homeserver, or
the request was invalid. The error code `M_SERVER_NOT_TRUSTED` the request was invalid. Error codes that can be returned are:
can be returned if the server does not trust/support the identity server * `M_SERVER_NOT_TRUSTED`: The server does not trust/support the identity server
provided in the request. * `M_THREEPID_MEDIUM_NOT_SUPPORTED`: The homeserver does not support adding phone numbers.
* `M_INVALID_PARAM`: The phone number given was not valid.
content: content:
application/json: application/json:
schema: schema:

@ -284,10 +284,6 @@ paths:
has an account on the homeserver in question. has an account on the homeserver in question.
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server * `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
that is not trusted by this homeserver. that is not trusted by this homeserver.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding email addresses.
* `M_INVALID_PARAM`
The email address given was not valid.
content: content:
application/json: application/json:
schema: schema:
@ -349,10 +345,6 @@ paths:
has an account on the homeserver in question. has an account on the homeserver in question.
* `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server * `M_SERVER_NOT_TRUSTED` : The `id_server` parameter refers to an identity server
that is not trusted by this homeserver. that is not trusted by this homeserver.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding phone numbers.
* `M_INVALID_PARAM`
The phone number given was not valid.
content: content:
application/json: application/json:
schema: schema:

Loading…
Cancel
Save