mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
Apply suggestions from code review
Co-authored-by: Eric Eastwood <madlittlemods@gmail.com>
This commit is contained in:
parent
600330d3be
commit
1639b64285
|
|
@ -13,7 +13,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
swagger: '2.0'
|
swagger: '2.0'
|
||||||
info:
|
info:
|
||||||
title: "Matrix Client-Server Rooms by date API"
|
title: "Matrix Client-Server events in room by date API"
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
host: localhost:8008
|
host: localhost:8008
|
||||||
schemes:
|
schemes:
|
||||||
|
|
@ -57,7 +57,7 @@ paths:
|
||||||
type: integer
|
type: integer
|
||||||
name: ts
|
name: ts
|
||||||
description: |-
|
description: |-
|
||||||
The timestamp to search for, as given in milliseconds
|
The timestamp to search from, as given in milliseconds
|
||||||
since the Unix epoch.
|
since the Unix epoch.
|
||||||
required: true
|
required: true
|
||||||
x-example: 1432684800000
|
x-example: 1432684800000
|
||||||
|
|
@ -84,6 +84,9 @@ paths:
|
||||||
type: integer
|
type: integer
|
||||||
description: |-
|
description: |-
|
||||||
The event's timestamp, in milliseconds since the Unix epoch.
|
The event's timestamp, in milliseconds since the Unix epoch.
|
||||||
|
This makes it easy to do a quick comparison to see if the
|
||||||
|
`event_id` fetched is too far out of range to be useful for your
|
||||||
|
use case.
|
||||||
required: ['event_id', 'origin_server_ts']
|
required: ['event_id', 'origin_server_ts']
|
||||||
examples:
|
examples:
|
||||||
application/json: {
|
application/json: {
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@ paths:
|
||||||
type: integer
|
type: integer
|
||||||
name: ts
|
name: ts
|
||||||
description: |-
|
description: |-
|
||||||
The timestamp to search for, as given in milliseconds
|
The timestamp to search from, as given in milliseconds
|
||||||
since the Unix epoch.
|
since the Unix epoch.
|
||||||
required: true
|
required: true
|
||||||
x-example: 1432684800000
|
x-example: 1432684800000
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue