mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 03:34:08 +01: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:
|
||||
content_uri:
|
||||
type: string
|
||||
format: uri
|
||||
format: mx-mxc-uri
|
||||
pattern: "^mxc:\\/\\/"
|
||||
description: The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) to
|
||||
the uploaded content.
|
||||
examples:
|
||||
|
|
@ -185,7 +186,8 @@ paths:
|
|||
properties:
|
||||
content_uri:
|
||||
type: string
|
||||
format: uri
|
||||
format: mx-mxc-uri
|
||||
pattern: "^mxc:\\/\\/"
|
||||
description: |-
|
||||
The [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris) at
|
||||
which the content will be available, once it is uploaded.
|
||||
|
|
|
|||
|
|
@ -42,6 +42,11 @@ mx-server-name:
|
|||
url: /appendices#server-name
|
||||
# no regex
|
||||
|
||||
mx-mxc-uri:
|
||||
title: Matrix Content URI
|
||||
url: /client-server-api#matrix-content-mxc-uris
|
||||
# regex: "^mxc:\\/\\/"
|
||||
|
||||
uri:
|
||||
title: URI
|
||||
url: http://tools.ietf.org/html/rfc3986
|
||||
|
|
|
|||
Loading…
Reference in a new issue