summary:Publish an association between a session and a Matrix user ID.
@ -158,6 +163,15 @@ paths:
signatures:
type:object
description:The signatures of the verifying identity services which show that the association should be trusted, if you trust the verifying identity services.
$ref:"../../schemas/server-signatures.yaml"
required:
- address
- medium
- mxid
- not_before
- not_after
- ts
- signatures
400:
description:|-
The association was not published.
@ -170,6 +184,8 @@ paths:
"errcode": "M_SESSION_NOT_VALIDATED",
"error": "This validation session has not yet been completed"
description:The signatures of the verifying identity services which show that the association should be trusted, if you trust the verifying identity services.
$ref:"../../schemas/server-signatures.yaml"
required:
- address
- medium
- mxid
- not_before
- not_after
- ts
- signatures
"/bulk_lookup":
post:
summary:Lookup Matrix user IDs for a list of 3pids.
@ -110,9 +118,11 @@ paths:
items:
type:array
title:3PID mappings
minItems:2
maxItems:2
items:
type:string
title:3PID medium or address
- type:3PID Medium
- type:3PID Address
description:an array of arrays containing the `3PID Types`_ with the ``medium`` in first position and the ``address`` in second position.
required:
- "threepids"
@ -134,9 +144,12 @@ paths:
items:
type:array
title:3PID mappings
minItems:3
maxItems:3
items:
type:string
title:3PID medium or address or the Matrix ID
- type:3PID Medium
- type:3PID Address
- type:Matrix User ID
description:an array of array containing the `3PID Types`_ with the ``medium`` in first position, the ``address`` in second position and Matrix ID in third position.