Third party lookup module. Fix wording

This commit is contained in:
Andrew Morgan 2018-07-12 16:52:31 +01:00
parent 8999887245
commit 291a4dfc76
12 changed files with 34 additions and 42 deletions

View file

@ -226,7 +226,7 @@ paths:
200:
description: The protocol was found and metadata returned.
schema:
$ref: definitions/schema/protocol_metadata.yaml
$ref: definitions/protocol_metadata.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.
@ -279,7 +279,7 @@ paths:
200:
description: The Matrix User IDs found with the given parameters.
schema:
$ref: definitions/schema/user_batch.yaml
$ref: definitions/user_batch.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.
@ -330,7 +330,7 @@ paths:
200:
description: At least one portal room was found.
schema:
$ref: definitions/schema/location_batch.yaml
$ref: definitions/location_batch.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.
@ -375,7 +375,7 @@ paths:
description: |-
All found third party locations.
schema:
$ref: definitions/schema/location_batch.yaml
$ref: definitions/location_batch.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.
@ -419,7 +419,7 @@ paths:
description: |-
An array of third party users.
schema:
$ref: definitions/schema/user_batch.yaml
$ref: definitions/user_batch.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.

View file

@ -39,7 +39,7 @@ paths:
200:
description: The protocols supported by the homeserver.
schema:
$ref: ../application-service/definitions/schema/protocol_metadata.yaml
$ref: ../application-service/definitions/protocol_metadata.yaml
"/thirdparty/protocol/{protocol}":
get:
summary: Retrieve metadata about a specific protocol that the homeserver supports.
@ -58,7 +58,7 @@ paths:
200:
description: The protocol was found and metadata returned.
schema:
$ref: ../application-service/definitions/schema/protocol.yaml
$ref: ../application-service/definitions/protocol.yaml
404:
description: The protocol is unknown.
examples:
@ -97,7 +97,7 @@ paths:
200:
description: At least one portal room was found.
schema:
$ref: ../application-service/definitions/schema/location_batch.yaml
$ref: ../application-service/definitions/location_batch.yaml
404:
description: No portal rooms were found.
examples:
@ -130,7 +130,7 @@ paths:
200:
description: The Matrix User IDs found with the given parameters.
schema:
$ref: ../application-service/definitions/schema/user_batch.yaml
$ref: ../application-service/definitions/user_batch.yaml
404:
description: The Matrix User ID was not found
examples:
@ -157,7 +157,7 @@ paths:
description: |-
All found third party locations.
schema:
$ref: ../application-service/definitions/schema/location_batch.yaml
$ref: ../application-service/definitions/location_batch.yaml
404:
description: The Matrix room alias was not found
examples:
@ -183,7 +183,7 @@ paths:
description: |-
An array of third party users.
schema:
$ref: ../application-service/definitions/schema/user_batch.yaml
$ref: ../application-service/definitions/user_batch.yaml
404:
description: The Matrix User ID was not found
examples: