mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-06 19:54:09 +01:00
fix the descriptions of the /room/.../state APIs to not be the wrong way round
This commit is contained in:
parent
16a4903656
commit
978d9ea6dd
|
|
@ -31,10 +31,9 @@ paths:
|
||||||
put:
|
put:
|
||||||
summary: Send a state event to the given room.
|
summary: Send a state event to the given room.
|
||||||
description: |
|
description: |
|
||||||
State events can be sent using this endpoint. This endpoint is
|
State events can be sent using this endpoint. These events will be
|
||||||
equivalent to calling `/rooms/{roomId}/state/{eventType}/{stateKey}`
|
overwritten if ``<room id>``, ``<event type>`` and ``<state key>`` all
|
||||||
with an empty `stateKey`. Previous state events with matching
|
match.
|
||||||
`<roomId>` and `<eventType>`, and empty `<stateKey>`, will be overwritten.
|
|
||||||
|
|
||||||
Requests to this endpoint **cannot use transaction IDs**
|
Requests to this endpoint **cannot use transaction IDs**
|
||||||
like other ``PUT`` paths because they cannot be differentiated from the
|
like other ``PUT`` paths because they cannot be differentiated from the
|
||||||
|
|
@ -93,9 +92,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
summary: Send a state event to the given room.
|
summary: Send a state event to the given room.
|
||||||
description: |
|
description: |
|
||||||
State events can be sent using this endpoint. These events will be
|
State events can be sent using this endpoint. This endpoint is
|
||||||
overwritten if ``<room id>``, ``<event type>`` and ``<state key>`` all
|
equivalent to calling `/rooms/{roomId}/state/{eventType}/{stateKey}`
|
||||||
match. This endpoint forces the state key to be the empty string.
|
with an empty `stateKey`. Previous state events with matching
|
||||||
|
`<roomId>` and `<eventType>`, and empty `<stateKey>`, will be overwritten.
|
||||||
|
|
||||||
Requests to this endpoint **cannot use transaction IDs**
|
Requests to this endpoint **cannot use transaction IDs**
|
||||||
like other ``PUT`` paths because they cannot be differentiated from the
|
like other ``PUT`` paths because they cannot be differentiated from the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue