mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-17 16:44:09 +02:00
Add Matrix Content URI format
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
1782a89b15
commit
c404b71f37
|
|
@ -42,7 +42,8 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
content_uri:
|
content_uri:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
description: The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
description: The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
||||||
the uploaded content.
|
the uploaded content.
|
||||||
examples:
|
examples:
|
||||||
|
|
@ -185,7 +186,8 @@ paths:
|
||||||
properties:
|
properties:
|
||||||
content_uri:
|
content_uri:
|
||||||
type: string
|
type: string
|
||||||
format: uri
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
description: |-
|
description: |-
|
||||||
The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) at
|
The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) at
|
||||||
which the content will be available, once it is uploaded.
|
which the content will be available, once it is uploaded.
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,11 @@ mx-server-name:
|
||||||
url: /appendices#server-name
|
url: /appendices#server-name
|
||||||
# no regex
|
# no regex
|
||||||
|
|
||||||
|
mx-mxc-uri:
|
||||||
|
title: Matrix Content URI
|
||||||
|
url: /client-server-api#matrix-content-mxc-uris
|
||||||
|
# regex: "^mxc:\\/\\/"
|
||||||
|
|
||||||
uri:
|
uri:
|
||||||
title: URI
|
title: URI
|
||||||
url: http://tools.ietf.org/html/rfc3986
|
url: http://tools.ietf.org/html/rfc3986
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue