mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-30 14:14:09 +02:00
Fix the POST example for the v2 filter API
This commit is contained in:
parent
69298b9612
commit
a31a446661
|
|
@ -43,14 +43,12 @@ paths:
|
||||||
type: object
|
type: object
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "definitions/sync_filter.json"
|
- $ref: "definitions/sync_filter.json"
|
||||||
example:
|
|
||||||
type: object
|
|
||||||
example: |-
|
example: |-
|
||||||
{
|
{
|
||||||
"room": {
|
"room": {
|
||||||
"state": {
|
"state": {
|
||||||
"types": ["m.room.*"],
|
"types": ["m.room.*"],
|
||||||
"not_rooms": ["!726s6s6q:example.com"],
|
"not_rooms": ["!726s6s6q:example.com"]
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"types": ["m.room.message"],
|
"types": ["m.room.message"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue