mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-25 15:33:42 +01:00
Explicitly say how appservices should detect state events
Fixes https://github.com/matrix-org/matrix-doc/issues/1014
This commit is contained in:
parent
f5dc0eaed2
commit
5b5b4cfbed
|
|
@ -32,6 +32,10 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
This API is called by the homeserver when it wants to push an event
|
This API is called by the homeserver when it wants to push an event
|
||||||
(or batch of events) to the application service.
|
(or batch of events) to the application service.
|
||||||
|
|
||||||
|
The application service should take care to ensure that it handles
|
||||||
|
state events by the presence of a ``state_key``, not by the event
|
||||||
|
type.
|
||||||
operationId: sendTransaction
|
operationId: sendTransaction
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
|
|
@ -44,7 +48,7 @@ paths:
|
||||||
x-example: "35"
|
x-example: "35"
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
description: A list of events
|
description: A list of events.
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
example: {
|
example: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue