Remove boxes/added-in-paragraph
shortcode (#1970)
This commit is contained in:
parent
ae3673d2ef
commit
1e47d7ec48
5 changed files with 1 additions and 53 deletions
|
@ -16,21 +16,17 @@ When serving content, the server SHOULD provide a
|
|||
`Content-Security-Policy` header. The recommended policy is
|
||||
`sandbox; default-src 'none'; script-src 'none'; plugin-types application/pdf; style-src 'unsafe-inline'; object-src 'self';`.
|
||||
|
||||
{{% boxes/added-in-paragraph %}}
|
||||
{{< added-in v="1.4" >}} The server SHOULD additionally provide
|
||||
`Cross-Origin-Resource-Policy: cross-origin` when serving content to allow
|
||||
(web) clients to access restricted APIs such as `SharedArrayBuffer` when
|
||||
interacting with the media repository.
|
||||
{{% /boxes/added-in-paragraph %}}
|
||||
|
||||
{{% boxes/added-in-paragraph %}}
|
||||
{{< changed-in v="1.11" >}} The unauthenticated download endpoints have been
|
||||
deprecated in favour of newer, authenticated, ones. This change includes updating
|
||||
the paths of all media endpoints from `/_matrix/media/*` to `/_matrix/client/{version}/media/*`,
|
||||
with the exception of the `/upload` and `/create` endpoints. The upload/create
|
||||
endpoints are expected to undergo a similar transition in a later version of the
|
||||
specification.
|
||||
{{% /boxes/added-in-paragraph %}}
|
||||
|
||||
#### Matrix Content (`mxc://`) URIs
|
||||
|
||||
|
@ -48,11 +44,9 @@ mxc://<server-name>/<media-id>
|
|||
|
||||
Clients can access the content repository using the following endpoints.
|
||||
|
||||
{{% boxes/added-in-paragraph %}}
|
||||
{{< changed-in v="1.11" >}} A number of endpoints under the /_matrix/media hierarchy
|
||||
have been deprecated and replaced with new endpoints which require authentication.
|
||||
The deprecated endpoints are marked in the section below.
|
||||
{{% /boxes/added-in-paragraph %}}
|
||||
|
||||
{{% boxes/warning %}}
|
||||
By Matrix 1.12, servers SHOULD "freeze" the deprecated, unauthenticated, endpoints
|
||||
|
|
|
@ -1204,7 +1204,6 @@ Servers MUST use the server described in the [Matrix Content URI](/client-server
|
|||
Formatted as `mxc://{ServerName}/{MediaID}`, servers MUST download the media from
|
||||
`ServerName` using the below endpoints.
|
||||
|
||||
{{% boxes/added-in-paragraph %}}
|
||||
{{< changed-in v="1.11" >}} Servers were previously advised to use the `/_matrix/media/*`
|
||||
endpoints described by the [Content Repository module in the Client-Server API](/client-server-api/#content-repository),
|
||||
however, those endpoints have been deprecated. New endpoints are introduced which
|
||||
|
@ -1213,7 +1212,6 @@ the required access token to those endpoints. Instead, servers MUST try the endp
|
|||
described below before falling back to the deprecated `/_matrix/media/*` endpoints
|
||||
when they receive a `404 M_UNRECOGNIZED` error. When falling back, servers MUST
|
||||
be sure to set `allow_remote` to `false`.
|
||||
{{% /boxes/added-in-paragraph %}}
|
||||
|
||||
{{% http-api spec="server-server" api="content_repository" %}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue