|
|
@ -1,3 +1,4 @@
|
|
|
|
|
|
|
|
# Copyright 2016 OpenMarket Ltd
|
|
|
|
# Copyright 2018 New Vector Ltd
|
|
|
|
# Copyright 2018 New Vector Ltd
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
@ -33,13 +34,13 @@ paths:
|
|
|
|
the existence of a given user ID. The homeserver will only query user IDs
|
|
|
|
the existence of a given user ID. The homeserver will only query user IDs
|
|
|
|
inside the application service's ``users`` namespace. The homeserver will
|
|
|
|
inside the application service's ``users`` namespace. The homeserver will
|
|
|
|
send this request when it receives an event for an unknown user ID in
|
|
|
|
send this request when it receives an event for an unknown user ID in
|
|
|
|
the application service's namespace.
|
|
|
|
the application service's namespace, such as a room invite.
|
|
|
|
operationId: queryUserById
|
|
|
|
operationId: queryUserById
|
|
|
|
parameters:
|
|
|
|
parameters:
|
|
|
|
- in: path
|
|
|
|
- in: path
|
|
|
|
name: userId
|
|
|
|
name: userId
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
description: The user ID being queried.
|
|
|
|
description: The URL encoded user ID being queried.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
x-example: "@alice:example.com"
|
|
|
|
x-example: "@alice:example.com"
|
|
|
|
responses:
|
|
|
|
responses:
|
|
|
@ -48,8 +49,7 @@ paths:
|
|
|
|
The application service indicates that this user exists. The application
|
|
|
|
The application service indicates that this user exists. The application
|
|
|
|
service MUST create the user using the client-server API.
|
|
|
|
service MUST create the user using the client-server API.
|
|
|
|
examples:
|
|
|
|
examples:
|
|
|
|
application/json: {
|
|
|
|
application/json: {}
|
|
|
|
}
|
|
|
|
|
|
|
|
schema:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
401:
|
|
|
|
401:
|
|
|
|