|
|
|
@ -21,8 +21,6 @@ schemes:
|
|
|
|
|
- https
|
|
|
|
|
- http
|
|
|
|
|
basePath: "/"
|
|
|
|
|
consumes:
|
|
|
|
|
- application/json
|
|
|
|
|
produces:
|
|
|
|
|
- application/json
|
|
|
|
|
paths:
|
|
|
|
@ -53,37 +51,16 @@ paths:
|
|
|
|
|
type: object
|
|
|
|
|
example: {
|
|
|
|
|
"events": [
|
|
|
|
|
{
|
|
|
|
|
"age": 32,
|
|
|
|
|
"content": {
|
|
|
|
|
"body": "incoming message",
|
|
|
|
|
"msgtype": "m.text"
|
|
|
|
|
},
|
|
|
|
|
"event_id": "$14328055551tzaee:localhost",
|
|
|
|
|
"origin_server_ts": 1432804485886,
|
|
|
|
|
"room_id": "!TmaZBKYIFrIPVGoUYp:localhost",
|
|
|
|
|
"type": "m.room.message",
|
|
|
|
|
"user_id": "@bob:localhost"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"age": 1984,
|
|
|
|
|
"content": {
|
|
|
|
|
"body": "another incoming message",
|
|
|
|
|
"msgtype": "m.text"
|
|
|
|
|
},
|
|
|
|
|
"event_id": "$1228055551ffsef:localhost",
|
|
|
|
|
"origin_server_ts": 1432804485886,
|
|
|
|
|
"room_id": "!TmaZBKYIFrIPVGoUYp:localhost",
|
|
|
|
|
"type": "m.room.message",
|
|
|
|
|
"user_id": "@bob:localhost"
|
|
|
|
|
}
|
|
|
|
|
{"$ref": "../../event-schemas/examples/m.room.member"},
|
|
|
|
|
{"$ref": "../../event-schemas/examples/m.room.message#m.text"}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
description: "Transaction informations"
|
|
|
|
|
description: Transaction information
|
|
|
|
|
properties:
|
|
|
|
|
events:
|
|
|
|
|
type: array
|
|
|
|
|
description: A list of events
|
|
|
|
|
description: |-
|
|
|
|
|
A list of events, formatted as per the Client-Server API.
|
|
|
|
|
items:
|
|
|
|
|
type: object
|
|
|
|
|
title: Event
|
|
|
|
@ -92,7 +69,6 @@ paths:
|
|
|
|
|
200:
|
|
|
|
|
description: The transaction was processed successfully.
|
|
|
|
|
examples:
|
|
|
|
|
application/json: {
|
|
|
|
|
}
|
|
|
|
|
application/json: {}
|
|
|
|
|
schema:
|
|
|
|
|
type: object
|
|
|
|
|
type: object
|
|
|
|
|