* Add `consumes` (swagger)
* Remove `http` as a supported scheme (the spec specifically says clients MUST use https)
* Clarify various descriptions
* Full stops
* Additional wording
* s/older versions/previous drafts - we haven't had a release yet
* Indentation on examples
description:The unix timestamp at which the association was verified.
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.
description:|-
The signatures of the verifying identity services which show that the
association should be trusted, if you trust the verifying identity
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -20,8 +21,9 @@ info:
host:localhost:8090
schemes:
- https
- http
basePath:/_matrix/identity/api/v1
consumes:
- application/json
produces:
- application/json
paths:
@ -46,7 +48,7 @@ paths:
responses:
200:
description:
The association for that 3pid, or the empty object if no association is known.
The association for that 3pid, or an empty object if no association is known.
examples:
application/json:{
"address": "louise@bobs.burgers",
@ -66,10 +68,10 @@ paths:
properties:
address:
type:string
description:The 3pid address of the user being looked up.
description:The 3pid address of the user being looked up, matching the address requested.
medium:
type:string
description:The literal string "email".
description:A medium from the `3PID Types`_ Appendix, matching the medium requested.
mxid:
type:string
description:The Matrix user ID associated with the 3pid.
@ -126,7 +128,9 @@ paths:
#- type: 3PID Address
- type:string
- type:string
description:an array of arrays containing the `3PID Types`_ with the ``medium`` in first position and the ``address`` in second position.
description:|-
An array of arrays containing the `3PID Types`_ with the ``medium``
in first position and the ``address`` in second position.
required:
- "threepids"
responses:
@ -157,6 +161,9 @@ paths:
- type:string
- type:string
- type:string
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.
description:|-
An array of array containing the `3PID Types`_ with the ``medium``
in first position, the ``address`` in second position and Matrix user