anonymousland-synapse/synapse/rest/client/v2_alpha
Pablo Saavedra 9da4316ca5 Configurable maximum number of events requested by /sync and /messages (#2220)
Set the limit on the returned events in the timeline in the get and sync
operations. The default value is -1, means no upper limit.

For example, using `filter_timeline_limit: 5000`:

POST /_matrix/client/r0/user/user:id/filter
{
room: {
    timeline: {
      limit: 1000000000000000000
    }
}
}

GET /_matrix/client/r0/user/user:id/filter/filter:id

{
room: {
    timeline: {
      limit: 5000
    }
}
}

The server cuts down the room.timeline.limit.
2017-05-13 18:17:54 +02:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Configurable maximum number of events requested by /sync and /messages (#2220) 2017-05-13 18:17:54 +02:00
account_data.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
account.py Fix token request for addition of phone numbers 2017-03-23 18:46:17 +00:00
auth.py window.postmessage for Interactive Auth fallback 2016-10-06 18:16:59 +01:00
devices.py Implement _simple_delete_many_txn, use it to delete devices 2017-03-13 17:53:23 +00:00
filter.py Configurable maximum number of events requested by /sync and /messages (#2220) 2017-05-13 18:17:54 +02:00
keys.py sets aren't JSON serializable 2017-02-02 14:55:54 +00:00
notifications.py Implement only=highlight on /notifications 2016-09-08 13:43:35 +01:00
openid.py Rename openid/token to openid/request_token 2016-05-05 15:15:00 +01:00
read_marker.py m.read_marker -> m.fully_read (#2128) 2017-04-18 17:46:15 +01:00
receipts.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
register.py Modify register/available to be GET with query param 2017-05-10 17:23:55 +01:00
report_event.py Add timestamp and auto incrementing ID 2016-05-04 15:19:12 +01:00
sendtodevice.py Allow guest access to endpoints for E2E 2016-11-25 15:26:34 +00:00
sync.py Configurable maximum number of events requested by /sync and /messages (#2220) 2017-05-13 18:17:54 +02:00
tags.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
thirdparty.py switch to allow_guest=True for authing 3Ps as per PR feedback 2017-03-31 13:54:26 +01:00
tokenrefresh.py Rip out more refresh_token code 2016-11-30 17:40:18 +00:00