OpenAPI: use uri format
In avatar_url, pusher url, wellknown base_url, getUrlPreview, and submit_url. Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
This commit is contained in:
parent
cdcc24af11
commit
91b232df48
12 changed files with 18 additions and 1 deletions
|
@ -66,6 +66,7 @@ paths:
|
|||
properties:
|
||||
content_uri:
|
||||
type: string
|
||||
format: uri
|
||||
description: "The [MXC URI](/client-server-api/#matrix-content-mxc-uris) to the uploaded content."
|
||||
examples:
|
||||
application/json: {
|
||||
|
@ -360,6 +361,7 @@ paths:
|
|||
parameters:
|
||||
- in: query
|
||||
type: string
|
||||
format: uri
|
||||
x-example: "https://matrix.org"
|
||||
name: url
|
||||
description: "The URL to get a preview of."
|
||||
|
@ -389,6 +391,7 @@ paths:
|
|||
The byte-size of the image. Omitted if there is no image attached.
|
||||
"og:image":
|
||||
type: string
|
||||
format: uri
|
||||
description: |-
|
||||
An [MXC URI](/client-server-api/#matrix-content-mxc-uris) to the image. Omitted if there is no image.
|
||||
examples:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue