Remove explode and replace with TODO, require auth on CS

pull/1414/head
user 6 years ago
parent 53137a3c53
commit d785ac78a3

@ -35,6 +35,8 @@ paths:
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: getProtocols operationId: getProtocols
security:
- accessToken: []
responses: responses:
200: 200:
description: The protocols supported by the homeserver. description: The protocols supported by the homeserver.
@ -46,6 +48,8 @@ paths:
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: getProtocolMetadata 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
@ -121,10 +129,10 @@ paths:
The name of the protocol. The name of the protocol.
required: true required: true
x-example: irc x-example: irc
# TODO: Change to 'explode' after OpenAPI/Swagger v3 update
- in: query - in: query
name: fields name: field1, field2...
explode: true type: string
type: object
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.
responses: responses:
@ -147,6 +155,8 @@ 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
@ -173,6 +183,8 @@ 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

Loading…
Cancel
Save