|
|
@ -34,7 +34,9 @@ paths:
|
|
|
|
Fetches the overall metadata about protocols supported by the
|
|
|
|
Fetches the overall metadata about protocols supported by the
|
|
|
|
homeserver. Includes both the available protocols and all fields
|
|
|
|
homeserver. Includes both the available protocols and all fields
|
|
|
|
required for queries against each protocol.
|
|
|
|
required for queries against each protocol.
|
|
|
|
operationId: queryMetadata
|
|
|
|
operationId: getProtocols
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description: The protocols supported by the homeserver.
|
|
|
|
description: The protocols supported by the homeserver.
|
|
|
@ -45,7 +47,9 @@ paths:
|
|
|
|
summary: Retrieve metadata about a specific protocol that the homeserver supports.
|
|
|
|
summary: Retrieve metadata about a specific protocol that the homeserver supports.
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
Fetches the metadata from the homeserver about a particular third party protocol.
|
|
|
|
Fetches the metadata from the homeserver about a particular third party protocol.
|
|
|
|
operationId: queryMetadata
|
|
|
|
operationId: getProtocolMetadata
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: protocol
|
|
|
|
name: protocol
|
|
|
@ -80,6 +84,8 @@ paths:
|
|
|
|
identifier. It should attempt to canonicalise the identifier as much
|
|
|
|
identifier. It should attempt to canonicalise the identifier as much
|
|
|
|
as reasonably possible given the network type.
|
|
|
|
as reasonably possible given the network type.
|
|
|
|
operationId: queryLocationByProtocol
|
|
|
|
operationId: queryLocationByProtocol
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: protocol
|
|
|
|
name: protocol
|
|
|
@ -113,6 +119,8 @@ paths:
|
|
|
|
Retrieve a Matrix User ID linked to a user on the third party service, given
|
|
|
|
Retrieve a Matrix User ID linked to a user on the third party service, given
|
|
|
|
a set of user parameters.
|
|
|
|
a set of user parameters.
|
|
|
|
operationId: queryUserByProtocol
|
|
|
|
operationId: queryUserByProtocol
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: protocol
|
|
|
|
name: protocol
|
|
|
@ -122,7 +130,7 @@ paths:
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
x-example: irc
|
|
|
|
x-example: irc
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: field1, field2...
|
|
|
|
name: fields...
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
One or more custom fields that are passed to the AS to help identify the user.
|
|
|
|
One or more custom fields that are passed to the AS to help identify the user.
|
|
|
@ -146,12 +154,15 @@ paths:
|
|
|
|
Retreive an array of third party network locations from a Matrix room
|
|
|
|
Retreive an array of third party network locations from a Matrix room
|
|
|
|
alias.
|
|
|
|
alias.
|
|
|
|
operationId: queryLocationByAlias
|
|
|
|
operationId: queryLocationByAlias
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: alias
|
|
|
|
name: alias
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: The Matrix room alias to look up.
|
|
|
|
description: The Matrix room alias to look up.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
|
|
|
|
x-example: "#matrix:matrix.org"
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
@ -172,12 +183,15 @@ paths:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
Retreive an array of third party users from a Matrix User ID.
|
|
|
|
Retreive an array of third party users from a Matrix User ID.
|
|
|
|
operationId: queryUserByID
|
|
|
|
operationId: queryUserByID
|
|
|
|
|
|
|
|
security:
|
|
|
|
|
|
|
|
- accessToken: []
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: query
|
|
|
|
- in: query
|
|
|
|
name: userid
|
|
|
|
name: userid
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: The Matrix User ID to look up.
|
|
|
|
description: The Matrix User ID to look up.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
|
|
|
|
x-example: "@bob:matrix.org"
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
|
200:
|
|
|
|
200:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
@ -191,4 +205,4 @@ paths:
|
|
|
|
"errcode": "M_NOT_FOUND"
|
|
|
|
"errcode": "M_NOT_FOUND"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
$ref: definitions/errors/error.yaml
|
|
|
|
$ref: definitions/errors/error.yaml
|
|
|
|