Don't enforce MXC URIs, but also don't confuse people

pull/977/head
Travis Ralston 6 years ago
parent de725c26cc
commit 04930c6ddf

@ -19,8 +19,8 @@ properties:
type: integer type: integer
thumbnail_url: thumbnail_url:
description: |- description: |-
The `MXC URI`_ to a thumbnail of the image. Only present if the The URL (typically `MXC URI`_) to a thumbnail of the image.
thumbnail is unencrypted. Only present if the thumbnail is unencrypted.
type: string type: string
thumbnail_file: thumbnail_file:
description: |- description: |-

@ -27,7 +27,9 @@ properties:
- m.audio - m.audio
type: string type: string
url: url:
description: Required if the file is not encrypted. The `MXC URI`_ to the audio clip. description: |-
Required if the file is not encrypted. The URL (typically `MXC URI`_)
to the audio clip.
type: string type: string
file: file:
description: |- description: |-

@ -42,7 +42,9 @@ properties:
- m.file - m.file
type: string type: string
url: url:
description: Required if the file is unencrypted. The `MXC URI`_ to the file. description: |-
Required if the file is unencrypted. The URL (typically `MXC URI`_)
to the file.
type: string type: string
file: file:
description: |- description: |-

@ -17,7 +17,9 @@ properties:
- m.image - m.image
type: string type: string
url: url:
description: Required if the file is unencrypted. The `MXC URI`_ to the image. description: |-
Required if the file is unencrypted. The URL (typically `MXC URI`_)
to the image.
type: string type: string
file: file:
description: |- description: |-

@ -28,8 +28,8 @@ properties:
type: integer type: integer
thumbnail_url: thumbnail_url:
description: |- description: |-
The `MXC URI`_ to an image thumbnail of the video clip. Only present if the The URL (typically `MXC URI`_) to an image thumbnail of
thumbnail is unencrypted. the video clip. Only present if the thumbnail is unencrypted.
type: string type: string
thumbnail_file: thumbnail_file:
description: |- description: |-
@ -48,7 +48,9 @@ properties:
- m.video - m.video
type: string type: string
url: url:
description: Required if the file is unencrypted. The `MXC URI`_ to the video clip. description: |-
Required if the file is unencrypted. The URL (typically `MXC URI`_)
to the video clip.
type: string type: string
file: file:
description: |- description: |-

Loading…
Cancel
Save