mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Merge remote-tracking branch 'upstream/main' into intentional-mentions
This commit is contained in:
commit
b0267a8e26
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify parts of the end-to-end encryption sections.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
2
changelogs/client_server/newsfragments/1510.feature
Normal file
2
changelogs/client_server/newsfragments/1510.feature
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
Add new endpoints `POST /_matrix/media/v1/create` and `PUT /_matrix/media/v3/upload/{serverName}/{mediaId}`, and other changes for asynchronous media upload, as per [MSC2246](https://github.com/matrix-org/matrix-spec-proposals/pull/2246).
|
||||||
|
|
||||||
|
|
@ -24,7 +24,7 @@ Authentication](#client-authentication) for details).
|
||||||
|
|
||||||
All `POST` and `PUT` endpoints, with the exception of [`POST
|
All `POST` and `PUT` endpoints, with the exception of [`POST
|
||||||
/_matrix/media/v3/upload`](#post_matrixmediav3upload) and [`PUT
|
/_matrix/media/v3/upload`](#post_matrixmediav3upload) and [`PUT
|
||||||
/_matrix/media/v3/upload/{serverName}/{mediaId}`](http://localhost:1313/client-server-api/#put_matrixmediav3uploadservernamemediaid),
|
/_matrix/media/v3/upload/{serverName}/{mediaId}`](#put_matrixmediav3uploadservernamemediaid),
|
||||||
require the client to supply a request body containing a (potentially empty)
|
require the client to supply a request body containing a (potentially empty)
|
||||||
JSON object. Clients should supply a `Content-Type` header of
|
JSON object. Clients should supply a `Content-Type` header of
|
||||||
`application/json` for all requests with JSON bodies, but this is not required.
|
`application/json` for all requests with JSON bodies, but this is not required.
|
||||||
|
|
|
||||||
|
|
@ -149,8 +149,12 @@ paths:
|
||||||
x-addedInMatrixVersion: "1.1"
|
x-addedInMatrixVersion: "1.1"
|
||||||
summary: Upload cross-signing signatures.
|
summary: Upload cross-signing signatures.
|
||||||
description: |-
|
description: |-
|
||||||
Publishes cross-signing signatures for the user. The request body is a
|
Publishes cross-signing signatures for the user.
|
||||||
map from user ID to key ID to signed JSON object.
|
|
||||||
|
The request body is a map from user ID to key ID to signed JSON object.
|
||||||
|
The signed JSON object must match the key previously uploaded or
|
||||||
|
retrieved for the given key ID, with the exception of the `signatures`
|
||||||
|
property, which contains the new signature(s) to add.
|
||||||
operationId: uploadCrossSigningSignatures
|
operationId: uploadCrossSigningSignatures
|
||||||
security:
|
security:
|
||||||
- accessToken: []
|
- accessToken: []
|
||||||
|
|
@ -158,7 +162,8 @@ paths:
|
||||||
- in: body
|
- in: body
|
||||||
name: signatures
|
name: signatures
|
||||||
description: |-
|
description: |-
|
||||||
The signatures to be published.
|
A map from user ID to key ID to signed JSON objects containing the
|
||||||
|
signatures to be published.
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,9 @@ description: |-
|
||||||
The following membership states are specified:
|
The following membership states are specified:
|
||||||
|
|
||||||
- `invite` - The user has been invited to join a room, but has not yet joined it. They may not participate in the room until they join.
|
- `invite` - The user has been invited to join a room, but has not yet joined it. They may not participate in the room until they join.
|
||||||
|
|
||||||
- `join` - The user has joined the room (possibly after accepting an invite), and may participate in it.
|
- `join` - The user has joined the room (possibly after accepting an invite), and may participate in it.
|
||||||
|
|
||||||
- `leave` - The user was once joined to the room, but has since left (possibly by choice, or possibly by being kicked).
|
- `leave` - The user was once joined to the room, but has since left (possibly by choice, or possibly by being kicked).
|
||||||
|
|
||||||
- `ban` - The user has been banned from the room, and is no longer allowed to join it until they are un-banned from the room (by having their membership state set to a value other than `ban`).
|
- `ban` - The user has been banned from the room, and is no longer allowed to join it until they are un-banned from the room (by having their membership state set to a value other than `ban`).
|
||||||
|
|
||||||
- `knock` - The user has knocked on the room, requesting permission to participate. They may not participate in the room until they join.
|
- `knock` - The user has knocked on the room, requesting permission to participate. They may not participate in the room until they join.
|
||||||
|
|
||||||
The `third_party_invite` property will be set if this invite is an `invite` event and is the successor of an `m.room.third_party_invite` event, and absent otherwise.
|
The `third_party_invite` property will be set if this invite is an `invite` event and is the successor of an `m.room.third_party_invite` event, and absent otherwise.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue